How to switch from NVIDIA to AMD GPU (both stay in the same system)

I have been using my nvidia card 1060, but want to use my AMD 580 instead. The primary reason for this is that I want to pass the 1060 through to my windows VM. I have a ASUS TUF X-570 board and I can’t find any options for default graphics. I moved the amd card to the first PCI position and 1060 to the second but the display is still coming out of the 1060. I tried to install optimus-manager but that doesn’t work / causes everything to break. Any ideas?

Linux 5.9.11-3-MANJARO
All packages up to date

Hello @alita :wink:

The reason is mostly because of the nvidia driver. If you installed the proprietary nvidia driver then it is locked to only nvidia. You will have to remove this driver completely. Then you will be able to use the AMD driver for your screen.

1 Like

Hi @megavolt!

When I uninstall the nvidia drivers it just prevents xserver from starting. What drivers should I make sure to have installed for amd?

@alita ofc no driver needed. AMD driver is baked into the kernel like INTEL. However… which chipset do you have?

inxi -Gazy

Gentoo Wiki has a nice list of supported chipsets: AMDGPU - Gentoo Wiki

If your card is supported, then you might need to force linux to use the amdgpu driver instead of the radeon driver:

@megavolt

my chipset is x570, and my amd gpu is the RX 580. With and without the above I get a “no screens found” error from the xserver

the full xserver output:

[    58.858] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    58.858] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[    58.858] Build Operating System: Linux Manjaro Linux
[    58.858] Current Operating System: Linux alita-manjaro 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
[    58.858] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=fcb6997d-daa8-43f8-879b-43595c46f1d2 rw quiet apparmor=1 security=apparmor udev.log_priority=3 nomodeset
[    58.858] Build Date: 16 December 2020  10:33:32PM
[    58.858]  
[    58.858] Current version of pixman: 0.40.0
[    58.858] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    58.858] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    58.858] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 29 13:15:41 2020
[    58.859] (==) Using config file: "/etc/X11/xorg.conf"
[    58.859] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    58.859] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    58.859] (==) ServerLayout "Layout0"
[    58.859] (**) |-->Screen "Screen0" (0)
[    58.859] (**) |   |-->Monitor "Monitor0"
[    58.859] (**) |   |-->Device "Device0"
[    58.859] (**) |   |-->GPUDevice "Device0"
[    58.859] (**) |   |-->GPUDevice "Device1"
[    58.859] (**) |-->Input Device "Keyboard0"
[    58.859] (**) |-->Input Device "Mouse0"
[    58.859] (==) Automatically adding devices
[    58.859] (==) Automatically enabling devices
[    58.859] (==) Automatically adding GPU devices
[    58.859] (==) Automatically binding GPU devices
[    58.859] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    58.859] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    58.859] 	Entry deleted from font path.
[    58.859] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    58.859] 	Entry deleted from font path.
[    58.859] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[    58.859] 	Entry deleted from font path.
[    58.859] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[    58.859] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[    58.859] 	Entry deleted from font path.
[    58.859] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[    58.859] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[    58.859] (==) ModulePath set to "/usr/lib/xorg/modules"
[    58.859] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    58.859] (WW) Disabling Keyboard0
[    58.859] (WW) Disabling Mouse0
[    58.859] (II) Module ABI versions:
[    58.859] 	X.Org ANSI C Emulation: 0.4
[    58.859] 	X.Org Video Driver: 24.1
[    58.859] 	X.Org XInput driver : 24.1
[    58.859] 	X.Org Server Extension : 10.0
[    58.859] (--) using VT number 1

[    58.859] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    58.862] (--) PCI: (4@0:0:0) 10de:1c02:1462:3287 rev 161, Mem @ 0xfb000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    58.862] (--) PCI: (5@0:0:0) 10de:128b:19da:5360 rev 161, Mem @ 0xf9000000/16777216, 0xb8000000/134217728, 0xc0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[    58.862] (--) PCI:*(13@0:0:0) 1002:67df:1da2:e366 rev 231, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfce00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[    58.862] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    58.862] (II) LoadModule: "glx"
[    58.862] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    58.863] (II) Module glx: vendor="X.Org Foundation"
[    58.863] 	compiled for 1.20.10, module version = 1.0.0
[    58.863] 	ABI class: X.Org Server Extension, version 10.0
[    58.863] (II) LoadModule: "nvidia"
[    58.863] (WW) Warning, couldn't open module nvidia
[    58.863] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    58.863] (II) LoadModule: "vesa"
[    58.863] (WW) Warning, couldn't open module vesa
[    58.863] (EE) Failed to load module "vesa" (module does not exist, 0)
[    58.863] (EE) No drivers available.
[    58.863] (EE) 
Fatal server error:
[    58.863] (EE) no screens found(EE) 
[    58.863] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    58.863] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    58.863] (EE) 
[    58.863] (EE) Server terminated with error (1). Closing log file.

