Bug 32583 - Internal webcam not detected with kernel-6.5.11
Summary: Internal webcam not detected with kernel-6.5.11
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-29 23:58 CET by christian barranco
Modified: 2024-08-16 18:01 CEST (History)
3 users (show)

See Also:
Source RPM: kernel-6.5.11-5.mga9.src.rpm
CVE:
Status comment:


Attachments

Description christian barranco 2023-11-29 23:58:38 CET
Description of problem:
No internal webcam detection after update to kernel 6.5.11

Version-Release number of selected component (if applicable):
kernel-6.5.11-5.mga9.src.rpm

How reproducible:
always

Steps to Reproduce:
1. Update to kernel 6.5.11
2. Reboot
3. Try to do a video conference, for instance



Before kernel update:
System:
  Kernel: 6.4.9-desktop-4.mga9 arch: x86_64 bits: 64 compiler: gcc v: 12.3.0
    parameters: BOOT_IMAGE=/vmlinuz-6.4.9-desktop-4.mga9 root=/dev/mapper/vg--mga-lv_root ro splash
    quiet noiswmd resume=UUID=bef82031-a0f0-4fb4-8f87-2189e51a8675 audit=0 vga=791
  Console: N/A DM: SDDM Distro: Mageia 9
Machine:
  Type: Laptop System: Micro-Star product: Modern 15 B7M v: REV:1.0 serial: <filter> Chassis:
    type: 10 serial: <filter>
  Mobo: Micro-Star model: MS-15HK v: REV:1.0 serial: <filter> UEFI: American Megatrends LLC.
    v: E15HKAMS.307 date: 05/16/2023
Graphics:
  Device-1: AMD Barcelo vendor: Micro-Star MSI driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:15e7 class-ID: 0300 temp: 39.0 C
  Device-2: Bison HD Webcam type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 5986:211b
    class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: amdgpu,v4l dri: radeonsi gpu: amdgpu tty: 80x40


After update:

Graphics:
  Device-1 AMD Barcelo driver amdgpu v kernel
  Display x11 server X.org v 1.21.1.8 with Xwayland v 22.1.9 driver X loaded amdgpu,v4l dri: radeonsi gpu: amdgpu tty: 80x40 resolution 1920x1080
  API OpenGL Messag GL data unavailable in console for root.
Comment 1 katnatek 2023-11-30 00:44:02 CET
(In reply to christian barranco from comment #0)
> Description of problem:
> No internal webcam detection after update to kernel 6.5.11
> 
> Version-Release number of selected component (if applicable):
> kernel-6.5.11-5.mga9.src.rpm
> 
> How reproducible:
> always
> 
> Steps to Reproduce:
> 1. Update to kernel 6.5.11
> 2. Reboot
> 3. Try to do a video conference, for instance
> 
> 
> 
> Before kernel update:
> System:
>   Kernel: 6.4.9-desktop-4.mga9 arch: x86_64 bits: 64 compiler: gcc v: 12.3.0
>     parameters: BOOT_IMAGE=/vmlinuz-6.4.9-desktop-4.mga9
> root=/dev/mapper/vg--mga-lv_root ro splash
>     quiet noiswmd resume=UUID=bef82031-a0f0-4fb4-8f87-2189e51a8675 audit=0
> vga=791
>   Console: N/A DM: SDDM Distro: Mageia 9
> Machine:
>   Type: Laptop System: Micro-Star product: Modern 15 B7M v: REV:1.0 serial:
> <filter> Chassis:
>     type: 10 serial: <filter>
>   Mobo: Micro-Star model: MS-15HK v: REV:1.0 serial: <filter> UEFI: American
> Megatrends LLC.
>     v: E15HKAMS.307 date: 05/16/2023
> Graphics:
>   Device-1: AMD Barcelo vendor: Micro-Star MSI driver: amdgpu v: kernel
> arch: GCN-5 code: Vega
>     process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
> link-max: gen: 4
>     speed: 16 GT/s ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID:
> 03:00.0
>     chip-ID: 1002:15e7 class-ID: 0300 temp: 39.0 C
>   Device-2: Bison HD Webcam type: USB driver: uvcvideo bus-ID: 1-3:2
> chip-ID: 5986:211b
>     class-ID: 0e02
>   Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9
> compositor: kwin_x11 driver: X:
>     loaded: amdgpu,v4l dri: radeonsi gpu: amdgpu tty: 80x40
> 
> 
> After update:
> 
> Graphics:
>   Device-1 AMD Barcelo driver amdgpu v kernel
>   Display x11 server X.org v 1.21.1.8 with Xwayland v 22.1.9 driver X loaded
> amdgpu,v4l dri: radeonsi gpu: amdgpu tty: 80x40 resolution 1920x1080
>   API OpenGL Messag GL data unavailable in console for root.

Did you try installing the mesa bug#32562 testing packages?
Comment 2 christian barranco 2023-11-30 08:00:56 CET
Hi katnatek. The issue is not video display but webcam detection. I will give mesa a try but I am not so optimistic. Thanks for your support though.
Comment 3 Lewis Smith 2023-11-30 12:24:42 CET
The first system info includes the device:
"Graphics:
  Device-2: Bison HD Webcam type: USB driver: uvcvideo bus-ID: 1-3:2 chip-ID: 5986:211b
    class-ID: 0e02
while the second simply does not.

Can you do 'lsusb' also? Ideally from both the previous & new kernels.

CC: (none) => lewyssmith

Comment 4 Giuseppe Ghibò 2023-11-30 22:12:24 CET
(In reply to christian barranco from comment #0)
> Description of problem:
> No internal webcam detection after update to kernel 6.5.11
> 
> Version-Release number of selected component (if applicable):
> kernel-6.5.11-5.mga9.src.rpm
> 
> How reproducible:
> always
> 
> Steps to Reproduce:
> 1. Update to kernel 6.5.11
> 2. Reboot
> 3. Try to do a video conference, for instance
> 
> 
> 
> Before kernel update:
> System:
>   Kernel: 6.4.9-desktop-4.mga9 arch: x86_64 bits: 64 compiler: gcc v: 12.3.0
>     parameters: BOOT_IMAGE=/vmlinuz-6.4.9-desktop-4.mga9
> root=/dev/mapper/vg--mga-lv_root ro splash
>     quiet noiswmd resume=UUID=bef82031-a0f0-4fb4-8f87-2189e51a8675 audit=0
> vga=791
>   Console: N/A DM: SDDM Distro: Mageia 9
> Machine:
>   Type: Laptop System: Micro-Star product: Modern 15 B7M v: REV:1.0 serial:
> <filter> Chassis:
>     type: 10 serial: <filter>
>   Mobo: Micro-Star model: MS-15HK v: REV:1.0 serial: <filter> UEFI: American
> Megatrends LLC.
>     v: E15HKAMS.307 date: 05/16/2023
> Graphics:
>   Device-1: AMD Barcelo vendor: Micro-Star MSI driver: amdgpu v: kernel
> arch: GCN-5 code: Vega
>     process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
> link-max: gen: 4
>     speed: 16 GT/s ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID:
> 03:00.0
>     chip-ID: 1002:15e7 class-ID: 0300 temp: 39.0 C
>   Device-2: Bison HD Webcam type: USB driver: uvcvideo bus-ID: 1-3:2
> chip-ID: 5986:211b
>     class-ID: 0e02
>   Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9
> compositor: kwin_x11 driver: X:
>     loaded: amdgpu,v4l dri: radeonsi gpu: amdgpu tty: 80x40
> 
> 
> After update:
> 
> Graphics:
>   Device-1 AMD Barcelo driver amdgpu v kernel
>   Display x11 server X.org v 1.21.1.8 with Xwayland v 22.1.9 driver X loaded
> amdgpu,v4l dri: radeonsi gpu: amdgpu tty: 80x40 resolution 1920x1080
>   API OpenGL Messag GL data unavailable in console for root.

Previous 6.4.16-5.mga9 works?

What is the output of v4l2-ctl --list-devices --verbose in both cases?

kernel-linus-6.5.11-2.mga9 shows the same prob?

kernel-6.5.13-1.mga9 (from backports testing) has the same probs?

CC: (none) => ghibomgx

Comment 5 christian barranco 2023-11-30 23:47:23 CET
Hi. For the time being, I only have a remote access to this machine. I will try the commands you asked for, but I am not able to downgrade the kernel.

6.4.9 was working. I upgraded directly to 6.5.11-5; so, I don't know about 6.4.16 behavior.
Comment 6 Giuseppe Ghibò 2023-11-30 23:53:35 CET
(In reply to christian barranco from comment #5)

> Hi. For the time being, I only have a remote access to this machine. I will
> try the commands you asked for, but I am not able to downgrade the kernel.
> 
> 6.4.9 was working. I upgraded directly to 6.5.11-5; so, I don't know about
> 6.4.16 behavior.

ok, downgrading with newer naming scheme more difficult. 6.5.13-1.mga9 in backports follows old naming scheme (you might install with urpmi --no-recommends, just install kernel-desktop-6.5.13-1...mga9, and kernel.desktop-devel-6.5.13-1... if needed dkms building modules), no need to upgrade cpupower etc. to that's same level, etc.;, that would install beside 6.5.11 official without interfering.
Comment 7 Morgan Leijström 2023-12-01 00:39:19 CET
(In reply to Giuseppe Ghibò from comment #6)
> ok, downgrading with newer naming scheme more difficult.

Bug 32582

CC: (none) => fri

Comment 8 christian barranco 2023-12-01 06:51:24 CET
Hi.
With kernel 6.5.11-2:

$v4l2-ctl --list-devices --verbose
Cannot open device /dev/video0, exiting.


$lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0e8d:0608 MediaTek Inc. Wireless_Device
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Comment 9 Giuseppe Ghibò 2023-12-01 14:25:20 CET
(In reply to christian barranco from comment #8)

> $v4l2-ctl --list-devices --verbose
> Cannot open device /dev/video0, exiting.
> 

That's expected if you are issueing the command remotely as plain user. You should retry from root permission.
Comment 10 christian barranco 2023-12-01 21:10:09 CET
(In reply to Giuseppe Ghibò from comment #9)
> (In reply to christian barranco from comment #8)
> 
> > $v4l2-ctl --list-devices --verbose
> > Cannot open device /dev/video0, exiting.
> > 
> 
> That's expected if you are issueing the command remotely as plain user. You
> should retry from root permission.

It was run as root ;)
Comment 11 christian barranco 2023-12-04 23:55:36 CET
(In reply to katnatek from comment #1)
> 
> Did you try installing the mesa bug#32562 testing packages?

Hi katnatek

You might have had a good idea here, because, after the installation of:
```
installing lib64dri-drivers-23.1.9-1.mga9.tainted.x86_64.rpm lib64xatracker2-23.1.9-1.mga9.tainted.x86_64.rpm lib64glapi0-23.1.9-1.mga9.tainted.x86_64.rpm mesa-23.1.9-1.mga9.tainted.x86_64.rpm lib64mesagl1-23.1.9-1.mga9.tainted.x86_64.rpm lib64mesavulkan-drivers-23.1.9-1.mga9.tainted.x86_64.rpm lib64mesaegl1-23.1.9-1.mga9.tainted.x86_64.rpm lib64gbm1-23.1.9-1.mga9.tainted.x86_64.rpm
```

The webcam works again!

Any clue on how to explain this?



#lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0e8d:0608 MediaTek Inc. Wireless_Device
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 5986:211b Bison Electronics Inc. HD Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


#v4l2-ctl --list-devices --verbose
HD Webcam: HD Webcam (usb-0000:03:00.3-3):
	/dev/video0
	/dev/video1
	/dev/media0

VIDIOC_QUERYCAP: ok


#lshw
                 *-usb:0
                      description: Video
                      product: HD Webcam
                      vendor: SunplusIT Inc
                      physical id: 3
                      bus info: usb@1:3
                      version: 3.01
                      capabilities: usb-2.01
                      configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
Comment 12 katnatek 2023-12-05 03:30:19 CET
(In reply to christian barranco from comment #11)
> (In reply to katnatek from comment #1)
> > 
> > Did you try installing the mesa bug#32562 testing packages?
> 
> Hi katnatek
> 
> You might have had a good idea here, because, after the installation of:
> ```
> installing lib64dri-drivers-23.1.9-1.mga9.tainted.x86_64.rpm
> lib64xatracker2-23.1.9-1.mga9.tainted.x86_64.rpm
> lib64glapi0-23.1.9-1.mga9.tainted.x86_64.rpm
> mesa-23.1.9-1.mga9.tainted.x86_64.rpm
> lib64mesagl1-23.1.9-1.mga9.tainted.x86_64.rpm
> lib64mesavulkan-drivers-23.1.9-1.mga9.tainted.x86_64.rpm
> lib64mesaegl1-23.1.9-1.mga9.tainted.x86_64.rpm
> lib64gbm1-23.1.9-1.mga9.tainted.x86_64.rpm
> ```
> 
> The webcam works again!
> 
> Any clue on how to explain this?
> 
Well, it was more intuition and a few of luck

This message
 
"API OpenGL Messag GL data unavailable in console for root"

And the fact that the update of mesa drivers are destined for amd gpu make me suggest you that.
Comment 13 Lewis Smith 2023-12-05 21:19:54 CET
Pat on the back to katnatek! Your previous reply was spot on.
The message cited was in comment 0 after kernel update. And guessing the AMD oriented Mesa update was excellent; the essential fix.

So this problem will not happen with a fully up-to-date system.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 14 christian barranco 2024-08-16 18:01:36 CEST
in fact, there is the F6 key activating or deactivation the keyboard but there is no led or whatever indication displayed...
Not MGA related

Resolution: FIXED => INVALID


Note You need to log in before you can comment on or make changes to this bug.