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

 

 

 

Debian Testing + nvidia 435 + optimus laptop: howto?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
adi1334
Posts: 48
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

Debian Testing + nvidia 435 + optimus laptop: howto?

#1 Post by adi1334 »

Hey everyone, anyone.

I'm running Testing on a Lenvo X1X (Nvidia 1050ti).
Recent update in testing (nvidia 430) broke my setup (bumblebee + prime) - segfault, already submitted as multiple bug reports in bugs.debian (e.g. https://bugs.debian.org/cgi-bin/bugrepo ... bug=939401). As suggested in a bug report, I installed nvidia 435 from experimental, driver works, but nvidia is always on (terrible for battery life, cannot use hdmi external monitor).

Also, reverting to nvidia legacy driver 390 did not work.

Given tfa:
The NVIDIA 435.17 driver has a new PRIME render offload implementation supported for Vulkan and OpenGL (with GLX). This PRIME offloading is about using one GPU for display but having the actual rendering be done on a secondary GPU, as is common with many of today's high-end notebooks that have Intel integrated graphics paired with a discrete NVIDIA GPU.

For the NVIDIA PRIME render offload support, they require some recent commits to the X.Org Server that sadly isn't in any released version but will be there for the eventual xorg-server 1.21 release. In the meantime, NVIDIA is providing an Ubuntu PPA with a patched X.Org Server build.
Did anyone manage to set up 435 with Optimus (external monitor working)? If yes, is this documented anywhere?

Cheers!

adi1334
Posts: 48
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

Re: Debian Testing + nvidia 435 + optimus laptop: howto?

#2 Post by adi1334 »

Update: reverting to nvidia legacy 390 now seems to work, so I've done that. Bumblebee for now it is.

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

Re: Debian Testing + nvidia 435 + optimus laptop: howto?

#3 Post by stevepusser »

For what it's worth, I have a backported 435.21 working with Bumblebee on a Stretch, and now a Buster base on two different Optimus laptops. Here's the one I'm using now:

Code: Select all

$ optirun inxi -F

Machine:   Type: Laptop System: Micro-Star product: GP63 Leopard 8RD v: REV:1.0 serial: <root required> 
           Mobo: Micro-Star model: MS-16P6 v: REV:1.0 serial: <root required> UEFI: American Megatrends 
           v: E16P6IMS.107 date: 09/05/2018 
...

Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 435.21 
           Display: x11 server: X.Org 1.20.4 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 
MX Linux packager and developer

Post Reply