> 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.
Given the error message from chromium.log,
> amdgpu: os_same_ file_descriptio n 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?
---> snapd/seccomp/ bpf/snap. chromium. chromium. src' snapd/snap- seccomp compile /var/lib/ snapd/seccomp/ bpf/snap. chromium. chromium. src /var/lib/ snapd/seccomp/ bpf/snap. chromium. chromium. bin
#Append kcmp to the seccomp profile source
sudo sh -c 'echo kcmp >> /var/lib/
#Recompile it
sudo /usr/lib/
#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
---> snapd/seccomp/ bpf/snap. chromium. chromium. src snapd/snap- seccomp compile /var/lib/ snapd/seccomp/ bpf/snap. chromium. chromium. src /var/lib/ snapd/seccomp/ bpf/snap. chromium. chromium. bin
sudo sed -i '$d' /var/lib/
sudo /usr/lib/
<---
[1] https:/ /snapcraft. io/docs/ debug-snaps