I guess it’s trying to use vesa but vesa is uninstalled (only video-linux is installed). With and without vesa this doesn’t work, btw. But with vesa it outputs an error of “no devices detected” and lots of

vesa: refusing to run on uefi

also here are the config files in xorg.conf.d

00-keyboard.conf 90-mhwd.conf nvidia.conf.nvidia-xconfig-original
20-amdgpu.conf nvidia.conf

It actually tries to load nvidia and fallback to vesa.

Did you delete the nvidia or mhwd conf file in /etc/X11/xorg.conf.d/ or in /etc/X11/?

mine shows this:
Radeon RX 5700 XT (Vendor OC)

~ >>> inxi -Gazy                                                               
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] 
  vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 0b:00.0 chip ID: 1002:731f 
  Display: x11 server: X.Org 1.20.10 driver: amdgpu,ati 
  unloaded: modesetting,radeon alternate: fbdev,vesa display ID: :0.0 
  screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 102 
  size: 477x268mm (18.8x10.6") diag: 547mm (21.5") 
  OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.39.0 5.9.11-3-MANJARO 
  LLVM 11.0.0) 
  v: 4.6 Mesa 20.2.3 direct render: Yes

no, should I do that? here are the files in my conf.d

00-keyboard.conf  90-mhwd.conf  nvidia.conf.nvidia-xconfig-original 20-amdgpu.conf    nvidia.conf

@pheiduck

and mine:

[alita-manjaro xorg.conf.d]# inxi -Gazy
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Micro-Star MSI 
  driver: N/A alternate: nouveau bus ID: 04:00.0 chip ID: 10de:1c02 
  Device-2: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: N/A 
  alternate: nouveau bus ID: 05:00.0 chip ID: 10de:128b 
  Device-3: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Sapphire Limited Nitro+ driver: N/A alternate: amdgpu 
  bus ID: 0d:00.0 chip ID: 1002:67df 
  Display: server: X.org 1.20.10 driver: vesa alternate: nvidia tty: 80x24 
  Message: Advanced graphics data unavailable in console for root. 
1 Like

YES :crazy_face: I said COMPLETLY :smiley:

@megavolt I’m slow haha, one second :slight_smile:

@megavolt

okay so I deleted nvidia.conf and here’s the new Xserver error output

[   760.410] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   760.410] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[   760.410] Build Operating System: Linux Manjaro Linux
[   760.410] Current Operating System: Linux alita-manjaro 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
[   760.410] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=fcb6997d-daa8-43f8-879b-43595c46f1d2 rw quiet apparmor=1 security=apparmor udev.log_priority=3 nomodeset
[   760.410] Build Date: 16 December 2020  10:33:32PM
[   760.410]  
[   760.410] Current version of pixman: 0.40.0
[   760.410] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   760.410] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   760.410] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 29 13:27:23 2020
[   760.410] (==) Using config file: "/etc/X11/xorg.conf"
[   760.410] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   760.410] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   760.410] (==) ServerLayout "Layout0"
[   760.410] (**) |-->Screen "Screen0" (0)
[   760.410] (**) |   |-->Monitor "Monitor0"
[   760.410] (==) No device specified for screen "Screen0".
	Using the first device section listed.
[   760.410] (**) |   |-->Device "AMD"
[   760.410] (**) |   |-->GPUDevice "Device1"
[   760.410] (**) |-->Input Device "Keyboard0"
[   760.410] (**) |-->Input Device "Mouse0"
[   760.410] (**) Option "Xinerama" "0"
[   760.410] (==) Automatically adding devices
[   760.411] (==) Automatically enabling devices
[   760.411] (==) Automatically adding GPU devices
[   760.411] (==) Automatically binding GPU devices
[   760.411] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   760.411] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   760.411] 	Entry deleted from font path.
[   760.411] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   760.411] 	Entry deleted from font path.
[   760.411] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[   760.411] 	Entry deleted from font path.
[   760.411] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[   760.411] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[   760.411] 	Entry deleted from font path.
[   760.411] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[   760.411] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[   760.411] (==) ModulePath set to "/usr/lib/xorg/modules"
[   760.411] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   760.411] (WW) Disabling Keyboard0
[   760.411] (WW) Disabling Mouse0
[   760.411] (II) Module ABI versions:
[   760.411] 	X.Org ANSI C Emulation: 0.4
[   760.411] 	X.Org Video Driver: 24.1
[   760.411] 	X.Org XInput driver : 24.1
[   760.411] 	X.Org Server Extension : 10.0
[   760.411] (--) using VT number 1

