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!
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
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.
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.
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.