Screen stuttering when using nouveau or nvidia drivers
Hi everybody,
I've just installed Debian 10 (without any Desktop Environment because I wanted to install the i3wm) on my notebook Asus G75, in BIOS mode. As soon as the system booted up for the first time, I installed Code:
xorg, xorg-dev, build-essentials, linux-headers-4.19.0-6-amd64 When I tried to install the NVidia driver I've gotten from https://www.nvidia.com/Download/driv...x/137276/en-us by running Code:
sh nvidia.run So I switched to the nouveau driver, installed Code:
i3, compton So I tried to install the nvidia driver from the Debian package repository: I installed nvidia-detect which advised me to install nvidia-legacy-390xx-driver. When I did it, rebooted the computer, I get the very same screen stuttering effect, even after having configured the nvidia driver with nvidia-settings. That's my hardware configuration: Code:
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) And my software configuration is this: - i3: the configuration file is the default one, except that I added this line near the beginning of the file Code:
exec --no-startup-id compton --config ~/.config/compton.conf -CGb --backend glx --paint-on-overlay --vsync opengl-swc My 10-nvidia.conf file: Code:
# nvidia-settings: X configuration file generated by nvidia-settings Moreover, I know I was able to configure it right the last time: I managed to install it from the .run file provided by NVidia, but I had some hardware problems a month ago and I had to change disk (and therefore to reinstall Debian). I still have the old configuration files, but they don't solve the problem in this installation. Thanks a lot. |
Please remove any configuration you (or nvidia.run) created.
Reboot. Then please show us Code:
lspci -k | grep -A5 VGA |
The Nouveau DDX is the old technology, reverse-engineered for NVidia GPUs. The newer technology competent DDX, Modesetting, is the upstream default, included in the Xorg server package, so what you should get if you don't install the proprietary NVidia or the FOSS Nouveau (whose upstream name is xf86-video-nouveau, xserver-xorg-video-nouveau in Debian and its derivatives, various names in other distros) or any other optional video driver (xf86-video-vesa, xf86-video-fbdev). All my old NVidia GPUs, both newer and older than OP's, are running on the modesetting DDX without any apparent aberrations.
|
Try the 440 driver from NVIDIA and not the 390. The 390 still as issues, I had constant problems until i changed to the 440 driver.
|
Quote:
Code:
nvidia-legacy-390xx-driver Code:
sh nvidia.run --uninstall Here is the output of the commands you asked: lspci -k | grep -A5 VGA Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GF114M [GeForce GTX 670M] (rev a1) Code:
[ 15.410] Current version of pixman: 0.36.0 Quote:
Quote:
Anyway, I found another configuration for the 10-nvidia.conf file which, although it did not solve the screen stuttering issue, it surely helped in making it less noticeable: Code:
# nvidia-settings: X configuration file generated by nvidia-settings |
1 Attachment(s)
Quote:
Code:
apt purge nvidia-* Code:
apt install nvidia-driver EDIT: that's the second reply I make to this thread, the first one contains all the details asked by ondoho and a question for mrmazda: the system said that it was awaiting for ad admin approval, but I don't know how this reply is not waiting too... |
Quote:
Also, that error message in the screenshot is incorrect about there being only two choices of driver, as my previous post explained. I recommend trying the modesetting DDX if you can be sure all of the proprietary changes have been reversed. It cannot work if nouveau has been blacklisted, or if a modified library is not also purged. It requires a totally FOSS X environment. |
Quote:
Also, I'm sorry but I have to ask some more information about "modesetting DDX". I googled for mdesetting DDX, and I found some articles which explains that I should install Code:
xf86-video-intel Thanks in advance. |
Most AMD, Intel and and NVidia APUs (IGPs) and GPUs that are neither antique nor newer than the software are automatically supported by the modesetting DDX. No configuration or additional packages should be necessary to cause use of the modesetting DDX. For Debian 10 this equates to not installing xserver-xorg-video-nouveau.
If an Intel GPU is present, installing xf86-video-intel on a distro that does not change the upstream names of their DDXes will normally cause the ancient intel DDX to be used instead of the newer technology modesetting DDX. |
Quote:
Code:
sudo apt list | grep nouveau Thanks in advance. |
Upstream, xf86-video-* are all optional. Most distros bundle them all as a meta-package and install by default along with their standard Xorg patterns. Debian's meta is xserver-xorg-video-all. You can purge any individual driver (xserver-xorg-video-nouveau in your Debian), or the whole meta-package bundle, and if your GPU is supported by it, X will run on the modesetting DDX provided by the server package. There's absolutely no reason to reinstall and try to prevent the meta from being installed. The only obstacle to reusing the existing installation would be if it's found impossible to properly eradicate an installed proprietary driver.
It's not necessary to purge xserver-xorg-video-nouveau to utilize the modesetting DDX. It can be specified as the driver to use via a Device section in an /etc/X11/xorg.conf* file, as can any other driver that "supports" your GPU, however poorly or well as it may. Naturally, there's no guarantee using the modesetting DDX will have an impact on the stuttering. All you can do is try it. |
Quote:
I've tried a fresh installation of Debian. I installed xorg, i3 and compton. I've configured compton and i3 as before, but now I tried to use the command Code:
X -configure Here's the configuration I used Code:
Section "ServerLayout" Code:
Graphics: Device-1: NVIDIA GF114M [GeForce GTX 670M] vendor: ASUSTeK driver: nouveau v: kernel bus ID: 01:00.0 Thanks in advance. |
Quote:
Quote:
|
Quote:
I did some more experiments this week and I found out two thigs: 1. The screen tearing issue was an issue with Firefox only (setting the option layers.acceleration.force-enabled to true has prevented the screen from tearing) 2. I managed to find out that the screen "trembles": I tried to download a video which shows some white lines moving and I see them trembling on screen (I used mpv to play the video). I also tried to do another experiment installing Bumblebee (from this guide): as soon as I try to install it I get a warning very very similar to the one I attached the screenshot of in a post on this thread approximately 10 days ago (the driver is not compatible with your configuration, blah blah blah). I'm happy that at least the tearing disappeared, but the "trembling" is very annoying. Could it be an issue with the operating system? My laptop is not "new" (I bought it in 2012); moreover, one day I found out a company called Slimbook, which sells computers with GNU/Linux installed: if you configure a computer selecting an nVidia card and Debian as your OS they warn you that you will have some compatibility issues. That's just an hypothesis, but... Thanks in advance. |
All times are GMT -5. The time now is 11:41 PM. |