Hi,
I have a Dell E6510 with NVidia card
I have installed FreeBSD 11.0, updated it, and installed KDE
My laptop screen native resolution is 1366 x 768
In KDE > Display the max resolution I can set is 1024 x 768
So I cannot set the resolution to the native resolution.
I have been using Windoze for decades and just making the switch - I am REALLY impressed with FreeBSD! I like it much more than Windows or any Linux variant. I have been able to solve all issues I came across, until this one.
So far, this is what I have tried:
2 Setting up the FreeBSD nVidia driver
https://docs.freebsd.org/doc/7.3-RELEASE/usr/share/doc/en/articles/compiz-fusion/nvidia-setup.html
I found when I followed this page, I got an error on boot that the X server could not start, and i could not boot into KDE
HOWTO: Setup Xorg with NVIDIA's driver
https://forums.freebsd.org/threads/52311/#post-318536/
The below are my notes as to what I did. The result was the same -
I got an error on boot that the X server could not start, and i could not boot into KDE
Find out what hardware you have on your PC
Ref:
https://www.freebsd.org/doc/handbook/kernelconfig-devices.html
Run # dmesg
This will show the hardware you have on your computer
It shows:
vtvga0: <VT VGA driver> on motherboard
<NVIDIA GT21x.........>
Googling NVIDIA GT21x gives:
https://en.wikipedia.org/wiki/GeForce_300_series
GeForce 300 series Release date 2009-10
Codename GT21x
Reference for FreeBSD
Review this page to see how to do it:
HOWTO: Setup Xorg with NVIDIA's driver
https://forums.freebsd.org/threads/52311/#post-318536/
Find out which driver you need
Goog "NVidia unix drivers"
This will find:
http://www.nvidia.ca/object/unix.html
On this page is a heading called FreeBSD x64
This page shows:
FreeBSD x64
Latest Long Lived Branch version: 375.66
Latest Short Lived Branch version: 381.22
Latest Legacy GPU version (340.xx series): 340.102
Latest Legacy GPU version (304.xx series): 304.135
The 375 version says it added a bunch of drivers for video cards that I dont have
So I could use 375 BUT since my card is old (2009) and I used 340 in Linux Mint and it worked so use it
Set FreeBSD up for this driver
Using:
https://forums.freebsd.org/threads/52311/#post-318536/
If you are following the handbook on configuring Xorg, ignore what the handbook says about running Xorg -configure.
Don't run Xorg -configure
I did not do that
If you already followed the handbook and created an xorg.conf make sure to remove /etc/X11/xorg.conf or /usr/local/etc/X11/xorg.conf before proceeding: rm -f /etc/X11/xorg.conf /usr/local/etc/X11/xorg.conf
I checked - neither of these files exist
Install x11/nvidia-driver: pkg install x11/nvidia-driver
For some older cards you need to use x11/nvidia-driver-340 or x11/nvidia-driver-304 instead. Consult NVIDIA's download page to see which driver version you need. Note that there is no need (and it's even counterproductive) to download the driver from that page.
For me in this case:
pkg install x11/nvidia-driver-340
I ran this and it installed this driver
Run sysrc kld_list+="nvidia-modeset" to add an entry to /etc/rc.conf to load the kernel modules at boot. sysrc(8) is a nice utility that safely edits /etc/rc.conf for you.
nvidia-modeset is only available for driver versions >= 358.009, if you to use an older version use sysrc kld_list+="nvidia" instead.
I ran sysrc kld_list+="nvidia"
Either reboot with shutdown -r now or load the required kernel modules now with kldload nvidia-modeset or kldload nvidia
I did
shutdown -r now
Create the /usr/local/etc/X11/xorg.conf.d directory:
mkdir -p /usr/local/etc/X11/xorg.conf.d
I did this by copying and pasting from the web page into Konsole
Use your favourite editor to create /usr/local/etc/X11/xorg.conf.d/10-nvidia.conf with the following contents:
Code:
Section "Device"
Identifier "NVIDIA Card"
VendorName "NVIDIA Corporation"
Driver "nvidia"
EndSection
Done
Rebooting, the above gives an errror
X server cannot be started
Deleting /usr/local/etc/X11/xorg.conf.d/10-nvidia.conf allows me to get KDE back
I am not sure what to try next.
Any help would be much appreciated.
I have a Dell E6510 with NVidia card
I have installed FreeBSD 11.0, updated it, and installed KDE
My laptop screen native resolution is 1366 x 768
In KDE > Display the max resolution I can set is 1024 x 768
So I cannot set the resolution to the native resolution.
I have been using Windoze for decades and just making the switch - I am REALLY impressed with FreeBSD! I like it much more than Windows or any Linux variant. I have been able to solve all issues I came across, until this one.
So far, this is what I have tried:
2 Setting up the FreeBSD nVidia driver
https://docs.freebsd.org/doc/7.3-RELEASE/usr/share/doc/en/articles/compiz-fusion/nvidia-setup.html
I found when I followed this page, I got an error on boot that the X server could not start, and i could not boot into KDE
HOWTO: Setup Xorg with NVIDIA's driver
https://forums.freebsd.org/threads/52311/#post-318536/
The below are my notes as to what I did. The result was the same -
I got an error on boot that the X server could not start, and i could not boot into KDE
Find out what hardware you have on your PC
Ref:
https://www.freebsd.org/doc/handbook/kernelconfig-devices.html
Run # dmesg
This will show the hardware you have on your computer
It shows:
vtvga0: <VT VGA driver> on motherboard
<NVIDIA GT21x.........>
Googling NVIDIA GT21x gives:
https://en.wikipedia.org/wiki/GeForce_300_series
GeForce 300 series Release date 2009-10
Codename GT21x
Reference for FreeBSD
Review this page to see how to do it:
HOWTO: Setup Xorg with NVIDIA's driver
https://forums.freebsd.org/threads/52311/#post-318536/
Find out which driver you need
Goog "NVidia unix drivers"
This will find:
http://www.nvidia.ca/object/unix.html
On this page is a heading called FreeBSD x64
This page shows:
FreeBSD x64
Latest Long Lived Branch version: 375.66
Latest Short Lived Branch version: 381.22
Latest Legacy GPU version (340.xx series): 340.102
Latest Legacy GPU version (304.xx series): 304.135
The 375 version says it added a bunch of drivers for video cards that I dont have
So I could use 375 BUT since my card is old (2009) and I used 340 in Linux Mint and it worked so use it
Set FreeBSD up for this driver
Using:
https://forums.freebsd.org/threads/52311/#post-318536/
If you are following the handbook on configuring Xorg, ignore what the handbook says about running Xorg -configure.
Don't run Xorg -configure
I did not do that
If you already followed the handbook and created an xorg.conf make sure to remove /etc/X11/xorg.conf or /usr/local/etc/X11/xorg.conf before proceeding: rm -f /etc/X11/xorg.conf /usr/local/etc/X11/xorg.conf
I checked - neither of these files exist
Install x11/nvidia-driver: pkg install x11/nvidia-driver
For some older cards you need to use x11/nvidia-driver-340 or x11/nvidia-driver-304 instead. Consult NVIDIA's download page to see which driver version you need. Note that there is no need (and it's even counterproductive) to download the driver from that page.
For me in this case:
pkg install x11/nvidia-driver-340
I ran this and it installed this driver
Run sysrc kld_list+="nvidia-modeset" to add an entry to /etc/rc.conf to load the kernel modules at boot. sysrc(8) is a nice utility that safely edits /etc/rc.conf for you.
nvidia-modeset is only available for driver versions >= 358.009, if you to use an older version use sysrc kld_list+="nvidia" instead.
I ran sysrc kld_list+="nvidia"
Either reboot with shutdown -r now or load the required kernel modules now with kldload nvidia-modeset or kldload nvidia
I did
shutdown -r now
Create the /usr/local/etc/X11/xorg.conf.d directory:
mkdir -p /usr/local/etc/X11/xorg.conf.d
I did this by copying and pasting from the web page into Konsole
Use your favourite editor to create /usr/local/etc/X11/xorg.conf.d/10-nvidia.conf with the following contents:
Code:
Section "Device"
Identifier "NVIDIA Card"
VendorName "NVIDIA Corporation"
Driver "nvidia"
EndSection
Done
Rebooting, the above gives an errror
X server cannot be started
Deleting /usr/local/etc/X11/xorg.conf.d/10-nvidia.conf allows me to get KDE back
I am not sure what to try next.
Any help would be much appreciated.