View previous topic :: View next topic |
Author |
Message |
lekto Apprentice

Joined: 20 Sep 2014 Posts: 217 Location: Ancient Rome
|
Posted: Mon Jan 27, 2025 2:40 pm Post subject: [SOLVEDish] 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.
Last edited by lekto on Sat Feb 01, 2025 9:36 am; edited 1 time in total |
|
Back to top |
|
 |
lekto Apprentice

Joined: 20 Sep 2014 Posts: 217 Location: Ancient Rome
|
Posted: Sat Feb 01, 2025 9:36 am Post subject: |
|
|
Okay, I was wondering why Firefox is the only program that doesn't run, so I tried to find another program that behaves similarly, and I found MPV. I thought it might be related to video hardware decoding and compared Mesa use flags and found that the host has -vdpau, but guest vdpau, so I disabled it, rebuilt the system, but it didn't help. Next I tried to run Firefox with the --safe-mode flag, and it works. But, unfortunately, addons are disabled, so no dark mode and adblocks for me. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|