[Lenovo Ubuntu 22.04 Bug]The Physical VGA displayer shows no signal (black screen) when install Ubuntu 22.04

Bug #1968519 reported by xiaochun Lee
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description:
When we install Ubuntu 22.04, the physical VGA displayer show black screen. It can only show rarely boot logs just for few seconds after kebyboard Enter key be pressed to install Ubuntu OS, and then the physical VGA displayer keeps black screen, but the XCC remote KVM monitor can show the boot log and the GUI interface.

Produce Steps:
 1. Connect a physical VGA displayer.
 2. Fresh install Ubuntu22.04 on a server that integrated Matrox MGA G200-family.
 3. When the install menu comes out, press keyboard Enter key, the physical VGA displayer just get the signal for few seconds and then the monitor go to black screen.

Configuration:
Systems:Lenovo SR590, SR650, SR630 with magag200 as GFX
OS:jammy-live-server20220405-amd64.iso
CPU:Intel(R) Xeon(R) Bronze 3104 CPU @ 1.70GHz
UEFI:3.30 (Build ID: IVE178D)
XCC:1.30 (Build ID: PDL114N)
HDD:1.00TB 7.2K 6Gbps SATA 3.5" HD

Actual results:
The VGA display keep the black screen, during Ubuntu 22.04 installation.

Expected results:
The VGA display is OK when install the Ubuntu 22.04 in a server that integrated Matrox MGA G200-family video processor

Additional info:
 1. The issue can be reproduced 100% in the server that integrated Matrox MGA G200-family platforms.
 2. Both UEFI mode and legacy mode are failed.
 3. After we finish installing Ubuntu OS through XCC remote KVM monitor, and reboot the system, the physical VGA displayer still show nothing after a few seconds.
 4. We did more tests, modified the cmdline of the kernel, add "nomodeset", the VGA displayer display well.
 5. This issue could be found on both Intel and AMD platforms , which have onboard video chip as mgag200, also called pilot 4.
 6. Upstream kernel patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.18-rc1&id=147696720eca12ae48d020726208b9a61cdd80bc (drm/mgag200: Select clock in PLL update functions) probalby resovle the issue on BIOS legacy mode.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1968519

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
xiaochun Lee (xavier-lee) wrote :
information type: Public → Private Security
information type: Private Security → Public
Revision history for this message
xiaochun Lee (xavier-lee) wrote :

The command apport-collect couldn't run successfully on our system, we upload the file generate by sosreport command for your reference.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jeff Lane  (bladernr) wrote :

Just to be clear, when you say "Physical" do you have an actual monitor plugged into the VGA port, or are you using a KVM or remote KVM (not the XCC console, but an actual KVM device).

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

Yes, We have a monitor that plugged into the VGA port. Sorry to let you confused, the KVM console here means the XCC console, not a actual KVM device. In this bug we reported, the VGA port connected monitor show nothing, but XCC console can get the output data.

Revision history for this message
Seth (wilhelm-seth) wrote :

I have seen this bug too.

System: Dell R740xd

I have tried booting using both EFI and legacy BIOS.
I have tried using the latest 22.04 server beta and daily release.

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

Hi, Jeff
Is there any updates? is there a fixed kernel for us test?

Revision history for this message
Jeff Lane  (bladernr) wrote :

Poked the Kernel Team to see if someone could take a look at this one.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Have you tried the patch mentioned in the description?

Revision history for this message
Cain M Norris (norriscm) wrote :

For me, on a Dell R610, this regression was resolved by applying the patch referenced below:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.18-rc1&id=40ce1121c1d76daf9048a86e36c83e469281b9fd

Revision history for this message
Vivien GUEANT (vivienfr) wrote :

On a Dell PowerEdge R210 II server I have the same problem:
- Ubuntu 22.04 server launched from a liveusb: The screen remains black after loading the kernel
- Ubuntu 22.04 desktop launched from a liveusb: The screen remains black after loading the kernel
- Update Ubuntu 22.04 server on Ubuntu 21.10 server: The screen is black on reboot while ok under Ubuntu 21.10. Ssh is ok.

03:03.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a) (prog-if 00 [VGA controller])
 DeviceName: Embedded Video
 Subsystem: Dell MGA G200eW WPCM450
 Flags: bus master, medium devsel, latency 0, IRQ 19, IOMMU group 5
 Memory at c4000000 (32-bit, prefetchable) [size=8M]
 Memory at c5000000 (32-bit, non-prefetchable) [size=16K]
 Memory at c4800000 (32-bit, non-prefetchable) [size=8M]
 Expansion ROM at 000c0000 [disabled] [size=128K]
 Capabilities: [dc] Power Management version 1
 Kernel driver in use: mgag200
 Kernel modules: matroxfb_base, mgag200

$ sudo dmesg | grep -i mgag200
[ 3.030128] fb0: switching to mgag200 from EFI VGA
[ 3.046095] mgag200 0000:03:03.0: vgaarb: deactivate vga console
[ 3.049400] [drm] Initialized mgag200 1.0.0 20110418 for 0000:03:03.0 on minor 0
[ 3.051146] fbcon: mgag200drmfb (fb0) is primary device
[ 3.051975] mgag200 0000:03:03.0: [drm] drm_plane_enable_fb_damage_clips() not called
[ 3.502482] mgag200 0000:03:03.0: [drm] fb0: mgag200drmfb frame buffer device

$ uname -a
Linux serveur 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Ionut (ionutb) wrote (last edit ):

I've tested the same scenarios as @Vivien GUEANT (vivienfr) on a Dell R210 II with Matrox G200 integrated GPU
- Ubuntu 20.04 server installs without any issue
- Ubuntu 22.04 server does not install and I get a black screen and the monitor is showing this error “input signal out of range”
- upgrading Ubuntu 20.04 server to 22.04 server, after the restart I get a black screen and the monitor is showing this error “input signal out of range”

to make it work I go in low resolution mode by adding "nomodeset", details here https://unix.stackexchange.com/a/702049/277890

Revision history for this message
Vivien GUEANT (vivienfr) wrote :

I tested Ubuntu server 21.10 and everything is ok.

Ubuntu server 22.04 with kernel 5.15.0-30-generic: no screen display, unless I boot in safe mode (choice available at GRUB level)

Revision history for this message
theo (elpiti) wrote :

I tested with Ubuntu Server 22.04 on R210II, same issue.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The fix is included in kernel 5.15.0-34.35. The daily image should have the kernel soon.

Revision history for this message
Vivien GUEANT (vivienfr) wrote :

Hello,

I confirm that the incident is resolved.

I updated Ubuntu 22.04 server remotely via SSH (on a Dell PowerEdge R210 II server with a Matrox MGA G200eW WPCM450 internal card) and the local console (by plugging a monitor into the server's VGA port) works fine.

$ uname -a
Linux serveur 5.15.0-35-generic #36-Ubuntu SMP Sat May 21 02:24:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Vivien

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

Thanks, We had verified kernel 5.15.0-34.35 on Lenovo systems, it works well.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.