[   760.411] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   760.414] (--) PCI: (4@0:0:0) 10de:1c02:1462:3287 rev 161, Mem @ 0xfb000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   760.414] (--) PCI: (5@0:0:0) 10de:128b:19da:5360 rev 161, Mem @ 0xf9000000/16777216, 0xb8000000/134217728, 0xc0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[   760.414] (--) PCI:*(13@0:0:0) 1002:67df:1da2:e366 rev 231, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfce00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[   760.414] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   760.414] (II) LoadModule: "glx"
[   760.414] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   760.415] (II) Module glx: vendor="X.Org Foundation"
[   760.415] 	compiled for 1.20.10, module version = 1.0.0
[   760.415] 	ABI class: X.Org Server Extension, version 10.0
[   760.415] (II) LoadModule: "amdgpu"
[   760.415] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[   760.418] (II) Module amdgpu: vendor="X.Org Foundation"
[   760.418] 	compiled for 1.20.8, module version = 19.1.0
[   760.418] 	Module class: X.Org Video Driver
[   760.418] 	ABI class: X.Org Video Driver, version 24.1
[   760.418] (II) LoadModule: "vesa"
[   760.418] (WW) Warning, couldn't open module vesa
[   760.418] (EE) Failed to load module "vesa" (module does not exist, 0)
[   760.418] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[   760.420] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
[   760.420] (EE) Screen 0 deleted because of no matching config section.
[   760.420] (II) UnloadModule: "amdgpu"
[   760.420] (EE) Device(s) detected, but none match those in the config file.
[   760.420] (EE) 
Fatal server error:
[   760.420] (EE) no screens found(EE) 
[   760.420] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   760.420] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   760.420] (EE) 
[   760.422] (EE) Server terminated with error (1). Closing log file.

@pheiduck new output after change

Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Micro-Star MSI 
  driver: N/A alternate: nouveau bus ID: 04:00.0 chip ID: 10de:1c02 
  Device-2: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: N/A 
  alternate: nouveau bus ID: 05:00.0 chip ID: 10de:128b 
  Device-3: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Sapphire Limited Nitro+ driver: N/A alternate: amdgpu 
  bus ID: 0d:00.0 chip ID: 1002:67df 
  Display: server: X.org 1.20.10 driver: N/A note: n/a (using device driver) 
  unloaded: amdgpu alternate: vesa tty: 80x24 
  Message: Advanced graphics data unavailable in console for root.

like @megavolt suggest you have to block list the NVIDIA on the host to get it working on the VM Software? What do you use (Vmware VBox)?

I’m using qemu, how does one block list the NVIDIA?

Is not supported by amdgpu. You will need to use the radeon driver. Remove amdgpu.conf and also in mkinitcpio.conf remove amdgpu. You probably need this:

@megavolt okay, new error message:

[  1279.707] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  1279.707] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[  1279.707] Build Operating System: Linux Manjaro Linux
[  1279.707] Current Operating System: Linux alita-manjaro 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64
[  1279.707] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=fcb6997d-daa8-43f8-879b-43595c46f1d2 rw quiet apparmor=1 security=apparmor udev.log_priority=3 nomodeset
[  1279.707] Build Date: 16 December 2020  10:33:32PM
[  1279.707]  
[  1279.707] Current version of pixman: 0.40.0
[  1279.707] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1279.707] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1279.707] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 29 13:36:02 2020
[  1279.707] (==) Using config file: "/etc/X11/xorg.conf"
[  1279.707] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1279.707] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1279.707] (==) ServerLayout "Layout0"
[  1279.707] (**) |-->Screen "Screen0" (0)
[  1279.707] (**) |   |-->Monitor "Monitor0"
[  1279.707] (==) No device specified for screen "Screen0".
	Using the first device section listed.
