[Bug 2004532] Re: Hardware acceleration broken for amdgpu/mesa in snap
Nathan Teodosio
2004532 at bugs.launchpad.net
Fri Feb 24 21:11:20 UTC 2023
Given the error message from chromium.log,
> amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
> If they do, bad things may happen!
I think this might be the kcmp's denial fault.
Can you please execute the following commands to whitelist the
syscall[1], restart Chromium and see if the problem persists?
--->
#Append kcmp to the seccomp profile source
sudo sh -c 'echo kcmp >> /var/lib/snapd/seccomp/bpf/snap.chromium.chromium.src'
#Recompile it
sudo /usr/lib/snapd/snap-seccomp compile /var/lib/snapd/seccomp/bpf/snap.chromium.chromium.src /var/lib/snapd/seccomp/bpf/snap.chromium.chromium.bin
#Kill chromium and launch it again
pkill chrom
chromium
<---
If you followed the steps correctly, you shouldn't see the syscall being
denied anymore when launching Chromium.
After testing you can revert the change with
--->
sudo sed -i '$d' /var/lib/snapd/seccomp/bpf/snap.chromium.chromium.src
sudo /usr/lib/snapd/snap-seccomp compile /var/lib/snapd/seccomp/bpf/snap.chromium.chromium.src /var/lib/snapd/seccomp/bpf/snap.chromium.chromium.bin
<---
[1] https://snapcraft.io/docs/debug-snaps
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2004532
Title:
Hardware acceleration broken for amdgpu/mesa in snap
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2004532/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list