LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-24-2021, 08:43 AM   #1
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Rep: Reputation: 1
Linux boots to a black screen when monitor is plugged in via HDMI cable


I'm facing a severe issue with my monitor. It took me a while to finally debug and understand what's going on better. The later half of my problem appears to be related Linux / Manjaro related.

Some background first: I have a Viewsonic (1080p / 144 Hz) monitor. Like most monitors it supports connection through either HDMI or DisplayPort. Because on HDMI you only get 120 Hz I've been using the DP cable. It recently became apparent that DP has issues: Apart from the monitor not staying in standby unless I disable KScreen2 service in KDE, I get random boot failures with the VGA beep code of my motherboard (1 long + 3 short), occasional corruption lines at the bottom of the screen when it wakes up, and I just discovered the router LAN led for my computer flickering when the machine is powered off might also be triggered by the monitor. I get this with two different DisplayPort cables, the last being a high quality v1.4 cable so cabling isn't the issue... not a video card failure either as I got the exact same behavior on two of them (both AMD / amdgpu)... also not the PSU which I replaced yesterday. Given the random boot failures and potential hardware damage that could be caused by my monitor through DP yet not HDMI, I need to switch back to the HDMI connection.

This is where the kernel / X11 problem comes in: HDMI works prefectly until I reach the login screen, once I do I'm stuck with a black screen. The monitor doesn't power off, it stays on but instead of the login page I only see black. I know the system doesn't freeze as the HDD busy led blinks on occasion and I can toggle the NumLock key on the keyboard. I can't use Control + Alt + F2 to switch to a different runlevel either, everything remains black even then.

Only way I can boot into Linux is by using e in grub2 to edit the kernel parameters, adding `nomodeset` to the list, then pressing F10 to boot: The login screen still refuses to show, however it retains the console and I can switch to a different runlevel to issue console commands. I used this ability to save `/var/log/Xorg.0.log` which does report issues with a screen getting diabled:

Code:
[     8.512] (--) Log file renamed from "/var/log/Xorg.pid-1341.log" to "/var/log/Xorg.0.log"
[     8.513] 
X.Org X Server 1.21.1.2
X Protocol Version 11, Revision 0
[     8.513] Current Operating System: Linux linux-qz0r 5.15.7-1-MANJARO #1 SMP PREEMPT Wed Dec 8 10:09:19 UTC 2021 x86_64
[     8.513] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=eabe1a99-1671-4b1c-9817-d5855ba9cea3 rw quiet apparmor=1 security=apparmor udev.log_priority=3 nomodeset
[     8.513]  
[     8.513] Current version of pixman: 0.40.0
[     8.513] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     8.513] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     8.513] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 24 16:03:15 2021
[     8.513] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     8.513] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     8.513] (==) No Layout section.  Using the first Screen section.
[     8.513] (==) No screen section available. Using defaults.
[     8.513] (**) |-->Screen "Default Screen Section" (0)
[     8.513] (**) |   |-->Monitor "<default monitor>"
[     8.513] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     8.513] (==) Automatically adding devices
[     8.513] (==) Automatically enabling devices
[     8.513] (==) Automatically adding GPU devices
[     8.513] (==) Automatically binding GPU devices
[     8.513] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     8.513] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     8.513] 	Entry deleted from font path.
[     8.513] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     8.513] 	Entry deleted from font path.
[     8.513] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     8.513] 	Entry deleted from font path.
[     8.513] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     8.513] 	Entry deleted from font path.
[     8.513] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[     8.513] (==) ModulePath set to "/usr/lib/xorg/modules"
[     8.513] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     8.513] (II) Module ABI versions:
[     8.513] 	X.Org ANSI C Emulation: 0.4
[     8.513] 	X.Org Video Driver: 25.2
[     8.513] 	X.Org XInput driver : 24.4
[     8.513] 	X.Org Server Extension : 10.0
[     8.513] (++) using VT number 1

