lekto Apprentice
Joined: 20 Sep 2014 Posts: 215 Location: Ancient Rome
|
Posted: Mon Jan 27, 2025 2:40 pm Post subject: Firefox empty window in systemd-nspawn |
|
|
Hi, I have one physical machine that I want to get rid of, but I have my stuff on it. I’ve copied the system to another PC, and I can access my stuff inside by running:
Code: | systemd-nspawd --setenv=DISPLAY=:1 --bind-ro=/tmp/.X11-unix --property=DeviceAllow=/dev/dri/card{0,1} --as-pid2 --user lekto -D /var/lib/machines/old-blaszak/ tmux |
and then thunderbird, kicad, soffice, etc. Everything works, but Firefox doesn't work:
Code: | _amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
Glx: failed to create dri3 screen
failed to load driver: radeonsi
MESA-LOADER: glx: failed to open zink: driver not built!
_amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
Glx: failed to create dri3 screen
failed to load driver: radeonsi
_amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
LibEGL warning egl: failed to create dri2 screen
libEGL warning: MESA-LOADER: egl: failed to open zink: driver not built!
_amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
LibEGL warning egl: failed to create dri2 screen
libEGL warning: MESA-LOADER: egl: failed to open zink: driver not built!
MESA: error: Failed to attach to x11 shm
MESA: error: Failed to attach to x11 shm
MESA: error: Failed to attach to x11 shm
MESA: error: Failed to attach to x11 shm
MESA: error: Failed to attach to x11 shm
(…) |
This is a very old version of Firefox - 102.15.1 from September 2023. I can’t update it because it breaks bookmarks and other stuff I need; also, I’m sure I can’t even rebuild it right now.
I tried to run Firefox with --no-remote --no-xshm, but it didn’t help. Some time ago, I think I had the same or a very similar error on another machine that runs up-to-date Firefox:rapid in systemd-nspawn after I updated Mesa, I downgraded Mesa to the same version (24.2.8 ), but it also didn’t help. I also tried running in in Xephyr. I'm running Cosmic Desktop from cosmic-overlay. |
|