nvidia optimus  [Solved]

Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
mg979
Posts: 31
Joined: Fri Jan 05, 2018 9:37 am

Re: nvidia optimus

#11 Post by mg979 »

Purged/reinstalled with tools, no bumblebee:

Code: Select all

$ inxi -G
Graphics:  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 460.91.03 
           Display: x11 server: X.Org 1.20.11 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.5 

$ nvidia-run-mx nvidia-settings

ERROR: Unable to load info from any available system

User avatar
dolphin_oracle
Developer
Posts: 22074
Joined: Sun Dec 16, 2007 12:17 pm

Re: nvidia optimus  [Solved]

#12 Post by dolphin_oracle »

we probably need the

/var/log/ddm.log

file and also the output of both

Code: Select all

nvidia-detect
and

Code: Select all

nvidia-detect-mx
also, if you have switched to the "intel" graphics driver in mx-tweak, try going back to modesetting. forcing use of "intel" will cause the issue you are facing.

On the 1060 that I have here, I don't need any special tools to start nvidia-setttings, but I'm not using the "intel" driver.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

mg979
Posts: 31
Joined: Fri Jan 05, 2018 9:37 am

Re: nvidia optimus

#13 Post by mg979 »

dolphin_oracle wrote: Sat Dec 18, 2021 2:34 pm also, if you have switched to the "intel" graphics driver in mx-tweak, try going back to modesetting. forcing use of "intel" will cause the issue you are facing.

On the 1060 that I have here, I don't need any special tools to start nvidia-setttings, but I'm not using the "intel" driver.
That was it thanks! Unfortunately without the intel driver I get horrible screen tearing everywhere. I guess I'll stay with the intel card on Linux.

User avatar
Stevo
Developer
Posts: 14452
Joined: Fri Dec 15, 2006 7:07 pm

Re: nvidia optimus [solved]

#14 Post by Stevo »

You can use the intel driver with bumblebee on MX 21 with your card, but nvidia-settings does need extra goodies on the command:

viewtopic.php?t=67997

The easiest way to test with either the MX Prime command or optirun is just compare the output of "inxi -G" alone and then preceded by the command.

Code: Select all

optirun inxi -G

mg979
Posts: 31
Joined: Fri Jan 05, 2018 9:37 am

Re: nvidia optimus [solved]

#15 Post by mg979 »

Stevo wrote: Sat Dec 18, 2021 6:02 pm You can use the intel driver with bumblebee on MX 21 with your card, but nvidia-settings does need extra goodies on the command:

viewtopic.php?t=67997
I had read that thread and tried with

Code: Select all

optirun -b none nvidia-settings -c :8
but it didn't work (got the errors from the first post). bumblebee failed to activate the card.

Reposting here:

Code: Select all

$ optirun nvidia-settings
[  963.884950] [ERROR]No bridge found. Try installing primus or virtualgl.

$ optirun -b none nvidia-settings -c :8
[  986.886349] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

[  986.886402] [ERROR]Aborting because fallback start is disabled.

mg979
Posts: 31
Joined: Fri Jan 05, 2018 9:37 am

Re: nvidia optimus [solved]

#16 Post by mg979 »

Just adding that I switched again to modesetting and enabled

Code: Select all

backend = "glx";
in my compton.conf and I have no more screen tearing, everything seems to work well now! Thanks for the help.

This is my inxi output now:

Code: Select all

$ inxi -G
Graphics:  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 460.91.03 
           Display: x11 server: X.Org 1.20.11 driver: modesetting,nvidia 
           unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.5 

$ nvidia-run-mx inxi -G
Graphics:  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 460.91.03 
           Display: x11 server: X.Org 1.20.11 driver: modesetting,nvidia 
           unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 460.91.03 

Post Reply

Return to “MX Fluxbox Official Release”