Solved Any idea how to install KDE with an nvidia card?

inf3rno

Active Member

Reaction score: 16
Messages: 167

I followed this tutorial to install KDE: https://www.freebsd.org/doc/handbook/x11-wm.html , but whenever I startx I got an error about frame buffer mode. I found that it means that I need to set the video card driver. I found somewhere (don't remember) a file named xf86-video-nvidia, so I guess the driver is already there I just need to add a configuration. I did pciconf -lv and it can see the card. It is a GK208B [Geforce GT 720]. I added a config file to /usr/local/etc/X11/xorg.conf.d, which contains
Code:
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
Now I got that no screens found when I startx, which is funny, because I see it on the screen I connected to the card via DVI. Should I install a new driver from ports, or how is still solved? I cannot find anything in the handbook.
 
OP
I

inf3rno

Active Member

Reaction score: 16
Messages: 167

I tried with Xorg -configure too, but I had the same results.
 

mickey

Aspiring Daemon

Reaction score: 310
Messages: 754

I followed this tutorial to install KDE: https://www.freebsd.org/doc/handbook/x11-wm.html , but whenever I startx I got an error about frame buffer mode. I found that it means that I need to set the video card driver. I found somewhere (don't remember) a file named xf86-video-nvidia, so I guess the driver is already there I just need to add a configuration. I did pciconf -lv and it can see the card. It is a GK208B [Geforce GT 720]. I added a config file to /usr/local/etc/X11/xorg.conf.d, which contains
GeForce GT 720 is still supported by the latest nvidia driver, so you want to install that one first:
pkg install nvidia-driver
Next you want to make it load when the system is booted up:
sysrc kld_list+="nvidia-modeset"
When this is done, reboot the machine and confirm that the nvidia driver was loaded:
dmesg | grep nvidia
You should see 2-3 lines from the nvidia driver.
Do not use Xorg -configure as it generates a lot of outdated stuff. Your device section looked good and should work once the (correct) driver is in place.
 
OP
I

inf3rno

Active Member

Reaction score: 16
Messages: 167

I did exec ck-launch-session startplasma-x11 a now I got KDE. :cool:
 
Top