alan_g
May 25, 2023, 10:46am
1
Mesa-core22 is the default provider of the graphics-core22
content interface used by IoT graphics snaps based on core22. The graphics-core22
content interface is described here:
An example snap using this is the “22” track of Ubuntu Frame.
This release reinstates the libdrm
content.
To test, just switch to the candidate
channel. For example:
snap refresh --channel candidate mesa-core22
And use any dependent snaps as normal. Please let us know any results here.
If no problems are identified we aim to promote to stable
in a week.
Using this in lutris, but lutris reports back 32bit vulkan libs etc. missing even though its staged in the content snap ? Maybe a layout is missing.
alan_g
May 25, 2023, 10:56am
3
Is that a something that changed with candidate
?
Sorry, i didnt read this full, its not related to candidate.
alan_g
May 25, 2023, 11:28am
5
@SamAlex , this is perhaps not the best place to discuss this, but…
You can check how things are set up with the graphics-core22
interface by getting a shell in your snap. (I’ll use ubuntu-frame
as I have it to hand):
snap run --shell ubuntu-frame
Now you can confirm that the files exist:
$ find $SNAP/graphics/ -name *vulkan*
/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/libvulkan.so.1
/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/libvulkan.so.1.3.204
/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/libvulkan_intel.so
/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/libvulkan_lvp.so
/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/libvulkan_radeon.so
/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/libvulkan.so.1
/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/libvulkan.so.1.3.204
/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/libvulkan_intel.so
/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/libvulkan_lvp.so
/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so
/snap/ubuntu-frame/5338/graphics/usr/share/vulkan
And that they are available on LD_LIBRARY_PATH
etc:
$ export | grep --color /snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/
declare -x GCONV_PATH="/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/gconv"
declare -x LD_LIBRARY_PATH="/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void:/snap/ubuntu-frame/5338/lib:/snap/ubuntu-frame/5338/usr/lib:/snap/ubuntu-frame/5338/usr/lib/x86_64-linux-gnu:/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu:/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/vdpau:/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu:/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/vdpau"
declare -x LIBGL_DRIVERS_PATH="/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/dri/:/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/dri/"
declare -x LIBVA_DRIVERS_PATH="/snap/ubuntu-frame/5338/graphics/usr/lib/x86_64-linux-gnu/dri/:/snap/ubuntu-frame/5338/graphics/usr/lib/i386-linux-gnu/dri/"
I’m not familiar with lutris, but does it, perhaps, override these environment variables?
These changes are now on stable