Nvidia RTX3060 not working

Hello there!
My brand new Gigabyte Aero 15 is working well so far except for the Nvidia-GPU drivers - they just don’t seem to work.

I can’t open nvidia x-settings and neither can I load any content from nvidia-smi

nvidia-settings
ERROR: Unable to load info from any available system
nvidia-smi
No devices were found

Here some system info

mhwd -l -d 
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0300:10de:2520)
  Display controller nVidia Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.07.28
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.07.28
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-nvidia
   ATTACHED:	PCI
   VERSION:	2020.11.30
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	4
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:9a60)
  Display controller Intel Corporation TigerLake-H GT1 [UHD Graphics]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.07.28
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 



  > AVAILABLE:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.07.28
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


Warning: no configs for USB devices found!
inxi -Fza
System:    Kernel: 5.13.8-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
           root=UUID=2840559f-51f3-4f51-a549-03c28b464b87 rw quiet splash apparmor=1 
           security=apparmor udev.log_priority=3 
           Desktop: GNOME 40.3 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.1 
           Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Desktop System: GIGABYTE product: AERO 15 KD v: N/A serial: <filter> 
           Chassis: SYS_CHASSIS_ type: 3 v: y.y serial: <filter> 
           Mobo: N/A model: AERO 15 KD serial: <filter> UEFI: American Megatrends LLC. 
           v: FB03 date: 04/27/2021 
Battery:   ID-1: BAT1 charge: 99.0 Wh (100.0%) condition: 99.0/99.0 Wh (100.0%) 
           volts: 16.9 min: 15.2 model: GIGABYTE Aero 15 type: Li-ion serial: N/A 
           status: Full 
           Device-1: hidpp_battery_0 model: Logitech MX Master 3 for Mac 
           serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
           status: Discharging 
CPU:       Info: 8-Core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP 
           arch: Tiger Lake family: 6 model-id: 8D (141) stepping: 1 microcode: 2C 
           cache: L2: 24 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
           bogomips: 73744 
           Speed: 1002 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 1002 2: 1063 
           3: 1086 4: 801 5: 792 6: 790 7: 801 8: 988 9: 993 10: 1034 11: 1071 12: 800 
           13: 801 14: 1074 15: 1001 16: 863 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 
           mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Gigabyte driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300 
           Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Gigabyte 
           driver: nvidia v: 470.57.02 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
           chip-ID: 10de:2520 class-ID: 0300 
           Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo 
           bus-ID: 3-9:3 chip-ID: 13d3:56a2 class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.org 1.20.13 compositor: gnome-shell driver: 
           loaded: modesetting unloaded: intel,nouveau failed: nvidia 
           alternate: fbdev,nv,vesa resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 21.1.6 
           direct render: Yes 
Audio:     Device-1: Intel Tiger Lake-H HD Audio vendor: Gigabyte driver: snd_hda_intel 
           v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8 
           class-ID: 0403 
           Device-2: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403 
           Sound Server-1: ALSA v: k5.13.8-1-MANJARO running: yes 
           Sound Server-2: sndio v: N/A running: no 
           Sound Server-3: JACK v: 1.9.19 running: no 
           Sound Server-4: PulseAudio v: 15.0 running: yes 
           Sound Server-5: PipeWire v: 0.3.33 running: yes 
