Bug 27575

Summary: nvidia files missing from nvidia-current, moved elsewhere
Product: Mageia Reporter: Jérôme Hénin <heninj>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: fri, ghibomgx, olivier.placais, ouaurelien
Version: Cauldron   
Target Milestone: Mageia 8   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: x11-driver-video-nvidia-current CVE:
Status comment:

Description Jérôme Hénin 2020-11-06 19:00:21 CET
Description of problem:

On a laptop with optimus, when trying to start anything using the nvidia driver, I get errors because the libraries and tools provided by the driver are not where they are expected, in /usr/lib64/nvidia-current


Version-Release number of selected component (if applicable):
455.38-1.mga8.nonfree

How reproducible:
Every time.

Steps to Reproduce:
1. Install primus and dependencies
2. enter command "nvidia-settings-bumblebee"
3. Get the error:  [ERROR]Error running "/usr/lib64/nvidia-current/bin/nvidia-settings": No such file or directory

Other way to reproduce:
2. enter  command "primusrun glxspheres64"
3. get the error:
primus: fatal: failed to load any of the libraries: /usr/lib64/nvidia-current/libGL.so.1:/usr/lib/nvidia-current/libGL.so.1
/usr/lib64/nvidia-current/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib/nvidia-current/libGL.so.1: cannot open shared object file: No such file or directory
Comment 1 Aurelien Oudelet 2020-11-06 19:17:49 CET
Hi, thanks reporting this.

NVIDIA-current has been switched to be glvnd compatible.

Assigning to package maintainer group.
Cc'd recent commiter on this.

Assignee: bugsquad => kernel
Target Milestone: --- => Mageia 8
CC: (none) => ghibomgx, ouaurelien

Comment 2 Jérôme Hénin 2020-11-29 23:32:35 CET
A discussion of more or less the same question on the Gentoo bug DB:
https://bugs.gentoo.org/716918

Is the target for Mga 8 to have primus offloading working with glvnd libs, or to default to VirtualGL?

I noticed that this is still working on my machine:
> optirun -b virtualgl glxspheres64

However this:
> optirun -b virtualgl nvidia-settings 

Fails with the message:
"ERROR: Unable to load info from any available system"
Olivier Placais 2020-12-30 13:55:52 CET

CC: (none) => olivier.placais

Comment 3 Olivier Placais 2020-12-30 13:58:13 CET
Hello,

I have exactly the same problem on a Dell G3-3500
Comment 4 Morgan Leijström 2021-02-05 20:34:10 CET
Still valid?

BTW lots of buzz going on and improving Optimus and Mageia-Prime

Also see https://wiki.mageia.org/en/Mageia-prime_for_Optimus

CC: (none) => fri

Comment 5 Morgan Leijström 2021-02-05 20:34:54 CET
The buzz is going on at QA-discuss mailing list
Comment 6 Jérôme Hénin 2021-02-25 15:06:27 CET
This is fixed, nice job guys!

Status: NEW => RESOLVED
Resolution: (none) => FIXED