[Bug 1201474] New: sway is missing dependency on mesa
https://bugzilla.suse.com/show_bug.cgi?id=1201474 Bug ID: 1201474 Summary: sway is missing dependency on mesa Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: msuchanek@suse.com QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- Running sway requires Mesa drivers but the sway package does not depend on Mesa. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c1
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1201474
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c2
Michael Vetter
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c3
--- Comment #3 from Michal Suchanek
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c4
--- Comment #4 from Michael Vetter
Sounds like Mesa-dri is needed to get the modules sway complains about, but this will be different with nVidia
Hmm but that would mean adding a dependency on mesa isn't the way to go, right? Maybe some post install message should be added to sway? Some hint added to the openSUSE wiki? May I ask how you encountered this bug? Some minimal installation? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c5
--- Comment #5 from Michal Suchanek
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c6
--- Comment #6 from Michal Suchanek
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c7
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c8
--- Comment #8 from Michal Suchanek
In sway packages I see requires to
libGLESv2.so.2()(64bit)
and this again is linked against
libGLdispatch.so.0
So there is no hard requirement to Mesa or other GL drivers (by intention). I think you can run into this only when choosing a minimal installation. I can't say whether sway works with nVidia's proprietary drivers. Haven't tried this. But I think recommending Mesa-dri wouldn't hurt in sway package.
but you do need a GL driver to be able to make use of libGLESv2, right? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c9
--- Comment #9 from Michael Vetter
There is no option to install sway desktop in the installer so I just installed sway
Actually there is :-) We created some "desktop" called openSUSEway: https://en.opensuse.org/Portal:OpenSUSEway It's sway + some chosen applications and modified configurations. It's available on the netinstaller ISO AFAIK. And installable as a pattern too. So in your case it was a fresh install where you chose minimal desktop pattern and then picked sway/installed it later? Or was it a working installation with another DE and you installed sway later on? I'm just curious which patterns were selected since I never heard of people having this issue. Maybe `zypper se -i -t pattern` would be interesting. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c10
--- Comment #10 from Stefan Dirsch
but you do need a GL driver to be able to make use of libGLESv2, right?
(in case that's not a rhetorical question) I would think so, yes. So should Mesa-dri be required by libglvnd? I'm not sure, whether that's a good idea. Mesa buildrequires libglvnd and I'm anxious to produce a buildloop when letting libglvnd require Mesa-dri, which is a subpackage of Mesa. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c11
--- Comment #11 from Michal Suchanek
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c12
--- Comment #12 from Michal Suchanek
(In reply to Michal Suchanek from comment #8)
but you do need a GL driver to be able to make use of libGLESv2, right?
(in case that's not a rhetorical question) I would think so, yes. So should Mesa-dri be required by libglvnd? I'm not sure, whether that's a good idea. Mesa buildrequires libglvnd and I'm anxious to produce a buildloop when letting libglvnd require Mesa-dri, which is a subpackage of Mesa.
X11 also depends on video and input drivers, and they in turn need X11 to build, right? This is basically the same situation. You have a device-independent GL infrastructure but you need a device driver for it to work. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c13
--- Comment #13 from Stefan Dirsch
X11 also depends on video and input drivers, and they in turn need X11 to build, right?
With s/X11/Xserver - yes!
This is basically the same situation. You have a device-independent GL infrastructure but you need a device driver for it to work.
Indeed. Convinced. BTW, just noticed that xorg-x11-server requires Mesa, which again requires Mesa-dri. So it seems you didn't have xorg-x11-server installed either. Which can be possible, if you removed XFCE pattern again from installation. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c14
--- Comment #14 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c15
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1201474
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c16
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1201474
https://bugzilla.suse.com/show_bug.cgi?id=1201474#c17
--- Comment #17 from Stefan Dirsch
participants (1)
-
bugzilla_noreply@suse.com