Debian Testing + nvidia 435 + optimus laptop: howto?

Everything about X, Gnome, KDE, ... and everything running on it

Debian Testing + nvidia 435 + optimus laptop: howto?

Postby adi1334 » 2019-09-18 04:11

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: 41
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

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

Postby adi1334 » 2019-11-02 10:03

Update: reverting to nvidia legacy 390 now seems to work, so I've done that. Bumblebee for now it is.
adi1334
 
Posts: 41
Joined: 2004-10-18 07:01
Location: Timisoara, Romania

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

Postby stevepusser » 2019-11-02 22:31

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
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11258
Joined: 2009-10-06 05:53


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable