You are not logged in.

#1 2022-10-30 09:13:32

Swarchden
Member
Registered: 2020-12-04
Posts: 3

[Solved] Xrandr gives the wrong output, external monitor not detected

On my thinkpad t16, xrandr gives the following output:

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 16384 x 16384
eDP-1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 344mm x 215mm
   1920x1200     60.00*+  59.95  
   1920x1080     59.93  
   1600x1200     60.00  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      59.97  
   1368x768      59.88    59.85  
   1280x800      59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

However, this is incorrect. I do not have any DP, but one HDMI. Trying to activate the HDMI gives no results:

$ xrandr --output HDMI-0 --mode 1920x1200  
warning: output HDMI-0 not found; ignoring
$ xrandr --output HDMI-1 --mode 1920x1200  
warning: output HDMI-1 not found; ignoring
$ xrandr --output HDMI0 --mode 1920x1200 
warning: output HDMI0 not found; ignoring
$ xrandr --output HDMI1 --mode 1920x1200
warning: output HDMI1 not found; ignoring

This means that I unfortunately am stuck with only using my inbuilt laptop monitor. Further, which may give additional hints, not all of the resolutions given for the internal monitor work:

$ xrandr --output eDP-1 --mode 960x600
xrandr: cannot find mode 960x600

Calling lspci gives the following:

$ lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [UHD Graphics] (rev 0c)
	Subsystem: Lenovo Device 22e8
	Kernel driver in use: i915

What could be the problem here? Please tell me if I have missed attaching some useful information.

Thank you in advance for any help you can offer!

Last edited by Swarchden (2022-11-21 15:12:03)

Offline

#2 2022-11-07 15:41:47

Swarchden
Member
Registered: 2020-12-04
Posts: 3

Re: [Solved] Xrandr gives the wrong output, external monitor not detected

I wanted to check if I perhaps had made some mistake during installation. If I, for example, had installed the wrong drivers. So, I booted a Manjaro usb stick. Since manjaro comes with Xorg pre-installed, I got a test case where everything was (presumably) correctly installed by a third party. The problem persisted!

Would this imply that there is some issue with how the kernel or Xorg interacts with the hardware? Or perhaps a hardware problem? Or are there some esoteric extra steps that need to be taken when setting up Xorg for this particular system, unbeknownst to me and the Manjaro devs? I will also try some more remote distro, but it's a shame I can't try it with Windows without editing my hard drive.

Offline

#3 2022-11-21 15:11:24

Swarchden
Member
Registered: 2020-12-04
Posts: 3

Re: [Solved] Xrandr gives the wrong output, external monitor not detected

Apparently, (part of) the problem appears to have been a bug in the bios. As such, fwupd (partially) fixed it. Xorg now correctly detects the HDMI cable, which was my main issue.

The smaller problem of xrandr still detecting four non-existent displayports and several modes it claims it cannot find persists. I am unsure about the etiquette here, but I'll still mark the problem as solved. Should I need to I can open another issue with an updated, more specific thread dealing with the second, smaller issue.

Offline

Board footer

Powered by FluxBB