Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Is there prime-select alternative for Debian

Need help with peripherals or devices?
Post Reply
Message
Author
Talkless
Posts: 44
Joined: 2013-05-13 10:18
Been thanked: 1 time

Is there prime-select alternative for Debian

#1 Post by Talkless »

After migrating my personal machine to Debian Testing I missed prime-select that could enable nvidia/intel permanently on my hybrid graphics laptop.

Now it looks like I have to launch application using optirun, and I find that actually inconvenient. So if I want WebGL on browser, Steam game or use Blender, I have to fiddle to start them through console, or in Steam case, edit launch command into optirun %command%.

Is there a way to switch whole desktop session to nvidia or to intel "permanently"? What I was doing on Ubuntu was:
  • Log out
  • Code: Select all

    sudo service sddm stop; sudo prime-select nvidia/intel; sudo service sddm start
  • Log in

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Is there prime-select alternative for Debian

#2 Post by stevepusser »

Since you are an adventurous Testing user, have you tested an install of the Ubuntu package to see if it works on Debian?

https://packages.ubuntu.com/zesty/nvidia-prime
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Is there prime-select alternative for Debian

#3 Post by Head_on_a_Stick »

The ArchWiki has a guide for setting up PRIME with the nouveau drivers, you should be able to apply the methods to Debian buster, I think.

https://wiki.archlinux.org/index.php/PRIME

The "xf86-video-nouveau" Arch package is called "xserver-xorg-video-nouveau" in Debian and should be installed by default.
deadbang

Talkless
Posts: 44
Joined: 2013-05-13 10:18
Been thanked: 1 time

Re: Is there prime-select alternative for Debian

#4 Post by Talkless »

Head_on_a_Stick wrote:The ArchWiki has a guide for setting up PRIME with the nouveau drivers, you should be able to apply the methods to Debian buster, I think.
Hm, what about proprietary drivers?

Talkless
Posts: 44
Joined: 2013-05-13 10:18
Been thanked: 1 time

Re: Is there prime-select alternative for Debian

#5 Post by Talkless »

stevepusser wrote:have you tested an install of the Ubuntu package to see if it works on Debian?
I haven't thought about that. I could try.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Is there prime-select alternative for Debian

#6 Post by Head_on_a_Stick »

Talkless wrote:Hm, what about proprietary drivers?
Please at least actually read the provided link before asking questions that are answered by it... :roll:
deadbang

Talkless
Posts: 44
Joined: 2013-05-13 10:18
Been thanked: 1 time

Re: Is there prime-select alternative for Debian

#7 Post by Talkless »

Head_on_a_Stick wrote:
Talkless wrote:Hm, what about proprietary drivers?
Please at least actually read the provided link before asking questions that are answered by it... :roll:
Sorry, I was too tired that day I guess :roll: .

Anyway, prime-select from Ubuntu does not work:

Code: Select all

 sudo prime-select nvidia
Info: the current GL alternatives in use are: [None, None]
Info: the current EGL alternatives in use are: [None, None]
Error: the installed packages do not support PRIME
Error: nvidia mode can't be enabled
I guess I'll skip these manual Xorg.conf changes noted in Wiki...

It would be nice to have prime-select on Debian, maybe I should report Debian bug about that against src:nvidia-graphics-drivers?

Talkless
Posts: 44
Joined: 2013-05-13 10:18
Been thanked: 1 time

Re: Is there prime-select alternative for Debian

#8 Post by Talkless »


Post Reply