Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Firefox doesn't start after installation of amdgpu driver

  • 1 Antwort
  • 0 haben dieses Problem
  • 4 Aufrufe
  • Letzte Antwort von carcass_dev0

more options

Hi,

I have a laptop with an AMD Ryzen 7 8845HS CPU, including a Radeon 780M iGPU, running Ubuntu 24.04. In order to fully utilize the GPU by supporting OpenCL acceleration I installed the additional drivers by: `sudo amdgpu-install --usecase=graphics,multimedia,opencl --opencl=rocr --opengl=mesa`

After that programs which benefit from OpenCL acceleration recognize the GPU, however firefox starts crashing with the following error msg:

XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so: libwayland-client.so.0: failed to map segment from shared object Couldn't load XPCOM.

It seems that the AMD GPU drivers registered their libraries in `/etc/ld.so.conf.d` as 10-rocm-opencl.conf, 20-amdgpu.conf which means that libraries within the given folders are found first.

This applies to the libwayland-client library, which is used by `/usr/lib/firefox/libmozgtk.s`:

ldd /usr/lib/firefox/libmozgtk.so | grep amd libwayland-client.so.0 => /opt/amdgpu/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007013767bf000)

Interestingly the same `libmozgtk.so` library is used by thunderbird:

ldd /usr/lib/thunderbird/libmozgtk.so | rg -i amd libwayland-client.so.0 => /opt/amdgpu/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007d44b0f41000)

However thunderbird just works fine, so I expect that there might be something wrong with firefox utilizing this library.

Maybe I should also mention, that I'm not even using wayland as desktop compositor, but good old x11:

echo $XDG_SESSION_TYPE x11

Is there any way to further debug this issue?

Hi, I have a laptop with an AMD Ryzen 7 8845HS CPU, including a Radeon 780M iGPU, running Ubuntu 24.04. In order to fully utilize the GPU by supporting OpenCL acceleration I installed the additional drivers by: `sudo amdgpu-install --usecase=graphics,multimedia,opencl --opencl=rocr --opengl=mesa` After that programs which benefit from OpenCL acceleration recognize the GPU, however firefox starts crashing with the following error msg: '''XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so: libwayland-client.so.0: failed to map segment from shared object Couldn't load XPCOM.''' It seems that the AMD GPU drivers registered their libraries in `/etc/ld.so.conf.d` as 10-rocm-opencl.conf, 20-amdgpu.conf which means that libraries within the given folders are found first. This applies to the libwayland-client library, which is used by `/usr/lib/firefox/libmozgtk.s`: ldd /usr/lib/firefox/libmozgtk.so | grep amd libwayland-client.so.0 => /opt/amdgpu/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007013767bf000) Interestingly the same `libmozgtk.so` library is used by thunderbird: ldd /usr/lib/thunderbird/libmozgtk.so | rg -i amd libwayland-client.so.0 => /opt/amdgpu/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007d44b0f41000) However thunderbird just works fine, so I expect that there might be something wrong with firefox utilizing this library. Maybe I should also mention, that I'm not even using wayland as desktop compositor, but good old x11: echo $XDG_SESSION_TYPE x11 Is there any way to further debug this issue?

Alle Antworten (1)

more options

Maybe I should mention that I'm using the firefox 133.0 debian package from the `ppa.launchpadcontent.net/mozillateam/ppa/ubuntu` repository, not the one from snap.

I checked other desktop programs which link against `libwayland-client.so.0` and do not have any problems such as firefox.

Geändert am von carcass_dev0

Hilfreich?

Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.