[     8.513] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     8.516] (--) PCI:*(10@0:0:0) 1002:67df:1043:04c2 rev 239, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfce00000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[     8.516] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     8.516] (II) LoadModule: "glx"
[     8.516] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     8.516] (II) Module glx: vendor="X.Org Foundation"
[     8.516] 	compiled for 1.21.1.2, module version = 1.0.0
[     8.516] 	ABI class: X.Org Server Extension, version 10.0
[     8.516] (==) Matched ati as autoconfigured driver 0
[     8.516] (==) Matched modesetting as autoconfigured driver 1
[     8.516] (==) Matched fbdev as autoconfigured driver 2
[     8.516] (==) Matched vesa as autoconfigured driver 3
[     8.516] (==) Assigned the driver to the xf86ConfigLayout
[     8.516] (II) LoadModule: "ati"
[     8.516] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[     8.516] (II) Module ati: vendor="X.Org Foundation"
[     8.516] 	compiled for 1.21.1.1, module version = 19.1.0
[     8.516] 	Module class: X.Org Video Driver
[     8.516] 	ABI class: X.Org Video Driver, version 25.2
[     8.516] (II) LoadModule: "radeon"
[     8.517] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[     8.517] (II) Module radeon: vendor="X.Org Foundation"
[     8.517] 	compiled for 1.21.1.1, module version = 19.1.0
[     8.517] 	Module class: X.Org Video Driver
[     8.517] 	ABI class: X.Org Video Driver, version 25.2
[     8.517] (II) LoadModule: "modesetting"
[     8.517] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     8.517] (II) Module modesetting: vendor="X.Org Foundation"
[     8.517] 	compiled for 1.21.1.2, module version = 1.21.1
[     8.517] 	Module class: X.Org Video Driver
[     8.517] 	ABI class: X.Org Video Driver, version 25.2
[     8.517] (II) LoadModule: "fbdev"
[     8.517] (WW) Warning, couldn't open module fbdev
[     8.517] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     8.517] (II) LoadModule: "vesa"
[     8.517] (WW) Warning, couldn't open module vesa
[     8.517] (EE) Failed to load module "vesa" (module does not exist, 0)
[     8.517] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
	ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
	ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
	ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
	ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
	ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
	ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
	ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
	ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
	ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
	ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
	ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
	ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
	ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
	ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
	ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
	ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
	ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
	ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
	ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
	ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
	ATI Radeon 9800PRO, ATI Radeon 9800XT,
	ATI Radeon Mobility 9600/9700 (M10/M11),
	ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
	ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
	ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
	ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
	ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
	ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
	ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
	ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
	ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
	ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
	ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
	ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
	ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
	ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
	ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
	ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
	ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
	ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
	ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
	ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
	ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
	ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
	ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
	ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
	ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
	ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
	ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
	ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
	ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
	ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
	ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
	ATI FireGL V3350, ATI Mobility Radeon X1450,
	ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
	ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
	ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
	ATI FireGL V3400, ATI Mobility FireGL V5250,
	ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
	ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
	ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
	ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
	ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
	ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
	ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
	ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
	ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
	ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
	ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
	ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
	AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
	ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
	ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
	ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
	ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
	ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
	ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
	ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
	ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
	ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
	ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
	ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
	ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
	ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
	ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
	ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
	ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
	ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
	ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
	ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
	ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
	ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
	ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
	ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
	ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
	ATI FireGL V3600, ATI Radeon HD 2600 LE,
	ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
	ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
	ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
	ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
	ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
	ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
	ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
	ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
	ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
	ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
	ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
	AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
	AMD Radeon HD 6300 Series Graphics,
	AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
	ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
	AMD Firestream 9350, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
	ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
	REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
	ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
	AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
	AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
	ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
	MULLINS, KAVERI, HAWAII
[     8.518] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     8.518] (EE) open /dev/dri/card0: No such file or directory
[     8.518] (WW) Falling back to old probe method for modesetting
[     8.518] (EE) open /dev/dri/card0: No such file or directory
[     8.518] (EE) Screen 0 deleted because of no matching config section.
[     8.518] (II) UnloadModule: "modesetting"
[     8.518] (EE) Device(s) detected, but none match those in the config file.
[     8.518] (EE) 
Fatal server error:
[     8.518] (EE) no screens found(EE) 
[     8.518] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     8.518] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     8.518] (EE) 
[     8.519] (EE) Server terminated with error (1). Closing log file.
What must I change to get the OS booting on HDMI without being stuck in a black screen? Till then I'm stuck on DisplayPort which I'm concerned could damage my system and would like to remove soon.
 
Old 12-24-2021, 08:58 AM   #2
biker_rat
Member
 
Registered: Feb 2010
Posts: 379

Rep: Reputation: 224Reputation: 224Reputation: 224
Why nomodeset option on kernel boot line?
 
Old 12-24-2021, 09:34 AM   #3
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by biker_rat View Post
Why nomodeset option on kernel boot line?
As I explained, I boot to a completely black screen without it and can't do anything, with it I still can't login but can at least use the runlevel console.
 
Old 12-24-2021, 09:53 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,832

Rep: Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970
Setting the display resolution is now accomplished through the kernel using kernel mode setting (KMS). If the kernel can not detect the monitor or read its EDID information the resolution will not be set correctly and you might only see a blank screen. Using nomodeset will disable the kernel from setting the display resolution and typically the monitor will use its default. Using nomodeset, the error shows no monitor found the x server fails to start and you are dropped to the command line.

https://wiki.archlinux.org/title/kernel_mode_setting

I don't know if it is a kernel or hardware problem. You can try using an xorg configuration file.

https://wiki.archlinux.org/title/xorg

Have you tried other live distributions to see if the problem still happens.
 
Old 12-24-2021, 10:10 AM   #5
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by michaelk View Post
Setting the display resolution is now accomplished through the kernel using kernel mode setting (KMS). If the kernel can not detect the monitor or read its EDID information the resolution will not be set correctly and you might only see a blank screen. Using nomodeset will disable the kernel from setting the display resolution and typically the monitor will use its default. Using nomodeset, the error shows no monitor found the x server fails to start and you are dropped to the command line.

https://wiki.archlinux.org/title/kernel_mode_setting

I don't know if it is a kernel or hardware problem. You can try using an xorg configuration file.

https://wiki.archlinux.org/title/xorg

Have you tried other live distributions to see if the problem still happens.
I never messed with Xorg configs before and don't even know where to begin in all that. I remember there was a video parameter for the kernel, such as "video=1920x1080", but I'm assuming it wouldn't do much here as the screen is on and its monitor OSD reports 1920x1080 @ 60Hz while I'm seeing the blackness.

I don't suspect a hardware problem here, the monitor reaches Grub and works flawlessly in BIOS over the HDMI. The hardware issue lies with the DisplayPort connection.

No other live distributions yet, would need to find one and burn it on another USB stick. The live version of Manjaro also fails to start however: In its case the screen even goes into standby after the boot console, unlike the normal install where it stays on just draws black.
 
Old 12-24-2021, 11:27 AM   #6
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
It appears the issue was fixed by using a different HDMI cable: The old one works on my mother's computer but triggers the black screen for mine. Could be different monitors preferring different cable versions, albeit I find it odd POST / BIOS / GRUB2 work and only Linux would go throw a black screen over such a thing.
 
Old 12-24-2021, 12:41 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,832

Rep: Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970
BIOS POST and GRUB happens before KMS detection/configuration so resolution is still the default VGA mode. If you pay attention to the size of the boot messages assuming they are displayed you might see them jump in size or a shift of some type. This is when KMS is setting the video resolution.

Could differences in GPU cards and monitors and how one reads or how the EDID is sent from the monitor. In the early days the cheap VGA cables did not always include EDID wiring or it wasn't per the specification.
 
Old 12-24-2021, 12:51 PM   #8
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by michaelk View Post
BIOS POST and GRUB happens before KMS detection/configuration so resolution is still the default VGA mode. If you pay attention to the size of the boot messages assuming they are displayed you might see them jump in size or a shift of some type. This is when KMS is setting the video resolution.

Could differences in GPU cards and monitors and how one reads or how the EDID is sent from the monitor. In the early days the cheap VGA cables did not always include EDID wiring or it wasn't per the specification.
Yes, I see what you mean: Resolution changes several times before the login screen, once before GRUB then again to display the splash screen then again when the login manager has loaded, at least I think it does since it goes black and looks like it's switching at those points. I still find it odd that a different HDMI cable would affect how Linux detects the screen in particular, but this is what drivers and firmware do so it makes sense in the end.
 
Old 12-24-2021, 03:07 PM   #9
michael@actrix
Member
 
Registered: Jul 2003
Location: New Zealand
Distribution: OpenSUSE Tumbleweed
Posts: 68
Blog Entries: 1

Rep: Reputation: 20
Quote:
Originally Posted by MirceaKitsune View Post
Yes, I see what you mean: Resolution changes several times before the login screen, once before GRUB then again to display the splash screen then again when the login manager has loaded, at least I think it does since it goes black and looks like it's switching at those points. I still find it odd that a different HDMI cable would affect how Linux detects the screen in particular, but this is what drivers and firmware do so it makes sense in the end.
But what if the "bad" cable happens to poorly connect with one of the PC or monitor's corresponding pins? In the past I've had a few HDMI cable issues, but mainly with TV's, I've not tended to use them with PC's. I don't think I've ever had a DVI-cable issue (bigger connectors?).

If reference to Kscreen2, unless it's needed, it's best disabled, especially if you want to do anything with xrandr like scaling.
 
Old 12-24-2021, 03:14 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,832

Rep: Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970
Anything is possible...
 
Old 12-25-2021, 01:17 AM   #11
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,915
Blog Entries: 1

Rep: Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082
Black login screen smells to me like yet another SDDM failure. SDDM might be the reason for the apparent picky cabling problem, stopping you from using HDMI @144Hz. How about using LightDM or other DM instead of SDDM (default with KDE/Plasma)? Have you ever thought to try skipping the login screen, booting to multi-user and starting X with startx? It wouldn't surprise me if a faulty BIOS is at play here either. That's what seems to be my video output problem explained here and here.

Testing with only two cables isn't always adequate if something in the system is picky. It helps to have lots of displays and cables and PCs when trying to lay blame in the proper place. What happened to your old PC? Can your current GPU be tested using it? BIOS beeps could be indicative of a BIOS fault, or a GPU shortcoming. Is there any way for you to test behavior of the Viewsonic @144Hz with another PC?

IMO, there's really little excuse for having so much trouble using a single 1920x1080 display, assuming the 144Hz display isn't defective, either in hardware or EDID. Something's wrong that isn't likely your fault, and not likely Manjaro's fault either.

BTW, pasting of Xorg.0.log here is a problematic thing to deal with - double scrollers makes it hard to peruse. Please use a pastebin for anything that wide or long.
 
Old 12-25-2021, 08:44 AM   #12
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by mrmazda View Post
Black login screen smells to me like yet another SDDM failure. SDDM might be the reason for the apparent picky cabling problem, stopping you from using HDMI @144Hz. How about using LightDM or other DM instead of SDDM (default with KDE/Plasma)? Have you ever thought to try skipping the login screen, booting to multi-user and starting X with startx? It wouldn't surprise me if a faulty BIOS is at play here either. That's what seems to be my video output problem explained here and here.

Testing with only two cables isn't always adequate if something in the system is picky. It helps to have lots of displays and cables and PCs when trying to lay blame in the proper place. What happened to your old PC? Can your current GPU be tested using it? BIOS beeps could be indicative of a BIOS fault, or a GPU shortcoming. Is there any way for you to test behavior of the Viewsonic @144Hz with another PC?

IMO, there's really little excuse for having so much trouble using a single 1920x1080 display, assuming the 144Hz display isn't defective, either in hardware or EDID. Something's wrong that isn't likely your fault, and not likely Manjaro's fault either.

BTW, pasting of Xorg.0.log here is a problematic thing to deal with - double scrollers makes it hard to peruse. Please use a pastebin for anything that wide or long.
Sadly there is a hardware issue with the monitor too: On DisplayPort it fails to POST and gives a beep sequence, sometimes when it wakes up I get corruption lines on the last few pixels at the bottom of the screen. Warranty is still in term so I could consider sending it in for a check, though for something this big I really don't want to.

Haven't tried it on another computer, I might consider that option at some point. X11 complains about the display being disconnected, doesn't sound like a simple login manager bug. Hopefully it will work well at least over HDMI.
 
Old 12-25-2021, 02:23 PM   #13
biker_rat
Member
 
Registered: Feb 2010
Posts: 379

Rep: Reputation: 224Reputation: 224Reputation: 224
What are the video card models?
 
Old 12-25-2021, 05:12 PM   #14
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,915
Blog Entries: 1

Rep: Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082
Quote:
Originally Posted by biker_rat View Post
What are the video card models?
Indeed. Looking back through OP's other posts it's rare that anything more than AMD is mentioned. I found one post more than a year old that had simply RX 580, but no mention whether that's the older card or the newer, or whether either is a discrete card rather than IGP (APU in AMD language IIRC).

MirceaKitsune, please paste output from:
Code:
inxi -SGayz
 
Old 12-26-2021, 08:55 AM   #15
MirceaKitsune
Member
 
Registered: May 2009
Distribution: Manjaro
Posts: 156

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by biker_rat View Post
What are the video card models?
Old card, replaced after breaking likely for unrelated reasons: Radeon XFX R9 390X.

New card, bought a few weeks ago and working perfectly: Radeon ROG STRIX RX570 O4G.

Quote:
Originally Posted by mrmazda View Post
MirceaKitsune, please paste output from:
Code:
inxi -SGayz
Code:
    ~  inxi -SGayz                                                                                                 ✔ 
System:
  Kernel: 5.15.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=eabe1a99-1671-4b1c-9817-d5855ba9cea3 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 0a:00.0 chip-ID: 1002:67df
    class-ID: 0300
  Device-2: Microsoft LifeCam HD-5000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 5-1:2 chip-ID: 045e:076d
    class-ID: 0102
  Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
    loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: HDMI-A-0 res: 1920x1080 dpi: 94 size: 521x293mm (20.5x11.5")
    diag: 598mm (23.5")
  OpenGL: renderer: AMD Radeon RX 570 Series (POLARIS10 DRM 3.42.0
    5.15.7-1-MANJARO LLVM 13.0.0)
    v: 4.6 Mesa 21.2.5 direct render: Yes
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Graphics Card: Plugged in HDMI cable causes ^@-characters to be printed to TTY joe_2000 Linux - Hardware 28 08-22-2018 03:01 PM
[SOLVED] Black screen after using hot HDMI cable. Graphics card broken? duplex Linux - Hardware 4 12-27-2013 01:27 PM
[SOLVED] screen shrinks when HDMI cable gets plugged in. 9sp7ky3 Linux - General 1 08-16-2012 10:10 PM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
HDMI cable to TV must be unplugged and re-plugged moorecf Linux - Hardware 1 02-13-2010 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration