Configuring Xorg

Hello-again

Sorry, for being muted for long, was held-up!

Well, I downloaded FreeBSD 12.2 and started my installation. All well with base install and some basic packages to start with the Terminal.

Then, comes the big move to Xorg:
Code:
pkg install Xorg drm-kmod
pkg install kde5 sddm firefox libreoffice konsole wifimgr powerdxx
--All went well. :)

Then have updated the config files as follows pertaining to Xorg:
/boot/loader.conf
Code:
kern.vty=vt
/etc/fstab
Code:
proc  /proc procfs  rw  0 0
/etc/rc.conf
Code:
kld_list="/boot/modules/i915kms.ko"
dbus_enable="YES"
moused_enable="YES"
hald_enable="YES"
sddm_enable="YES"
/etc/sysctl.conf
Code:
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536

On Terminal
Code:
Xorg -configure -->> xorg.conf.new
cp xorg.conf.new /usr/local/etc/X11/xorg.conf.d/xorg.conf

Reboot
Nothing happens and boots to the login prompt :(

When I login from the normal user account and startx
I get Error:-
Code:
Fatal server error:
(EE) no screens found(EE)

[B]Following files are attached:[/B]
[file]/var/log/Xorg.0.log[/file]
[file]/var/log/sddm.log[/file]
[file]/usr/local/etc/X11/xorg.conf.d/xorg.conf[/file]

Output from pciconf -lv > pciconf.txt
Output from neofetch > neofetch.txt[/COLOR]

Tried the following: Didn't work as well....
Deleted the file  [file]/usr/local/etc/X11/xorg.conf.d/xorg.conf[/file]
created a file called [file]driver-intel.conf[/file] in the same folder [file]/usr/local/etc/X11/xorg.conf.d/[/file]
with the following params:
[code]
Section "Device"
    Identifier  "Card0"
    Driver        "intel"
    BusID       "PCI:0:2:0"
EndSection

I guess I am missing something.... I am unable to figure it out! Please help!

Thanks, SNY[/code]
 

Attachments

  • xorg.conf
    2.2 KB · Views: 161
  • pciconf.txt
    3.6 KB · Views: 139
  • neofetch.txt
    1.6 KB · Views: 128
  • Xorg.0.log.txt
    3.4 KB · Views: 125
  • sddm.log.txt
    3.1 KB · Views: 142
It looks like what you need for your card is drm-kmod. Unfortunately, that has to be built from ports on Freebsd 12.2 right now:
 
[...] Then, comes the big move to Xorg:
pkg install Xorg drm-kmod
pkg install kde5 sddm firefox libreoffice konsole wifimgr powerdxx
wifimgr is a Gtk app, wpa_supplicant_gui does fine under KDE (program name is wpa_gui). Nevertheless, wifimgr should also run under KDE.
/boot/loader.conf
kern.vty=vt
Not needed since it's default.
moused_enable="YES"
To get extended features for the touchpad, you'll want to run the psm(4) kernel module in level 2 mode: sysrc moused_flags+=" -l 2". The default touchpad settings are very conservative, you can comfortably configure it in the KDE systemsettings5 per-user, i.e. the settings for sddm(1) are fixed to be conservative.
/etc/sysctl.conf
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
For the touchpad you also want to add kern.evdev.rcpt_mask=6
On Terminal
Xorg -configure -->> xorg.conf.new
cp xorg.conf.new /usr/local/etc/X11/xorg.conf.d/xorg.conf
Please build graphics/drm-fbsd12.0-kmod from ports, add your user to the video group, and start with a blank Xorg config set, i.e. let it's automagic do the configuration.
 
  • Thanks
Reactions: sny
Split this off to its own thread as it has nothing to do with the original questions.
 
It's tricky. Rebuilding drm-kmod didn't help here for the "no screens found".

See https://forums.freebsd.org/threads/nvidia-console-other-than-80x24.77626/#post-483602

 
  • Thanks
Reactions: sny
It looks like what you need for your card is drm-kmod. Unfortunately, that has to be built from ports on Freebsd 12.2 right now:
Have done the rebuild as mentioned and it works. :)
 
wifimgr is a Gtk app, wpa_supplicant_gui does fine under KDE (program name is wpa_gui). Nevertheless, wifimgr should also run under KDE.

Not needed since it's default.

To get extended features for the touchpad, you'll want to run the psm(4) kernel module in level 2 mode: sysrc moused_flags+=" -l 2". The default touchpad settings are very conservative, you can comfortably configure it in the KDE systemsettings5 per-user, i.e. the settings for sddm(1) are fixed to be conservative.

For the touchpad you also want to add kern.evdev.rcpt_mask=6

Please build graphics/drm-fbsd12.0-kmod from ports, add your user to the video group, and start with a blank Xorg config set, i.e. let it's automagic do the configuration.
Thanks for the additional settings. SDDM login and KDE works fine now... Bluetooth is not working driver not found. HW-Probe report here https://bsd-hardware.info/?probe=e44b010bc9.
 
Back
Top