LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-02-2024, 12:33 PM   #1
vxghostdancerxv
LQ Newbie
 
Registered: Dec 2021
Posts: 4

Rep: Reputation: Disabled
Assistance with Bumblee dameon


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.
 
Old 05-03-2024, 10:34 AM   #2
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 405

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Bumblebee is the old way to use Nvidia Optimus technology. It supposes all the necessary packages from the Bumblebee Slackbuilds.

The new way is directly with the Nvidia driver which now support their own technology.

It seems you have the new way working with your machine (the line :
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo).
It's not Bumblebee and the optirun binary which comes from Bumblebee will probably won't work and collide with the new way.

See :
https://docs.slackware.com/howtos:ha...nvidia_optimus

For Bumblebee-SlackBuilds The last patch was written by me 3 years ago. Latest versions of Nvidia drivers is not tested.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Why I cannot compile nvidia-bumblee? slac Slackware 13 07-26-2019 05:56 PM
Difference between init.d, xinetd and running service as a dameon jstephens84 Linux - Newbie 1 09-13-2004 06:19 PM
Samba Dameon smbd is not running and won't start rjcmi Linux - Newbie 2 04-22-2004 09:44 AM
favorite ftp dameon race Linux - Software 1 03-10-2004 03:20 PM
favorite ftp dameon race Linux - Software 0 03-10-2004 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration