video streaming from webcam segfaults on slackware64 current 6.9.X kernel
by slack-uke from LinuxQuestions.org on (#6N6WD)
I have used vlc and/or mplayer in slackware64 current to monitor a webcam streaming over a LAN.
Since upgrading to Kernel 6.9.X I have been encountering segfaults from vlc and xine. Prior to that everything was running perfectly fine.
Hardware wise I am running is as follows:
Code:System:
Kernel: 6.9.3 arch: x86_64 bits: 64
Console: pty pts/68 Distro: Slackware 15.0
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME B450M-A v: Rev X.0x
serial: <filter> BIOS: American Megatrends v: 3802 date: 04/28/2022
Memory:
System RAM: total: 32 GiB available: 29.28 GiB used: 17.18 GiB (58.7%)
Array-1: capacity: 128 GiB slots: 4 modules: 4 EC: None
Device-1: DIMM_A1 type: DDR4 size: 8 GiB speed: 2133 MT/s
Device-2: DIMM_A2 type: DDR4 size: 8 GiB speed: 2133 MT/s
Device-3: DIMM_B1 type: DDR4 size: 8 GiB speed: 2133 MT/s
Device-4: DIMM_B2 type: DDR4 size: 8 GiB speed: 2133 MT/s
CPU:
Info: quad core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64
type: MT MCP cache: L2: 2 MiB
Speed (MHz): avg: 1512 min/max: 1400/3700 cores: 1: 1400 2: 1400 3: 1400
4: 1400 5: 1400 6: 1400 7: 2300 8: 1400
Graphics:
Device-1: Conexant Systems CX23885 PCI Video and Audio Decoder
driver: cx23885 v: 0.0.4
Device-2: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Display: server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0 driver: X:
loaded: amdgpu unloaded: modesetting,vesa dri: swrast gpu: amdgpu
resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: radeonsi,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 24.1.0 renderer: llvmpipe (LLVM 18.1.6
256 bits)
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlibFunny aspect is that the machine that hosts the webcam also runs slackware64 current, same up-to-date rev level runs vlc, mplayer, and xine with no issues.
That hardware is as follows:
Code:System:
Kernel: 6.9.3 arch: x86_64 bits: 64
Console: pty pts/157 Distro: Slackware 15.0
Machine:
Type: Desktop Mobo: ASUSTeK model: P5Q v: Rev 1.xx serial: <filter>
BIOS: American Megatrends v: 0506 date: 05/26/2008
Memory:
System RAM: total: 8 GiB available: 7.75 GiB used: 5.48 GiB (70.7%)
Array-1: capacity: 8 GiB note: est. slots: 4 modules: 4 EC: 64-bit ECC
Device-1: DIMM0 type: DDR size: 2 GiB speed: 800 MT/s
Device-2: DIMM1 type: DDR size: 2 GiB speed: 800 MT/s
Device-3: DIMM2 type: DDR size: 2 GiB speed: 800 MT/s
Device-4: DIMM3 type: DDR size: 2 GiB speed: 800 MT/s
CPU:
Info: dual core model: Intel Core2 Duo E8400 bits: 64 type: MCP cache:
L2: 6 MiB
Speed (MHz): avg: 3000 min/max: 2000/3000 cores: 1: 3000 2: 3000
Graphics:
Device-1: AMD Juniper PRO [Radeon HD 5750] driver: radeon v: kernel
Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
type: USB
Display: server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0 driver: X:
loaded: radeon unloaded: modesetting,vesa dri: swrast gpu: radeon
resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: r600,swrast platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 24.1.0 renderer: llvmpipe (LLVM 18.1.6
128 bits)
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlibThe messaging in /var/log/messages for vlc segfault is as follows:
Code:May 29 07:59:32 kyiv kernel: vlc[8823]: segfault at 0 ip 00007f9cdf225ad6 sp 00007f9d223fda90 error 6 in libvdpau_radeonsi.so.1.0.0[7f9cdee5e000+7eb000] likely on CPU 7 (core 3, socket 0)
May 29 07:59:32 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24
May 29 08:05:01 kyiv kernel: vlc[8999]: segfault at 0 ip 00007ff238c25ad6 sp 00007ff272dfda90 error 6 in libvdpau_radeonsi.so.1.0.0[7ff23885e000+7eb000] likely on CPU 7 (core 3, socket 0)
May 29 08:05:01 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24
May 30 09:33:56 kyiv kernel: vlc[17729]: segfault at 0 ip 00007fecb3225ad6 sp 00007fecf63fda90 error 6 in libvdpau_radeonsi.so.1.0.0[7fecb2e5e000+7eb000] likely on CPU 5 (core 1, socket 0)
May 30 09:33:56 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24
May 31 10:36:51 kyiv kernel: vlc[11721]: segfault at 0 ip 00007f0c34c25ad6 sp 00007f0c6edfda90 error 6 in libvdpau_radeonsi.so.1.0.0[7f0c3485e000+7eb000] likely on CPU 3 (core 3, socket 0)
May 31 10:36:51 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24The messaging in /var/log/messages for xine segfault is as follows:
Code:May 31 11:06:14 kyiv kernel: xine[13122]: segfault at 0 ip 00007fd019825ad6 sp 00007ffd229254e0 error 6 in libvdpau_radeonsi.so.1.0.0[7fd01945e000+7eb000] likely on CPU 7 (core 3, socket 0)
May 31 11:06:14 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24There are no issues from slackware64 15.0 machines in the household using mplayer and/or vlc to monitor the webcam with no issues.
My suspicions there is something about the Ryzen 5 video driver in the 6.9.X kernel and how it interacts with the libvdpau.
I have used google to search if there are similar segfaults with no success so far.
Anybody else encounter anything similar?
The fallback position is to return to 6.6.30 kernel.
Since upgrading to Kernel 6.9.X I have been encountering segfaults from vlc and xine. Prior to that everything was running perfectly fine.
Hardware wise I am running is as follows:
Code:System:
Kernel: 6.9.3 arch: x86_64 bits: 64
Console: pty pts/68 Distro: Slackware 15.0
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME B450M-A v: Rev X.0x
serial: <filter> BIOS: American Megatrends v: 3802 date: 04/28/2022
Memory:
System RAM: total: 32 GiB available: 29.28 GiB used: 17.18 GiB (58.7%)
Array-1: capacity: 128 GiB slots: 4 modules: 4 EC: None
Device-1: DIMM_A1 type: DDR4 size: 8 GiB speed: 2133 MT/s
Device-2: DIMM_A2 type: DDR4 size: 8 GiB speed: 2133 MT/s
Device-3: DIMM_B1 type: DDR4 size: 8 GiB speed: 2133 MT/s
Device-4: DIMM_B2 type: DDR4 size: 8 GiB speed: 2133 MT/s
CPU:
Info: quad core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64
type: MT MCP cache: L2: 2 MiB
Speed (MHz): avg: 1512 min/max: 1400/3700 cores: 1: 1400 2: 1400 3: 1400
4: 1400 5: 1400 6: 1400 7: 2300 8: 1400
Graphics:
Device-1: Conexant Systems CX23885 PCI Video and Audio Decoder
driver: cx23885 v: 0.0.4
Device-2: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Display: server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0 driver: X:
loaded: amdgpu unloaded: modesetting,vesa dri: swrast gpu: amdgpu
resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: radeonsi,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 24.1.0 renderer: llvmpipe (LLVM 18.1.6
256 bits)
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlibFunny aspect is that the machine that hosts the webcam also runs slackware64 current, same up-to-date rev level runs vlc, mplayer, and xine with no issues.
That hardware is as follows:
Code:System:
Kernel: 6.9.3 arch: x86_64 bits: 64
Console: pty pts/157 Distro: Slackware 15.0
Machine:
Type: Desktop Mobo: ASUSTeK model: P5Q v: Rev 1.xx serial: <filter>
BIOS: American Megatrends v: 0506 date: 05/26/2008
Memory:
System RAM: total: 8 GiB available: 7.75 GiB used: 5.48 GiB (70.7%)
Array-1: capacity: 8 GiB note: est. slots: 4 modules: 4 EC: 64-bit ECC
Device-1: DIMM0 type: DDR size: 2 GiB speed: 800 MT/s
Device-2: DIMM1 type: DDR size: 2 GiB speed: 800 MT/s
Device-3: DIMM2 type: DDR size: 2 GiB speed: 800 MT/s
Device-4: DIMM3 type: DDR size: 2 GiB speed: 800 MT/s
CPU:
Info: dual core model: Intel Core2 Duo E8400 bits: 64 type: MCP cache:
L2: 6 MiB
Speed (MHz): avg: 3000 min/max: 2000/3000 cores: 1: 3000 2: 3000
Graphics:
Device-1: AMD Juniper PRO [Radeon HD 5750] driver: radeon v: kernel
Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
type: USB
Display: server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0 driver: X:
loaded: radeon unloaded: modesetting,vesa dri: swrast gpu: radeon
resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: r600,swrast platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: mesa v: 24.1.0 renderer: llvmpipe (LLVM 18.1.6
128 bits)
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlibThe messaging in /var/log/messages for vlc segfault is as follows:
Code:May 29 07:59:32 kyiv kernel: vlc[8823]: segfault at 0 ip 00007f9cdf225ad6 sp 00007f9d223fda90 error 6 in libvdpau_radeonsi.so.1.0.0[7f9cdee5e000+7eb000] likely on CPU 7 (core 3, socket 0)
May 29 07:59:32 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24
May 29 08:05:01 kyiv kernel: vlc[8999]: segfault at 0 ip 00007ff238c25ad6 sp 00007ff272dfda90 error 6 in libvdpau_radeonsi.so.1.0.0[7ff23885e000+7eb000] likely on CPU 7 (core 3, socket 0)
May 29 08:05:01 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24
May 30 09:33:56 kyiv kernel: vlc[17729]: segfault at 0 ip 00007fecb3225ad6 sp 00007fecf63fda90 error 6 in libvdpau_radeonsi.so.1.0.0[7fecb2e5e000+7eb000] likely on CPU 5 (core 1, socket 0)
May 30 09:33:56 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24
May 31 10:36:51 kyiv kernel: vlc[11721]: segfault at 0 ip 00007f0c34c25ad6 sp 00007f0c6edfda90 error 6 in libvdpau_radeonsi.so.1.0.0[7f0c3485e000+7eb000] likely on CPU 3 (core 3, socket 0)
May 31 10:36:51 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24The messaging in /var/log/messages for xine segfault is as follows:
Code:May 31 11:06:14 kyiv kernel: xine[13122]: segfault at 0 ip 00007fd019825ad6 sp 00007ffd229254e0 error 6 in libvdpau_radeonsi.so.1.0.0[7fd01945e000+7eb000] likely on CPU 7 (core 3, socket 0)
May 31 11:06:14 kyiv kernel: Code: 18 89 43 50 e8 ab f5 f8 ff 89 43 40 85 c0 74 23 0f 1f 40 00 48 8b 43 48 48 8b 7c 24 18 4e 8d 3c f0 49 83 c6 01 e8 2a c8 d3 ff <49> 89 07 44 3b 73 40 72 e1 8b 44 24 20 45 31 f6 8d 50 01 89 54 24There are no issues from slackware64 15.0 machines in the household using mplayer and/or vlc to monitor the webcam with no issues.
My suspicions there is something about the Ryzen 5 video driver in the 6.9.X kernel and how it interacts with the libvdpau.
I have used google to search if there are similar segfaults with no success so far.
Anybody else encounter anything similar?
The fallback position is to return to 6.6.30 kernel.