Network:   Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel 
           port: 3000 bus-ID: 2e:00.0 chip-ID: 10ec:8125 class-ID: 0200 
           IF: enp46s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000 
           bus-ID: 30:00.0 chip-ID: 8086:2723 class-ID: 0280 
           IF: wlp48s0 state: up mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-10:4 
           chip-ID: 8087:0029 class-ID: e001 
           Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:    Local Storage: total: 2.75 TiB used: 20.56 GiB (0.7%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Phison model: ESR01TBTLG-E6GBTNB4 
           size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s 
           lanes: 4 type: SSD serial: <filter> rev: EGFM13.0 temp: 34.9 C scheme: GPT 
           ID-2: /dev/nvme1n1 maj-min: 259:7 vendor: Kingston model: SKC2500M82000G 
           size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
           lanes: 4 type: SSD serial: <filter> rev: S7781101 temp: 26.9 C scheme: GPT 
Partition: ID-1: / raw-size: 786.22 GiB size: 772.81 GiB (98.29%) used: 20.51 GiB (2.7%) 
           fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) 
           used: 50.9 MiB (19.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 27.8 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 343 Uptime: 30m wakeups: 3 Memory: 62.56 GiB used: 3.99 GiB (6.4%) 
           Init: systemd v: 248 tool: systemctl Compilers: gcc: 11.1.0 alt: 10 
           clang: 12.0.1 Packages: pacman: 1296 lib: 327 flatpak: 0 Shell: Zsh v: 5.8 
           running-in: gnome-terminal inxi: 3.3.06

running on gnome 3.40 with xorg

echo $XDG_SESSION_TYPE 
x11

running anything that requires gpu doesn’t seem to work using prime-run

prime-run blender
Read prefs: /home/david/.config/blender/2.93/config/userpref.blend
Error! Unsupported graphics card or driver.
A graphics card and driver with support for OpenGL 3.3 or higher is required.
The program will now close.

I haven’t found a solution to this yet. Any ideas how to fix the issue?
thank you!

Hello,

It seems you have the iGPU also enabled and your display connected to it. The driver you have installed

for me doesn’t make sense on a desktop, but you also have video-linux and video-modesetting

Do you dual boot with Windows and need the iGPU enabled too?
In that case, remove the video-linux

If you don’t need the iGPU, then remove the drivers you have now installed
sudo mhwd -r pci video-linux
sudo mhwd -r pci video-modesetting
sudo mhwd -r pci video-hybrid-intel-nvidia-prime

install the nvidia drivers
sudo mhwd -i pci video-nvidia

yeah, CUDA will need to be removed too

restart the system and disable the iGPU from BIOS,
shutdown and connect your Monitor to the dGPU aka Nvidia one and then start your system.

thanks for your reply!
I do use a laptop with hybrid graphics (which I intend to use both) No external display is attached, just the one on the laptop

I followed the commands and gdm doesn’t seem to load anymore (black screen after boot). running startx didn’t work when no intel igpu drivers were installed

reinstalling the hybrid drivers fixed the issue though. gdm doesn’t load but startx does the job after logging in using alt+f2

I couldn’t find a setting in the bios to disable the igpu either, but as the problem seems to be tge nvidia driver, I probably shouldn’t disable the igpu driver if I want the system to load

edit: here is a part of the xorg log:

[    12.633] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[    12.633] (==) NVIDIA(G0): RGB weight 888
[    12.633] (==) NVIDIA(G0): Default visual is TrueColor
[    12.633] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[    12.633] (**) Option "AllowNVIDIAGpuScreens"
[    12.633] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[    12.633] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[    12.633] (**) NVIDIA(G0): Option "AllowEmptyInitialConfiguration"
[    12.633] (**) NVIDIA(G0): Enabling 2D acceleration
[    12.633] (II) Loading sub module "glxserver_nvidia"
[    12.633] (II) LoadModule: "glxserver_nvidia"
[    12.633] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    12.637] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    12.637] 	compiled for 1.6.99.901, module version = 1.0.0
[    12.637] 	Module class: X.Org Server Extension
[    12.637] (II) NVIDIA GLX Module  470.57.02  Tue Jul 13 16:10:58 UTC 2021
[    12.638] (II) NVIDIA: The X server supports PRIME Render Offload.
[    13.847] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[    13.847] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[    13.847] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[    13.847] (EE) NVIDIA(GPU-0):     README for additional information.
[    13.847] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[    13.847] (EE) NVIDIA(G0): Failing initialization of X screen
[    13.847] (II) UnloadModule: "nvidia"
[    13.847] (II) UnloadSubModule: "glxserver_nvidia"
[    13.847] (II) Unloading glxserver_nvidia
[    13.847] (II) UnloadSubModule: "wfb"
[    13.847] (II) UnloadSubModule: "fb"
[    13.847] (II) UnloadModule: "intel"
[    13.847] (II) Unloading intel
[    13.847] (II) UnloadModule: "nouveau"
[    13.847] (II) Unloading nouveau

That is mixed up then …
It means you need the video-hybrid-intel-nvidia-prime and the video-modesetting drivers to be installed … only those.

This is what I have installed now:

  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-prime
   ATTACHED:	PCI
   VERSION:	2021.07.28
   INFO:	Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	6
   FREEDRIVER:	false
   DEPENDS:	video-modesetting 
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

still, drivers aren’t working, same errors as before

Have a look here as it might help. I didn’t read it entirely just yet

i think this too is related

Hi dav,

The nvidia 470 drivers do not work on the Aero15. The 3060 is not detected by the system. I tried to get it to work for a couple of days but was not able to. I installed the 465 drivers from Nvidia’s website and those work just fine. The only thing is that you will have to use optimus-manager to switch between the cards.
The second post added by bogdancovaciu is the post I created when I could not figure this one out. There are some useful links in there.
I can help you further if you have any questions. I am also interested on how is your experience with the Aero15.

1 Like

thanks a lot!
Geforce Driver Results | NVIDIA is this the driver you used? And did you remove all existing drivers before installing?
Interestingly, the drivers worked from the live-system as they were on version 465. I resintalled the distro and tried to keep it from updating by ignoring linux510-nvidia in the pacman config, but that didn’t really work.

First you will need to install all the updates. This will install the nvidia 470 drivers also but it’s OK you will replace it later once you have everything else updated. I’m using kernel 5.12.
After that go here to get the driver

This driver is from the new features brach

Version: 465.31
Release Date: 2021.5.18
Operating System: Linux 64-bit

You will need to compile these drivers so read this article on how to install the official drivers:

After you reboot your card should be recognized.
Just to be safe I have also added the “linux512-nvidia” package to the pamac ignore list.
Once you have all of this done you can install optimus-manager and I higly recommend optimus-manager-qt to make it easier on yourself.
Let me know if you have any other questions.

thanks a lot! Just followed all the steps but in the end xorg won’t start for some reason, but oddly wayland works.