[  1279.707] (**) |   |-->Device "Radeon"
[  1279.707] (**) |   |-->GPUDevice "Device1"
[  1279.707] (**) |-->Input Device "Keyboard0"
[  1279.707] (**) |-->Input Device "Mouse0"
[  1279.707] (**) Option "Xinerama" "0"
[  1279.707] (==) Automatically adding devices
[  1279.707] (==) Automatically enabling devices
[  1279.707] (==) Automatically adding GPU devices
[  1279.707] (==) Automatically binding GPU devices
[  1279.707] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1279.707] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1279.707] 	Entry deleted from font path.
[  1279.707] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1279.707] 	Entry deleted from font path.
[  1279.707] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[  1279.707] 	Entry deleted from font path.
[  1279.707] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[  1279.707] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[  1279.707] 	Entry deleted from font path.
[  1279.707] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[  1279.707] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[  1279.707] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1279.707] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1279.707] (WW) Disabling Keyboard0
[  1279.707] (WW) Disabling Mouse0
[  1279.707] (II) Module ABI versions:
[  1279.707] 	X.Org ANSI C Emulation: 0.4
[  1279.707] 	X.Org Video Driver: 24.1
[  1279.707] 	X.Org XInput driver : 24.1
[  1279.707] 	X.Org Server Extension : 10.0
[  1279.708] (--) using VT number 1

[  1279.708] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1279.711] (--) PCI: (4@0:0:0) 10de:1c02:1462:3287 rev 161, Mem @ 0xfb000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  1279.711] (--) PCI: (5@0:0:0) 10de:128b:19da:5360 rev 161, Mem @ 0xf9000000/16777216, 0xb8000000/134217728, 0xc0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[  1279.711] (--) PCI:*(13@0:0:0) 1002:67df:1da2:e366 rev 231, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfce00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[  1279.711] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1279.711] (II) LoadModule: "glx"
[  1279.711] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1279.712] (II) Module glx: vendor="X.Org Foundation"
[  1279.712] 	compiled for 1.20.10, module version = 1.0.0
[  1279.712] 	ABI class: X.Org Server Extension, version 10.0
[  1279.712] (II) LoadModule: "radeon"
[  1279.712] (WW) Warning, couldn't open module radeon
[  1279.712] (EE) Failed to load module "radeon" (module does not exist, 0)
[  1279.712] (II) LoadModule: "vesa"
[  1279.712] (WW) Warning, couldn't open module vesa
[  1279.712] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1279.712] (EE) No drivers available.
[  1279.712] (EE) 
Fatal server error:
[  1279.712] (EE) no screens found(EE) 
[  1279.712] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1279.712] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1279.712] (EE) 
[  1279.712] (EE) Server terminated with error (1). Closing log file.

AND new inxi output:

Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Micro-Star MSI 
  driver: N/A alternate: nouveau bus ID: 04:00.0 chip ID: 10de:1c02 
  Device-2: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: N/A 
  alternate: nouveau bus ID: 05:00.0 chip ID: 10de:128b 
  Device-3: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Sapphire Limited Nitro+ driver: N/A alternate: amdgpu 
  bus ID: 0d:00.0 chip ID: 1002:67df 
  Display: server: X.org 1.20.10 driver: N/A note: n/a (using device driver) 
  alternate: radeon,vesa tty: 80x24 
  Message: Advanced graphics data unavailable in console for root. 

p.s. thank you for holding my hand

The module is not there? :thinking:

first post output of:

lsmod

Then create /etc/modprobe.d/blacklist.conf should contain (looks like this):
blacklist xyz

xyz = Graphic Driver / Module

output of lsmod:

Module                  Size  Used by
sg                     40960  0
st                     69632  0
sr_mod                 28672  0
cdrom                  77824  1 sr_mod
ccm                    20480  6
xt_CHECKSUM            16384  1
xt_MASQUERADE          20480  3
xt_conntrack           16384  1
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              20480  9
ip6table_mangle        16384  1
ip6table_nat           16384  1
iptable_mangle         16384  1
iptable_nat            16384  1
nf_nat                 53248  3 ip6table_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          176128  3 xt_conntrack,nf_nat,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
libcrc32c              16384  2 nf_conntrack,nf_nat
ebtable_filter         16384  0
ebtables               40960  1 ebtable_filter
ip6table_filter        16384  1
ip6_tables             32768  3 ip6table_filter,ip6table_nat,ip6table_mangle
iptable_filter         16384  1
tun                    57344  1
cmac                   16384  6
algif_hash             16384  3
algif_skcipher         16384  3
af_alg                 32768  14 algif_hash,algif_skcipher
bridge                249856  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
bnep                   28672  2
input_leds             16384  0
mousedev               24576  0
joydev                 28672  0
btusb                  69632  0
btrtl                  24576  1 btusb
btbcm                  20480  1 btusb
btintel                32768  1 btusb
bluetooth             741376  28 btrtl,btintel,btbcm,bnep,btusb
mt76x2u                24576  0
mt76x2_common          28672  1 mt76x2u
mt76x02_usb            20480  1 mt76x2u
mt76_usb               36864  2 mt76x02_usb,mt76x2u
mt76x02_lib            86016  3 mt76x02_usb,mt76x2u,mt76x2_common
ecdh_generic           16384  1 bluetooth
ecc                    36864  1 ecdh_generic
mt76                   77824  5 mt76_usb,mt76x02_lib,mt76x02_usb,mt76x2u,mt76x2_common
hid_generic            16384  0
usbhid                 65536  0
hid                   147456  2 usbhid,hid_generic
squashfs               73728  12
eeepc_wmi              16384  0
asus_wmi               45056  1 eeepc_wmi
iwlmvm                462848  0
battery                20480  1 asus_wmi
sparse_keymap          16384  1 asus_wmi
wmi_bmof               16384  0
mac80211             1056768  6 mt76,iwlmvm,mt76_usb,mt76x02_lib,mt76x02_usb,mt76x2u
snd_hda_codec_realtek   143360  1
snd_hda_codec_ca0110    16384  1
snd_hda_codec_generic    98304  2 snd_hda_codec_ca0110,snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     73728  3
nls_iso8859_1          16384  1
edac_mce_amd           32768  0
nls_cp437              20480  1
libarc4                16384  1 mac80211
snd_hda_intel          57344  0
vfat                   24576  1
kvm_amd               114688  0
fat                    86016  1 vfat
snd_intel_dspcfg       24576  1 snd_hda_intel
loop                   36864  24
kvm                   856064  1 kvm_amd
iwlwifi               401408  1 iwlmvm
snd_hda_codec         167936  5 snd_hda_codec_generic,snd_hda_codec_ca0110,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
r8169                  98304  0
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  1
realtek                24576  1
crc32_pclmul           16384  0
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
ghash_clmulni_intel    16384  0
mdio_devres            16384  1 r8169
cfg80211              913408  6 mt76,iwlmvm,mt76x02_lib,iwlwifi,mac80211,mt76x02_usb
nouveau              2355200  0
of_mdio                24576  1 mdio_devres
snd_hwdep              16384  1 snd_hda_codec
aesni_intel           372736  13
snd_pcm               147456  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
crypto_simd            16384  1 aesni_intel
ccp                   118784  1 kvm_amd
cryptd                 24576  5 crypto_simd,ghash_clmulni_intel
snd_timer              45056  1 snd_pcm
glue_helper            16384  1 aesni_intel
fixed_phy              16384  1 of_mdio
sp5100_tco             20480  0
snd                   114688  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
rapl                   16384  0
pcspkr                 16384  0
k10temp                16384  0
libphy                151552  5 r8169,mdio_devres,of_mdio,realtek,fixed_phy
i2c_piix4              28672  0
mxm_wmi                16384  1 nouveau
rfkill                 28672  7 asus_wmi,bluetooth,cfg80211
rng_core               16384  1 ccp
soundcore              16384  1 snd
wmi                    36864  4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
evdev                  28672  9
mac_hid                16384  0
pinctrl_amd            32768  0
acpi_cpufreq           28672  0
uinput                 20480  0
fuse                  139264  1
crypto_user            16384  0
ip_tables              32768  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               53248  12 ebtables,ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_CHECKSUM,ip6_tables,ipt_REJECT,ip_tables,ip6table_mangle,xt_MASQUERADE,iptable_mangle
ext4                  815104  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  139264  1 ext4
crc32c_intel           24576  3
xhci_pci               20480  0
xhci_hcd              286720  1 xhci_pci
gpu_sched              40960  0
i2c_algo_bit           16384  1 nouveau
drm_kms_helper        266240  1 nouveau
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
cec                    73728  1 drm_kms_helper
rc_core                61440  1 cec
ttm                   122880  1 nouveau
drm                   585728  4 gpu_sched,drm_kms_helper,ttm,nouveau
agpgart                53248  3 ttm,nouveau,drm

no change in behavior after adding to file you mentioned

blacklist nouveau

^^ I initially did nvidia, but this is corrected later :slight_smile:

1 Like