Optirun - Cannot access secondary GPU
Hello all,
I know that this issue has been discussed before in several, I know for I have googled that error, but in all of them, I couldn't find a solution for the issue.
Which is that I cannot use my Nvidia dGPU.
I am running Manjaro on a Dell G3 with integrated intel graphics and a GTX 1050ti. I tried running a 3D game and found the performance to be embarrassing. Long story short, it was using my intel graphics.
I tried using optirun and primusrun but both gave me the same error
[ 702.966606] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 702.967017] [INFO]Configured driver: nvidia
[ 702.967421] [DEBUG]optirun version 3.2.1-2017-02-27-Format:%h$ starting...
[ 702.967452] [DEBUG]Active configuration:
[ 702.967462] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 702.967472] [DEBUG] X display: :8
[ 702.967481] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 702.967496] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 702.967506] [DEBUG] Accel/display bridge: auto
[ 702.967530] [DEBUG] VGL Compression: proxy
[ 702.967550] [DEBUG] VGLrun extra options:
[ 702.967572] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 702.967704] [DEBUG]Using auto-detected bridge primus
[ 702.968144] [INFO]Response: No - error: Could not enable discrete graphics card
[ 702.968185] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 702.968205] [DEBUG]Socket closed.
[ 702.968249] [ERROR]Aborting because fallback start is disabled.
[ 702.968263] [DEBUG]Killing all remaining processes.
Courtesy of optirun -vv gputest, but primusrun gives a very similar error.
I do not what to do. Tried following threads to see where they ended up but found no solution that worked for me.
Some system info:
inxi -G
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A
Display: x11 server: X.Org 1.20.5 driver: intel resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2)
v: 4.5 Mesa 19.1.2
mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-bumblebee 2018.08.09 false PCI
video-linux 2018.05.04 true PCI
network-r8168 2016.04.20 true PCI
If someone knows what is happening and how I can fix it I would be very grateful
About this post
- Posted
- Archived
- Score
- 10 · 100% up
- Kind
- Text
- ID
- ciqs11
7 comments
As a matter of fact nvidia supports manjaro on many systems but, when I tried to do the same it wasn't pretty. Had same issue as u are having right now, ur 1050ti falls on optimus range and drivers and be easily installed with "nvidia" package. Uninstalled manjaro and tried arch on i3 and it works just fine, always uses nvidia and lists both gpus. I really don't know what is with manjaro, but arch minimal install makes nvidia works just fine. Manjaro out of the box comes with many pre-made configs, so that may be the issue it makes it harder to switch. If u can try arch tho it's not that easy to use that. Cheers, hope u get the solution in near future🤠
I have the same issue on plain arch linux, it's not just a manjaro thing.
Same issue on arco linux openbox for me.
I’m using Optimus-manager and everything works perfectly. Give it a try https://github.com/Askannz/optimus-manager . I have used it for a while and never looked back, had several issues with my Intel 630 and 1050ti but after trying Optimus-manager its all good at a click of an icon I can swap graphics, the only “downside” is that you have to logout for the switch.
I will definitely give it a go. But just as a precaution, it says that you have to disable bumblebee for it to work properly. Did you have issues doing that? Or you don't use bumblebee to begin with?
Never used bumblebee, sorry. I was using the dedicated graphics card for everything till I found Optimus-manager.