Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
how to blacklist nvidia driver without deinstalling it
-
- Posts: 148
- Joined: 2015-01-18 03:40
- Been thanked: 2 times
how to blacklist nvidia driver without deinstalling it
I have installed nvidia legacy driver in debian 10.1. How to blacklist it, so it doesn't load. I want to load nouveau driver instead.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: how to blacklist nvidia driver without deinstalling it
To blacklist a kernel module, create a file /etc/modprobe.d/blacklist-nvidia.conf containing
The nvidia driver has several nvidia* kernel modules. I don't know which one must be blacklisted, but it is the one showing "alias: pci:..." lines with modinfo.
Note that this does not blacklist the Nvidia X.org driver part, which won't work without the Nvidia kernel modules.
Code: Select all
blacklist <modulename>
Note that this does not blacklist the Nvidia X.org driver part, which won't work without the Nvidia kernel modules.
-
- Posts: 148
- Joined: 2015-01-18 03:40
- Been thanked: 2 times
Re: how to blacklist nvidia driver without deinstalling it
That is not what I want. I want to blacklist nvidia driver so noveuau will be loaded. If this method does not block the nvidia X.org driver part, then that is not satisfactory. I want method to interchange between nvidia and noveuau driver. All this, because, nuuveau driver supports 1920x1080 resolution in virtual console, and nvidia is faster with 2d and 3d graphics. So when I need to work in console I want to use nouveau driver, but when I use GUI I want to use nvidia driver.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: how to blacklist nvidia driver without deinstalling it
Doesn't the Nvidia driver also blacklist nouveau? You'll also need to take it off the blacklist at the same time you add the Nvidia drivers. I'm sure a script could handle the switches.
MX Linux packager and developer
- sunrat
- Administrator
- Posts: 6494
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: how to blacklist nvidia driver without deinstalling it
Would it not be better to set the correct TTY resolution while still using nvidia driver? This thread may be of interest - https://askubuntu.com/questions/1149736 ... ia-drivers
Particularly the following comment which the OP in that thread hasn't replied whether they tried it:
Particularly the following comment which the OP in that thread hasn't replied whether they tried it:
You may have to install fbset to try that. It's tiny.The nVidia chip is probably capable of running both VESA emulation and full graphics, and your question is "how to set the VESA mode back to the original that is set by the boot process". If the chip is capable, it should respond to setting the frame buffer resolution. Try: "fbset /dev/fb0 -g 1600 1050 1600 1050 8" Also, do "fbset -i" and see what comes out. This should tell you the current FB geometry. I'm not 100% sure of the correct value for the resolution part so you may have to try some variations. See man fbset. – Naoyuki Tai
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 148
- Joined: 2015-01-18 03:40
- Been thanked: 2 times
Re: how to blacklist nvidia driver without deinstalling it
I have read the article, but the problem is that I don't have framebuffer device. There is no /dev/fb0 or other /dev/fb* device.
I have followed some guide on internet to enable framebuffer device, changed something (I don't remember what), and now the first line when the system is booting is framebuffer=y. But I still don't have frame buffer device.
How can I enable framebuffer device?
I have followed some guide on internet to enable framebuffer device, changed something (I don't remember what), and now the first line when the system is booting is framebuffer=y. But I still don't have frame buffer device.
How can I enable framebuffer device?
-
- Posts: 148
- Joined: 2015-01-18 03:40
- Been thanked: 2 times
Re: how to blacklist nvidia driver without deinstalling it
According to this page https://wiki.archlinux.org/index.php/NV ... de_setting Nvidia driver dos not support framebuffer. Here is the note from the page:
I have decided to uninstall Nvidia driver, and return to Nouveau.
Thanks anyway.
Code: Select all
Note: The NVIDIA driver does not provide an fbdev driver for the high-resolution console for the kernel compiled-in vesafb module. However, the kernel compiled-in efifb module supports a high-resolution console on EFI systems. This method requires GRUB and is described in NVIDIA/Tips and tricks#Fixing terminal resolution.[1][2].
Thanks anyway.