Article 6MH73 Assistance with Bumblee dameon

Assistance with Bumblee dameon

by
vxghostdancerxv
from LinuxQuestions.org on (#6MH73)
Running a Lenovo Ideapad Gaming 3.
AMD Radeon Graphics
Nvidia Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)

Bumblebee won't start. It says it can't connect.
Checking system logs indicates that it won't start because an onboard graphics card can't be connected.

If I run optirun glxgears it won't connect.
I created my own command that I named primus-run and IT connects to the graphics card just fine.

[10975.024192] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[10975.024248] [ERROR]Could not connect to bumblebee daemon - is it running?

$ primus-run glxinfo -B | grep renderer
OpenGL renderer string: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2

command I created in /usr/bin:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"

Nouveau has been blacklisted and script has been written to run bumblebee on start up.

I have been trying to figure this out for the last year.

I decided to try something as a troubleshooting step. I installed Arch Linux on a virtual box and was able to run it absolutely fine with no issue.

So, this is definitely embarassing as I know I messed up a setting somewhere as I just can't figure out which setting.

Any help would be great.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments