Page MenuHomeSolus

mesalib: Enable glvnd support
ClosedPublic

Authored by mati865 on Dec 25 2017, 11:35 PM.

Details

Summary

Depends on D1774

Diff Detail

Repository
R2066 mesalib
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mati865 created this revision.Dec 25 2017, 11:35 PM

Patch files/glvnd-fix-gl-dot-pc.patch was taken from Fedora, how should I mention it?

I did basic tests like logging in and simple GLX programs, video playing in mpv on GeForce 1050 Ti (nouveau support for those GPU series) with DoFlicky and all Nvidia packages uninstalled.
It is quite "intrusive" change so having feedback from users of AMD and Intel GPUs is mandatory.

Installing Nvidia drivers from repo via DoFlicky gave no errors and they are working fine. If those changes are appreciated I can prepare modifications for Nvidia packages as well.

ikey added a subscriber: ikey.

Installing Nvidia drivers from repo via DoFlicky gave no errors and they are working fine. If those changes are appreciated I can prepare modifications for Nvidia packages as well.

There is absolutely no way the installation worked properly. LDM would need specialist support for glvnd migration.

In D1776#27301, @ikey wrote:

There is absolutely no way the installation worked properly. LDM would need specialist support for glvnd migration.

I couldn't believe it's that simple for mesa too ? and I should have mentioned before that removing Nvidia package requires libglvnd package to be reinstalled (until Nvidia package gets fixed for libglvnd).

Initially I ran into "mouse cursor on black background" issue at first but ln -s libGLX_mesa.so.0 $installdir/%libdir%/libGLX_indirect.so.0 fixed it:


(disregard broken budgie, my .config was corrupted but everything is fine now)

Files list:
eopkg info -f mesalib
eopkg info -f mesalib-32bit

Steam is broken because it looks for libGL.so.1 and libEGL.so.1, they could be symlinked in libglvnd but I'm not sure if it's wanted behavior (of course they could be there for extended compatibility after transition).
I'll be happy to provide more proofs or details.

P.S.
I haven't tried moving /usr/lib/glx-provider/defaults/libglx.so provided by xorg-server to /usr/lib/xorg/modules/extensions/ yet as I don't know all changes made by Solus in other packages (LSI I'm thinking about you).

glvnd is supposed to provide libGL.so.1 - if its missing then something is very, very wrong.

In D1776#27439, @ikey wrote:

glvnd is supposed to provide libGL.so.1 - if its missing then something is very, very wrong.

I'm an idiot who didn't enable lib32 for libglvnd and mistyped last comment, fixed in https://dev.solus-project.com/D1774?id=4273
Steam starts now

ikey retitled this revision from mesalib: rebuild for libglvnd to mesalib: Enable glvnd support.Jan 21 2018, 8:22 PM
ikey edited the test plan for this revision. (Show Details)
mati865 reclaimed this revision.EditedJan 21 2018, 8:26 PM

Reopening mesa.
I have Nvidia and Xorg packages changes on the old machine, I can send them tomorrow.

This revision was automatically updated to reflect the committed changes.

Its ok I have nvidia changes and xorg changes staged locally, but cheers for the groundwork :D Just fixing up the last bits now..

Nice, I'll review them when they hit the repo.