[Wayland] Crash in [@ @0x0 | __driDriverGetExtensions_zink ] with WebGL enabled on amdgpu
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | disabled |
People
(Reporter: glite60, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
Launch firefox with WebGL or VAAPI enabled
Actual results:
Relevant crash report https://crash-stats.mozilla.org/report/index/13c6a228-01cd-42d4-ab92-375520200421
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
Crash is happening on latest nightly too.
Reporter | ||
Comment 3•4 years ago
|
||
vainfo for this GPU
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 20.0.4 for AMD Radeon (TM) R7 M350 (OLAND, DRM 3.35.0, 5.4.0-24-generic, LLVM 9.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Reporter | ||
Comment 4•4 years ago
|
||
On Nightly this crash is different (this is from Ubuntu crash report):
#0 raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0, 11519011428399169280, 140727294584112, 94807477433798, 0, 0, 11519011428399169280, 140320712168432, 140320819769288, 140320818036647, 140320773692212, 140320772688208, 1, 18446744067266838271, 140727294585808, 94807477359859}}
pid = <optimized out>
tid = <optimized out>
#1 0x00007f9ef6340c9f in () at /usr/lib/firefox-trunk/libxul.so
#2 0x00007f9ef6c888b0 in () at /usr/lib/firefox-trunk/libxul.so
#3 0x00007f9efcd463c0 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#4 0x0000000000000000 in ()
#5 0x00007f9ee7a871df in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#6 0x00007f9ee7a8728c in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#7 0x00007f9ee1465fb0 in () at /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#8 0x00007f9ee1466018 in () at /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#9 0x00007f9ee7a88693 in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#10 0x00007f9ee7a8a7d4 in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#11 0x00007f9ee7a968fc in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#12 0x00007f9ee7a96bb9 in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#13 0x00007f9ee7a8a101 in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#14 0x00007f9ee7face1a in () at /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#15 0x00007f9ee145f65e in () at /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#16 0x00007f9ee144e3bd in () at /lib/x86_64-linux-gnu/libEGL_mesa.so.0
#17 0x00007f9ee1489e06 in () at /lib/x86_64-linux-gnu/libEGL.so
#18 0x00007f9ef37ecb44 in () at /usr/lib/firefox-trunk/libxul.so
#19 0x00007f9ef37ec67c in () at /usr/lib/firefox-trunk/libxul.so
#20 0x00007f9ef3a459ab in () at /usr/lib/firefox-trunk/libxul.so
#21 0x00007f9ef3a45937 in () at /usr/lib/firefox-trunk/libxul.so
#22 0x00007f9ef3a5a67c in () at /usr/lib/firefox-trunk/libxul.so
#23 0x00007f9ef3a4e002 in () at /usr/lib/firefox-trunk/libxul.so
#24 0x00007f9ef3a58db0 in () at /usr/lib/firefox-trunk/libxul.so
#25 0x00007f9ef30d804b in () at /usr/lib/firefox-trunk/libxul.so
#26 0x00007f9ef30d8691 in () at /usr/lib/firefox-trunk/libxul.so
#27 0x00007f9ef30d7656 in () at /usr/lib/firefox-trunk/libxul.so
#28 0x00007f9ef30e04e1 in () at /usr/lib/firefox-trunk/libxul.so
#29 0x00007f9ef30dd6ca in () at /usr/lib/firefox-trunk/libxul.so
#30 0x00007f9efcd3a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140320395802368, 4248092113081220138, 140727294578190, 140727294578191, 140727294578320, 140320395800448, -4194672088883643350, -4194618289764549590}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#31 0x00007f9efc910103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
StacktraceAddressSignature: /usr/lib/firefox-trunk/firefox-trunk:11:/usr/lib/firefox-trunk/libxul.so+3874c9f:/usr/lib/firefox-trunk/libxul.so+41bc8b0:/usr/lib/x86_64-linux-gnu/libpthread-2.31.so+e3c0:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+141df:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+1428c:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0+1afb0:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0+1b018:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+15693:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+177d4:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+238fc:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+23bb9:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+17101:/usr/lib/x86_64-linux-gnu/dri/iris_dri.so+539e1a:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0+1465e:/usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0+33bd
For some reason it tries to load Iris driver. For reference GPU is AMD FirePro W4190M.
Comment 5•4 years ago
|
||
Can you please try to create a mozilla crashreporter report?
Reporter | ||
Comment 6•4 years ago
|
||
Reporter | ||
Comment 7•4 years ago
|
||
How I can do that? Because when I start nightly with discrete GPU eg DRI_PRIME=1 it crashes with segfault and crash reporter is not shown.
However I see some logs with WAYLAND_DEBUG=1 and what is strange with that it tries to use /dev/dri/card0 which is the Intel GPU. I attached them.
Updated•4 years ago
|
Reporter | ||
Comment 8•4 years ago
|
||
I did another small test with MOZ_WAYLAND_DRM_DEVICE=/dev/dri/card1 from https://bugzilla.mozilla.org/show_bug.cgi?id=1622132
It has this:
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
And starts normally like on Intel GPU. Still about:support shows that's it running with AMD GPU.
Reporter | ||
Comment 9•4 years ago
|
||
Reporter | ||
Comment 10•4 years ago
|
||
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Comment 12•4 years ago
|
||
Closing because no crashes reported for 12 weeks.
Description
•