that’s the xorg log:

[   532.430] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   532.434] 
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[   532.443] Build Operating System: Linux Manjaro Linux
[   532.446] Current Operating System: Linux sofa 5.12.19-1-MANJARO #1 SMP PREEMPT Tue Jul 20 20:57:37 UTC 2021 x86_64
[   532.446] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64 root=UUID=e15d1157-110c-4a2a-bb2c-7abfb5558eaa rw nouveau.modeset=0 quiet splash apparmor=1 security=apparmor udev.log_priority=3
[   532.452] Build Date: 29 July 2021  08:07:46PM
[   532.456]  
[   532.459] Current version of pixman: 0.40.0
[   532.465] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   532.465] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   532.479] (==) Log file: "/home/david/.local/share/xorg/Xorg.0.log", Time: Thu Aug 12 23:38:47 2021
[   532.482] (==) Using config file: "/etc/X11/xorg.conf"
[   532.485] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   532.488] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   532.488] (==) ServerLayout "layout"
[   532.488] (**) |-->Screen "Screen0" (0)
[   532.488] (**) |   |-->Monitor "Monitor0"
[   532.489] (**) |   |-->Device "Device0"
[   532.489] (**) |   |-->GPUDevice "Device0"
[   532.489] (==) Automatically adding devices
[   532.489] (==) Automatically enabling devices
[   532.489] (==) Automatically adding GPU devices
[   532.489] (==) Automatically binding GPU devices
[   532.489] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   532.489] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   532.489] 	Entry deleted from font path.
[   532.489] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   532.489] 	Entry deleted from font path.
[   532.489] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   532.489] 	Entry deleted from font path.
[   532.489] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   532.489] 	Entry deleted from font path.
[   532.489] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   532.489] 	Entry deleted from font path.
[   532.489] (==) FontPath set to:
	/usr/share/fonts/TTF
[   532.489] (==) ModulePath set to "/usr/lib/xorg/modules"
[   532.489] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   532.489] (II) Module ABI versions:
[   532.489] 	X.Org ANSI C Emulation: 0.4
[   532.489] 	X.Org Video Driver: 24.1
[   532.489] 	X.Org XInput driver : 24.1
[   532.489] 	X.Org Server Extension : 10.0
[   532.489] (++) using VT number 2

[   532.490] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[   532.491] (II) xfree86: Adding drm device (/dev/dri/card0)
[   532.491] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   532.492] (--) PCI:*(0@0:2:0) 8086:9a60:1458:75d3 rev 1, Mem @ 0x622c000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   532.492] (--) PCI: (1@0:0:0) 10de:2520:1458:75d3 rev 161, Mem @ 0x5f000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   532.492] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   532.492] (II) LoadModule: "glx"
[   532.492] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   532.493] (II) Module glx: vendor="X.Org Foundation"
[   532.493] 	compiled for 1.20.13, module version = 1.0.0
[   532.493] 	ABI class: X.Org Server Extension, version 10.0
[   532.493] (II) LoadModule: "nvidia"
[   532.493] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   532.493] (II) Module nvidia: vendor="NVIDIA Corporation"
[   532.493] 	compiled for 1.6.99.901, module version = 1.0.0
[   532.493] 	Module class: X.Org Video Driver
[   532.493] (II) NVIDIA dlloader X Driver  465.31  Thu May 13 22:19:15 UTC 2021
[   532.493] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   532.493] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   532.493] (EE) No devices detected.
[   532.493] (EE) 
Fatal server error:
[   532.493] (EE) no screens found(EE) 
[   532.493] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   532.493] (EE) Please also check the log file at "/home/david/.local/share/xorg/Xorg.0.log" for additional information.
[   532.493] (EE) 
[   532.516] (EE) Server terminated with error (1). Closing log file.

Remove any X configuration file you might have in /etc/X11. When you install optimus-manager it will add it’s own files.
Did you set nouveau.modeset=0 in grub?

thanks! I am a step further now. the correct driver seems to be installed, X11 is up, but it doesn’t seem to work quite yet.

yes, I updated the grub config accordingly

nvidia-smi                                                     1 ✘ 
Fri Aug 13 00:30:24 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 465.31       Driver Version: 465.31       CUDA Version: 11.3     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   43C    P0    24W /  N/A |      0MiB /  5946MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
nvidia-settings 

ERROR: Unable to load info from any available system

prime-run blender
Error! Unsupported graphics card or driver.
A graphics card and driver with support for OpenGL 3.3 or higher is required.
The program will now close.

nvidia-settings and blender won’t open :confused:

Install optimus-manager and optimus-manage-qt and make sure you run them both before rebooting. Optimus-manager should also run as a service so make sure you have it set to enable. Once you have all of that reboot. After the reboot you will be able to switch to the nvidia card.

The reason why it’s not working for you right now it’s because you are running on the intel graphics.

1 Like

I set optimus-manager-qt as a startup app when I log in so it’s always there but you might have to start it after the first reboot.

1 Like

oh wow this actually worked! thanks a lot, you were a great help!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.