ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

Firefox doesn't start after installation of amdgpu driver

  • 1 პასუხი
  • 0 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 4 ნახვა
  • ბოლოს გამოეხმაურა carcass_dev0

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?

ყველა პასუხი (1)

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.

ჩასწორების თარიღი: , ავტორი: carcass_dev0

გამოსადეგია?

დასვით კითხვა

უნდა შეხვიდეთ ანგარიშზე პასუხის დასაწერად. გთხოვთ, დასვათ ახალი შეკითხვა, თუ ჯერ არ გაქვთ ანგარიში.