Firefox tabs keep crashing on new install, thinking its video driver related but unsure how to proceed

New install of Manjaro, also new to Manjaro (and Arch). Firefox tabs kept crashing, so first I uninstalled and reinstalled Firefox, then when it kept happening opened Firefox through terminal.

I see the following in terminal after a tab crashes:

libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /usr/lib/dri)
libGL error: failed to load driver: amdgpu
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /usr/lib/dri)
libGL error: failed to load driver: amdgpu

###!!! [Parent][MessageChannel] Error: (msgtype=0x370131,name=PContent::Msg_DetachBrowsingContext) Channel error: cannot send/recv

Here is the output of pacman -Qs mesa and pacman -Qs libgl, which I saw in another thread with a similar issue:


[cassieb@pierogiheaven ~]$ pacman -Qs mesa
local/glu 9.0.1-1
    Mesa OpenGL Utility library
local/lib32-glu 9.0.1-1
    Mesa OpenGL utility library (32 bits)
local/lib32-libva-mesa-driver 20.0.5-1
    VA-API implementation for gallium (32-bit)
local/lib32-mesa 20.0.5-1
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-demos 8.4.0-1
    Mesa demos and tools (32-bit)
local/lib32-mesa-vdpau 20.0.5-1
    Mesa VDPAU drivers (32-bit)
local/lib32-vulkan-intel 20.0.5-1
    Intel's Vulkan mesa driver (32-bit)
local/lib32-vulkan-radeon 20.0.5-1
    Radeon's Vulkan mesa driver (32-bit)
local/libva-mesa-driver 20.0.5-1
    VA-API implementation for gallium
local/mesa 20.0.5-1
    An open-source implementation of the OpenGL specification
local/mesa-demos 8.4.0-3
    Mesa demos and tools incl. glxinfo + glxgears
local/mesa-vdpau 20.0.5-1
    Mesa VDPAU drivers
local/vulkan-intel 20.0.5-1
    Intel's Vulkan mesa driver
local/vulkan-radeon 20.0.5-1
    Radeon's Vulkan mesa driver
[cassieb@pierogiheaven ~]$ pacman -Qs libgl
local/glib2 2.64.2-1
    Low level core library
local/lib32-glib2 2.64.2-1
    Low level core library (32-bit)
local/lib32-libglvnd 1.3.1-1
    The GL Vendor-Neutral Dispatch library
local/lib32-mesa 20.0.5-1
    An open-source implementation of the OpenGL specification (32-bit)
local/libglvnd 1.3.1-1
    The GL Vendor-Neutral Dispatch library
local/mesa 20.0.5-1
    An open-source implementation of the OpenGL specification

Also finally my glxinfo -B results:

[cassieb@pierogiheaven ~]$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.6.7-1-MANJARO, LLVM 10.0.0) (0x67df)
    Version: 20.0.5
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 7425 MB, largest block: 7425 MB
    VBO free aux. memory - total: 8095 MB, largest block: 8095 MB
    Texture free memory - total: 7425 MB, largest block: 7425 MB
    Texture free aux. memory - total: 8095 MB, largest block: 8095 MB
    Renderbuffer free memory - total: 7425 MB, largest block: 7425 MB
    Renderbuffer free aux. memory - total: 8095 MB, largest block: 8095 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 16384 MB
    Currently available dedicated video memory: 7425 MB
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.6.7-1-MANJARO, LLVM 10.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Not sure how best to proceed. Thank you for any advice. Pretty new with Manjaro/arch based linux!

Oh, and I'm using KDE/Plasma.

1 Like

Hello and welcome to Manjaro!

A good way to provide relevant information for forum members and for debugging can be found here.

This might be a problem of Firefox itself. You may want to try firefox-developer-edition from the repo or firefox ESR from the AUR and check whether they have the same issue.

Thanks, here are some more readouts:

'''
System: Kernel: 5.6.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.6-x86_64 root=UUID=160a50a1-8d0a-4f19-841c-c703451cb3f2 rw quiet apparmor=1
security=apparmor resume=UUID=5faf4626-637e-469e-985f-d73363907162 udev.log_priority=3
Desktop: KDE Plasma 5.18.4 tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux
Machine: Type: Desktop System: Micro-Star product: MS-7A38 v: 4.0 serial:
Mobo: Micro-Star model: B450M PRO-VDH (MS-7A38) v: 4.0 serial: UEFI: American Megatrends v: M.C0
date: 12/03/2019
Battery: Device-1: hidpp_battery_0 model: Logitech Performance MX serial: charge: 10% (should be ignored)
rechargeable: yes status: Discharging
CPU: Topology: 6-Core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 71 (113)
stepping: N/A microcode: 8701013 L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 91244
Speed: 3437 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 1: 2342 2: 4125 3: 2145 4: 4264 5: 3893
6: 3163 7: 2144 8: 4337 9: 2331 10: 4076 11: 4163 12: 2845
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: conditional, RSB filling
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 29:00.0 chip ID: 1002:67df
Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting alternate: fbdev,vesa
compositor: kwin_x11 resolution: 2560x1080~60Hz, 2560x1080~60Hz
OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.36.0 5.6.7-1-MANJARO LLVM 10.0.0) v: 4.6 Mesa 20.0.5
direct render: Yes
Audio: Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Sapphire Limited driver: snd_hda_intel
v: kernel bus ID: 29:00.1 chip ID: 1002:aaf0
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel
v: kernel bus ID: 2b:00.4 chip ID: 1022:1487
Sound Server: ALSA v: k5.6.7-1-MANJARO
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI driver: r8169 v: kernel
port: e000 bus ID: 25:00.0 chip ID: 10ec:8168
IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: TP-Link TL WN823N RTL8192EU type: USB driver: rtl8xxxu bus ID: 3-1:2 chip ID: 2357:0109 serial:
IF: wlp43s0f3u1 state: down mac:
Drives: Local Storage: total: 10.23 TiB used: 2.38 TiB (23.3%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 EVO 250GB size: 232.89 GiB block size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: rev: 2B7QCXE7 scheme: GPT
ID-2: /dev/sda vendor: HGST (Hitachi) model: HMS5C4040ALE640 size: 3.64 TiB block size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s rotation: 5700 rpm serial: rev: A3W0 scheme: GPT
ID-3: /dev/sdb vendor: Seagate model: ST2000DM006-2DM164 size: 1.82 TiB block size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s rotation: 7200 rpm serial: rev: CC26 scheme: GPT
ID-4: /dev/sdc vendor: Western Digital model: WD10EZRZ-00HTKB0 size: 931.51 GiB block size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: rev: 1A01 scheme: MBR
ID-5: /dev/sdd vendor: HGST (Hitachi) model: HMS5C4040ALE640 size: 3.64 TiB block size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s rotation: 5700 rpm serial: rev: A3W0 scheme: GPT
Partition: ID-1: / raw size: 223.79 GiB size: 219.28 GiB (97.98%) used: 153.71 GiB (70.1%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: swap-1 size: 8.80 GiB used: 14.5 MiB (0.2%) fs: swap swappiness: 60 (default) cache pressure: 100 (default)
dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 64.6 C mobo: 41.0 C gpu: amdgpu temp: 50 C
Fan Speeds (RPM): fan-1: 0 fan-2: 2463 fan-3: 1324 fan-4: 889 fan-5: 0 gpu: amdgpu fan: 952
Voltages: 12v: N/A 5v: N/A 3.3v: 3.36 vbat: 3.20
Info: Processes: 318 Uptime: 2d 2h 07m Memory: 23.50 GiB used: 4.33 GiB (18.4%) Init: systemd v: 244 Compilers:
gcc: 9.3.0 Shell: bash v: 5.0.16 running in: konsole inxi: 3.0.37
'''

Using dmesg, I do notice a few segfault errors such as this:

'''[179249.975412] kscreenlocker_g[36553]: segfault at 20 ip 00007fe2ff0b4260 sp 00007fff346b5758 error 4 in libQt5Qml.so.5.14.2[7fe2feec5000+306000]'''

Did you try another FF install as mentioned above? The firefox-developer-edition could be installed very easily.

I did, but the problem still occurs. New messages now, though:

'''
(firefoxdeveloperedition:27321): GLib-GIO-WARNING **: 21:55:17.035: /etc/xdg/kde-mimeapps.list contains a [Added Associations] group, but it is not permitted here. Only the non-desktop-specific mimeapps.list file may add or remove associations.
[Child 27400, MediaDecoderStateMachine #3] WARNING: Decoder=7f2e8b7d7800 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - void mozilla::gmp::ChromiumCDMParent::Shutdown(): ChromiumCDMParent is shutdown: file /build/firefox-developer-edition/src/firefox-76.0/dom/media/MediaDecoderStateMachine.cpp, line 3367
[Child 27400, MediaDecoderStateMachine #3] WARNING: Decoder=7f2e8b7d7800 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - void mozilla::gmp::ChromiumCDMParent::Shutdown(): ChromiumCDMParent is shutdown: file /build/firefox-developer-edition/src/firefox-76.0/dom/media/MediaDecoderStateMachine.cpp, line 3367
[Child 27400, MediaDecoderStateMachine #3] WARNING: Decoder=7f2e8b7d7800 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - void mozilla::gmp::ChromiumCDMParent::Shutdown(): ChromiumCDMParent is shutdown: file /build/firefox-developer-edition/src/firefox-76.0/dom/media/MediaDecoderStateMachine.cpp, line 3367
[Child 27400, MediaDecoderStateMachine #3] WARNING: Decoder=7f2e8b7d7800 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - void mozilla::gmp::ChromiumCDMParent::Shutdown(): ChromiumCDMParent is shutdown: file /build/firefox-developer-edition/src/firefox-76.0/dom/media/MediaDecoderStateMachine.cpp, line 3367
[Child 27400, MediaDecoderStateMachine #3] WARNING: Decoder=7f2e8b7d7800 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - void mozilla::gmp::ChromiumCDMParent::Shutdown(): ChromiumCDMParent is shutdown: file /build/firefox-developer-edition/src/firefox-76.0/dom/media/MediaDecoderStateMachine.cpp, line 3367
'''

Although this may be an issue with Firefox, I find it weird that its occuring only after switching to Manjaro, and that neither the normal Firefox or Firefox-Developer avoids the issue

Could you try this and reboot?

EDIT: You may want to check whether you are on Wayland or not. On your login-screen it should say something about Desktop Session: Choose the non-Wayland option.

If that works we may try to enable Wayland for your Firefox.

"Could you try this and reboot?"

Hmm, well, since this thread led me to switch to firefox-developer-edition, it's unclear to me how to actually do this, as I'm unsure which mimeapps you mean here? The command as written doesn't work, and I have two mimeapp lists apparently.

[me@pierogi ~]$ sudo mv ~/.config.mimeapps.list ~/.config/mimeapps.old
[sudo] password for me:
mv: cannot stat '/home/me/.config.mimeapps.list': No such file or directory
me@pierogi ~]$ locate mimeapps
/etc/xdg/kde-mimeapps.list
/var/lib/snapd/snap/core/9066/usr/share/applications/mimeapps.list
[me@pierogi ~]$ locate mimeapps.list
/etc/xdg/kde-mimeapps.list
/var/lib/snapd/snap/core/9066/usr/share/applications/mimeapps.list
[mepierogi ~]$

I'm guessing you're refering to the kde-mimeapps list thing, so I'll try that...?

"EDIT: You may want to check whether you are on Wayland or not. On your login-screen it should say something about Desktop Session: Choose the non-Wayland option."

My login screen doesn't say anything about Wayland one way or another. Is there another way to check?

I went ahead and removed Snapd (I was only trying out Plex from it, which didn't work), so that mimelist is now gone.

Here is what is inside kde-mimeapps.list:

"  GNU nano 4.9.2                                                           /etc/xdg/kde-mimeapps.list                                                                      
[Added Associations]
application/pdf=okular.desktop;
application/x-bittorrent=qBittorrent.desktop;
application/x-zerosize=org.kde.kate.desktop;
application/zip=org.kde.ark.desktop;
text/html=firefox.desktop;org.kde.falkon.desktop;
text/plain=org.kde.kate.desktop;
inode/directory=org.kde.dolphin.desktop;
application/x-shellscript=org.kde.kate.desktop;

[Default Applications]
application/pdf=okular.desktop;
application/x-bittorrent=qBittorrent.desktop;
application/x-zerosize=org.kde.kate.desktop;
application/zip=org.kde.ark.desktop;
text/html=firefox.desktop;org.kde.falkon.desktop;
text/plain=org.kde.kate.desktop;

Edit: I also followed Manjaro documentation on kde plasma, and ran "systemctl enable sddm.service --force" and rebooted. The login screen looks exactly the same as before, so I assume I wasn't on Wayland before?

Further Edit: I am now currently using Chromium, which is not running into this issue. However, I still would rather use firefox :stuck_out_tongue:

...dont use 'sudo' when its not needed .. especially in your home folder...

(also you had a typo - period where it should be slash)

"(also you had a typo - period where it should be slash)"

What?


:warning:
This action does not require sudo so you shouldnt use it.
:warning:
Do not use sudo in ~ or your home (/home/username/) as this will break permissions.


This file should not exist. Because it is written incorrectly. It should probably be
~/.config/mimeapps.list

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by