[Bug 1231250] New: TW 6.11.0-1 video mgag200 driver not binding to Dell iDRAC fb
https://bugzilla.suse.com/show_bug.cgi?id=1231250 Bug ID: 1231250 Summary: TW 6.11.0-1 video mgag200 driver not binding to Dell iDRAC fb Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel:Drivers Assignee: kernel-bugs@suse.de Reporter: Douglas.Farley@dell.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Something changed from TW 6.10.11-1 to TW 6.11.0-1 with video driver mgag200 binding on Dell PowerEdge 15G and 16G Servers. What we observed on 6.11.0-1 is: [ 121.573793] [ T1617] Console: switching to colour frame buffer device 240x90 [...] mgag200 0000:04:00.0: vgaarb: deactivate vga console After which the console goes blank. What we observed on 6.10.11 is: [ 128.801042] [ T1689] Console: switching to colour frame buffer device 128x48 And nothing abnormal happens. This can be reproduced on the nightly Live Rescue ISO (openSUSE-Tumbleweed-Rescue-CD-x86_64-Snapshot20240929-Media.iso). This can be worked around with `nomodeset` on the cmdline. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 Doug Farley <Douglas.Farley@dell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |charles_rose@dell.com, | |Douglas.Farley@dell.com, | |srinivas_g_gowda@dell.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 Doug Farley <Douglas.Farley@dell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |george.kraft@dell.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com, | |tzimmermann@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(Douglas.Farley@de | |ll.com) --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- Could you give the full dmesg outputs from both working and non-working kernels? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c2 --- Comment #2 from Thomas Zimmermann <tzimmermann@suse.com> --- Hi, can you also please provide the output of 'sudo lspci -vv'? Best regards Thomas -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c3 --- Comment #3 from Doug Farley <Douglas.Farley@dell.com> --- Created attachment 877713 --> https://bugzilla.suse.com/attachment.cgi?id=877713&action=edit dmesg 6.10.11-1 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c4 --- Comment #4 from Doug Farley <Douglas.Farley@dell.com> --- Created attachment 877714 --> https://bugzilla.suse.com/attachment.cgi?id=877714&action=edit lspci 6.10.11 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c5 --- Comment #5 from Doug Farley <Douglas.Farley@dell.com> --- Created attachment 877715 --> https://bugzilla.suse.com/attachment.cgi?id=877715&action=edit dmesg 6.11.0 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c6 --- Comment #6 from Doug Farley <Douglas.Farley@dell.com> --- Created attachment 877716 --> https://bugzilla.suse.com/attachment.cgi?id=877716&action=edit lspci 6.11.0 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c7 Doug Farley <Douglas.Farley@dell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(Douglas.Farley@de | |ll.com) | --- Comment #7 from Doug Farley <Douglas.Farley@dell.com> --- Logs attached. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kernel-bugs@suse.de |tzimmermann@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c8 Thomas Zimmermann <tzimmermann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(Douglas.Farley@de | |ll.com) --- Comment #8 from Thomas Zimmermann <tzimmermann@suse.com> --- Thanks a lot. The output looks correct in both versions. There's the driver and it creates a console. So it's got to be in the driver logic. There have been several changes recently in how such output to BMCs are handled. Under /sys/class/drm/, there should be 2 directories called card1-VGA-1 and card1-Vritual-1, right? Can you please provide the output of cat /sys/class/drm/card1-VGA-1/status cat /sys/class/drm/card1-VGA-1/modes cat /sys/class/drm/card1-Virtual-1/status cat /sys/class/drm/card1-Virtual-1/modes ? Is it possible for you to run the very latest kernel v6.12-rc1 on the machine? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c9 --- Comment #9 from Doug Farley <Douglas.Farley@dell.com> --- From: 6.11.0-1-default, where the BMC VGA shows no output: ``` localhost:~ # ls /sys/class/drm/ card0 card0-VGA-1 card0-Virtual-1 version localhost:~ # cat /sys/class/drm/card0-VGA-1/status disconnected localhost:~ # cat /sys/class/drm/card0-VGA-1/modes localhost:~ # cat /sys/class/drm/card0-Virtual-1/status connected localhost:~ # cat /sys/class/drm/card0-Virtual-1/modes 1920x1440 1856x1392 1792x1344 1920x1200 1920x1200 1600x1200 1680x1050 1680x1050 1400x1050 1400x1050 1600x900 1280x1024 1440x900 1440x900 1280x960 1360x768 1280x800 1280x800 1280x768 1280x768 1024x768 800x600 800x600 848x480 640x480 localhost:~ # ``` From an older 6.10.5 that I happened to have on that system: ``` localhost:~ # uname -ra Linux localhost 6.10.5-1-default #1 SMP PREEMPT_DYNAMIC Fri Aug 16 11:15:41 UTC 2024 (30fd964) x86_64 x86_64 x86_64 GNU/Linux localhost:~ # ls /sys/class/drm/ card0/ card0-VGA-1/ localhost:~ # cat /sys/class/drm/card0-VGA-1/status connected localhost:~ # cat /sys/class/drm/card0-VGA-1/modes 1024x768 800x600 800x600 848x480 640x480 ``` I'll try to grab 6.12, will take a little longer to build it. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c10 --- Comment #10 from Thomas Zimmermann <tzimmermann@suse.com> --- Hi thanks a lot for the quick response. (In reply to Doug Farley from comment #9)
From: 6.11.0-1-default, where the BMC VGA shows no output:
``` localhost:~ # ls /sys/class/drm/ card0 card0-VGA-1 card0-Virtual-1 version localhost:~ # cat /sys/class/drm/card0-VGA-1/status disconnected localhost:~ # cat /sys/class/drm/card0-VGA-1/modes
There's no monitor attached, so this is correct.
localhost:~ # cat /sys/class/drm/card0-Virtual-1/status connected localhost:~ # cat /sys/class/drm/card0-Virtual-1/modes 1920x1440 1856x1392 1792x1344 1920x1200 1920x1200 1600x1200 1680x1050 1680x1050 1400x1050 1400x1050 1600x900 1280x1024 1440x900 1440x900 1280x960 1360x768 1280x800 1280x800 1280x768 1280x768 1024x768 800x600 800x600 848x480 640x480
Hence the BMC is marked as connected. So this output is also correct. Do you know if the BMC supports such high resolutions? I could imagine that the console picks one of the high-res modes and the BMC cannot handle it.
localhost:~ # ```
From an older 6.10.5 that I happened to have on that system:
``` localhost:~ # uname -ra Linux localhost 6.10.5-1-default #1 SMP PREEMPT_DYNAMIC Fri Aug 16 11:15:41 UTC 2024 (30fd964) x86_64 x86_64 x86_64 GNU/Linux localhost:~ # ls /sys/class/drm/ card0/ card0-VGA-1/ localhost:~ # cat /sys/class/drm/card0-VGA-1/status connected localhost:~ # cat /sys/class/drm/card0-VGA-1/modes 1024x768 800x600 800x600 848x480 640x480
This is also correct. Before 6.11, there was no virtual connector and only XGA was supported by default.
```
I'll try to grab 6.12, will take a little longer to build it.
Great. v6.12 will again do away with the virtual connector for the BMC and handle it internally in the VGA. But it will be implemented differently and provide more resolutions. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 Charles Rose <charles_rose@dell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stuart_hayes@dell.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c11 --- Comment #11 from stuart hayes <stuart_hayes@dell.com> --- It looks like this is fixed with the patchset (described here: https://patchwork.freedesktop.org/series/136885/) that includes these patches: 219b45d023ed drm/mgag200: Remove BMC output 0f9ff361ad82 drm/mgag200: vga-bmc: Control BMC scanout from encoder 9d09cac47de5 drm/mgag200: vga-bmc: Control CRTC VIDRST flag from encoder dc06efbb7934 drm/mgag200: vga-bmc: Transparently handle BMC f5510726608f drm/mgag200: Add VGA-BMC output -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231250 https://bugzilla.suse.com/show_bug.cgi?id=1231250#c12 Thomas Zimmermann <tzimmermann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(Douglas.Farley@de | |ll.com) | Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #12 from Thomas Zimmermann <tzimmermann@suse.com> --- Hi (In reply to stuart hayes from comment #11)
It looks like this is fixed with the patchset (described here: https://patchwork.freedesktop.org/series/136885/) that includes these patches:
219b45d023ed drm/mgag200: Remove BMC output 0f9ff361ad82 drm/mgag200: vga-bmc: Control BMC scanout from encoder 9d09cac47de5 drm/mgag200: vga-bmc: Control CRTC VIDRST flag from encoder dc06efbb7934 drm/mgag200: vga-bmc: Transparently handle BMC f5510726608f drm/mgag200: Add VGA-BMC output
Great. Thank you so much for testing. I close this bug report. Please reopen if you think something needs to be done here. Best regards Thomas -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com