[Bug 2004532] Re: Hardware acceleration broken for amdgpu/mesa in snap

bamyasi 2004532 at bugs.launchpad.net
Thu Mar 2 01:10:33 UTC 2023


Hi Nathan,

Quick update: I have tried modifying Chromium profile file per your 
instructions and indeed this silenced the error message. But it had zero 
effect on the GPU bug. I also installed updated kernel which arrived 
today and observed no changes either.

$ uname -a
Linux xxxxxx 5.19.0-35-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 3 
18:36:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

I am less interested in chromium, which I do not normal use, so haven't 
tried installing from beta channel yet. But I doubt this would be 
different since Firefox shows the same issue with the GPU acceleration 
enabled.

Thanks,

Ivan

On 2/24/23 16:11, Nathan Teodosio wrote:
> 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
>
-- 
Ivan Adzhubey, Ph.D.
Research Associate
Dept of Biomedical Informatics
Harvard Medical School
10 Shattuck Street, Suite 514
Boston, MA 02115
tel: (617) 432-2144
fax: (617) 432-0693
web:http://genetics.bwh.harvard.edu/wiki/sunyaevlab/

-- 
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