crash of DE during Ring call
Affects: Ring GNU/Linux GNOME client (since 20180625 ?)
Original messages: Ring-dev, Mastodon
It was reported by several users from ring-dev and Mastodon that making a video call leads the desktop environment (KDE and GNOME) to crash (possibly because of an X11 issue).
It was supposed that the bug is coming from xorg-nouveau, but some Radeon users seem to be also affected by this bug.
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Developer
In a user's syslog (link):
Jul 15 10:12:02 jason-Inspiron-530 dring: [call:6777831397850746961] INVITE@0x561a8910c988 state changed to 5 (CONFIRMED): unwaited event type 3 Jul 15 10:12:03 jason-Inspiron-530 pulseaudio[1858]: [alsa-source-USB Audio] module-echo-cancel.c: Playback too far ahead (10687), drop source 1364 Jul 15 10:12:03 jason-Inspiron-530 dring: [call:6777831397850746961] startAllMedia() Jul 15 10:12:03 jason-Inspiron-530 dring: Could not find codec H264 Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: [libvpx @ 0x561a89014600] v1.6.1 Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: [libopus @ 0x7fa37c004200] No bit rate set. Defaulting to 96000 bps. Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: Output #0, rtp, to 'rtp://192.168.1.8:50052': Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: Metadata: Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: encoder : Lavf58.17.100 Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: Output #0, rtp, to 'rtp://192.168.1.8:25622': Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: Metadata: Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: encoder : Lavf58.17.100 Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: Stream #0:0: Video: vp8 (libvpx), yuv420p, 800x600, q=-1--1, 1000 kb/s, 30 fps, 90k tbn Jul 15 10:12:03 jason-Inspiron-530 cx.ring.Ring[918]: Stream #0:0: Audio: opus (libopus), 48000 Hz, stereo, s16, 96 kb/s Jul 15 10:12:03 jason-Inspiron-530 dring: Not using hardware accelerated decoding Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: [mjpeg @ 0x7fa39400f980] unable to decode APP fields: Invalid data found when processing input Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva info: VA-API version 0.39.4 Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva info: va_getDriverName() returns 0 Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/gallium_drv_video.so Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva info: va_openDriver() returns -1 Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: [AVHWDeviceContext @ 0x7fa39400bac0] Failed to initialise VAAPI connection: -1 (unknown libva error). Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva info: VA-API version 0.39.4 Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva info: va_getDriverName() returns 1 Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva error: va_getDriverName() failed with operation failed,driver_name=gallium Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: [AVHWDeviceContext @ 0x7fa394011980] Failed to initialise VAAPI connection: 1 (operation failed). Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: libva info: VA-API version 0.39.4 Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" Jul 15 10:12:04 jason-Inspiron-530 cx.ring.Ring[918]: after 11 requests (11 known processed) with 0 events remaining. Jul 15 10:12:04 jason-Inspiron-530 kernel: [ 2243.569477] dring[2907]: segfault at 9 ip 00007fa3d851e248 sp 00007fa38fffbe20 error 4 in libc-2.24.so[7fa3d84a7000+195000] Jul 15 10:12:04 jason-Inspiron-530 org.a11y.atspi.Registry[957]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" Jul 15 10:12:04 jason-Inspiron-530 org.a11y.atspi.Registry[957]: after 1073 requests (1073 known processed) with 0 events remaining. Jul 15 10:12:04 jason-Inspiron-530 org.a11y.atspi.Registry[1708]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" Jul 15 10:12:04 jason-Inspiron-530 org.a11y.atspi.Registry[1708]: after 1081 requests (1081 known processed) with 0 events remaining.
Notice
[AVHWDeviceContext @ 0x7fa39400bac0] Failed to initialise VAAPI connection: -1 (unknown libva error)
. Looks like a bug on libva's side. - Developer
Have you installed the mesa vaapi drivers? Could you paste the Ring AVLOGLEVEL=40? What is the output of vainfo?
- Author Developer
sudo apt-get install mesa-va-drivers
on Debian 9 - Author Developer
Let me know if you need more info.
mesa-va-drivers is already the newest version (13.0.6-1+b2). mesa-va-drivers set to manually installed.
libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) vaInitialize failed with error code -1 (unknown libva error),exit
forwarded from Mastodon
- Author Developer
OK, looks like mesa-va-drivers is installed.
Seeing your lsmod grep, I can't see the mesa-va-driver loaded, could you post a full lsmod ? Otherwise, the output with
grep mesa
,grep r600
andgrep drv
? If the driver isn't loaded it is normal that libvava_getDriverName()
fails.Also, can you take a look at your
/var/log/kern.log
? If the driver is failing to load or something like that, you should be able to get some info from there.Thanks !
- Author Developer
https://mstdn.io/@hle/100425312746947561 The issue ended up coming from a broken libva/mesa installation. Closing.
- Hugo Lefeuvre closed
closed
- Mohamed Chibani mentioned in issue #436 (closed)
mentioned in issue #436 (closed)
- Olivier Dion mentioned in commit 5b671409
mentioned in commit 5b671409
- Ezra Pierce mentioned in issue #771 (closed)
mentioned in issue #771 (closed)