Comment 18 for bug 1760068

Revision history for this message
Joshua Hartwell (joshuad) wrote :

Nevermind, the full solution from the link did in fact work for me. Using nvidia-driver-390.

I am copy/pasting the solution here for any other users:

1. Create an xorg.conf file for your nVidia device. All you have to do for this is to launch the command:

sudo nvidia-xconfig

This will create a file /etc/X11/xorg.conf.

2. Edit the created file /etc/X11/xorg.conf and add at the end the lines:

Section "Files"
 ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
 ModulePath "/usr/lib/xorg/modules"
EndSection

3. Save and restart the X server. Now, for the first and second user you should have the nvidia driver in use, with the correct resolution and fast rendering. You can check it using the command:

--- Note by JoshuaD: I did not try anything below this line -----

glxgears -info |grep NVIDIA

which should return the nvidia opengl version.

Note, there is also a problem of slow scrolling in the virtual console (Ctrl-Alt-F1). To solve this, edit /etc/default/grub and set the GRUB_CMDLINE_LINUX variable as:

GRUB_CMDLINE_LINUX="video=vesafb:mtrr:3,ywrap"

then do:

sudo update-grub

and reboot. Now, the scrolling speed in the virtual console should be very fast.