Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting X to restart at the proper resolution
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Mon Nov 07, 2022 10:03 am    Post subject: getting X to restart at the proper resolution Reply with quote

I have a (very annoying) machine where I frequently (for reasons I can not determin) get this in /var/log/Xorg.0.log:

Code:

[1343795.160] (WW) modeset(0): hotplug event: connector 87's link-state is BAD, tried resetting the current mode. You may be leftwith a black screen if this fails...


The screen does indeed go black, and I need to either reboot or restart X remotely. If anyone has any ideas on how to prevent or recover from this, please let me know.

When the machine boots, X starts in the preferable 1920x1080 resolution. However, if I restart X ("/etc/init.d/displaymanager restart"), then X starts in 1280x720 resolution. As much of the configuration gets done automatically now, I have completely forgotten the voodoo necessary to specify such things as resolution when starting X.

I did notice something rather odd. When rebooting, it seems the X server doesn't see the 1920x1080 capability. I include the relevant log sections below (the initial boot first and the display manager restart second):

Code:

[   207.176] (II) modeset(0): Supported standard timings:
[   207.176] (II) modeset(0): #0: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[   207.176] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[   207.176] (II) modeset(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[   207.176] (II) modeset(0): #3: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[   207.176] (II) modeset(0): #4: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[   207.176] (II) modeset(0): Supported detailed timing:
[   207.176] (II) modeset(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
[   207.176] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[   207.176] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[   207.176] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 24 H max: 94 kHz, PixClock max 175 MHz
[   207.176] (II) modeset(0): Monitor name: HP LA2306
[   207.176] (II) modeset(0): Serial No: [removed]
[   207.176] (II) modeset(0): EDID (in hex):
[   207.176] (II) modeset(0):   00ffffffffffff0022f0492901010101
[   207.177] (II) modeset(0):   23160104a5331d78261e55a059569f27
[   207.177] (II) modeset(0):   0d5054a1080081c081809500b300d1c0
[   207.177] (II) modeset(0):   010101010101023a801871382d40582c
[   207.177] (II) modeset(0):   4500fd1e1100001e000000fd00324c18
[   207.177] (II) modeset(0):   5e11000a202020202020000000fc0048
[   207.177] (II) modeset(0):   50204c41323330360a202020000000ff
[   207.177] (II) modeset(0):   00334351323335313458380a202000cc
[   207.177] (II) modeset(0): Printing probed modes for output DP-1
[   207.177] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[   207.177] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[   207.177] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   207.177] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[   207.177] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[   207.177] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   207.177] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   207.177] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   207.177] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   207.178] (II) modeset(0): EDID for output HDMI-2
[   207.178] (II) modeset(0): EDID for output DP-2
[   207.178] (II) modeset(0): Output VGA-1 disconnected
[   207.178] (II) modeset(0): Output HDMI-1 disconnected
[   207.178] (II) modeset(0): Output DP-1 connected
[   207.178] (II) modeset(0): Output HDMI-2 disconnected
[   207.178] (II) modeset(0): Output DP-2 disconnected
[   207.178] (II) modeset(0): Using exact sizes for initial modes
[   207.178] (II) modeset(0): Output DP-1 using initial mode 1920x1080 +0+0
[   207.178] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   207.179] (==) modeset(0): DPI set to (96, 96)
[   207.179] (II) Loading sub module "fb"
[   207.179] (II) LoadModule: "fb"
[   207.179] (II) Module "fb" already built-in


Code:

[1368159.385] (II) modeset(0): Supported standard timings:
[1368159.385] (II) modeset(0): #0: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[1368159.385] (II) modeset(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[1368159.385] (II) modeset(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[1368159.385] (II) modeset(0): #3: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[1368159.385] (II) modeset(0): #4: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[1368159.385] (II) modeset(0): Supported detailed timing:
[1368159.385] (II) modeset(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
[1368159.385] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[1368159.385] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[1368159.385] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 24 H max: 94 kHz, PixClock max 175 MHz
[1368159.385] (II) modeset(0): Monitor name: HP LA2306
[1368159.385] (II) modeset(0): Serial No: [removed]
[1368159.385] (II) modeset(0): EDID (in hex):
[1368159.385] (II) modeset(0):  00ffffffffffff0022f0492901010101
[1368159.385] (II) modeset(0):  23160104a5331d78261e55a059569f27
[1368159.385] (II) modeset(0):  0d5054a1080081c081809500b300d1c0
[1368159.385] (II) modeset(0):  010101010101023a801871382d40582c
[1368159.385] (II) modeset(0):  4500fd1e1100001e000000fd00324c18
[1368159.385] (II) modeset(0):  5e11000a202020202020000000fc0048
[1368159.385] (II) modeset(0):  50204c41323330360a202020000000ff
[1368159.385] (II) modeset(0):  00334351323335313458380a202000cc
[1368159.385] (II) modeset(0): Printing probed modes for output DP-1
[1368159.385] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[1368159.385] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[1368159.385] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[1368159.385] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[1368159.385] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[1368159.385] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[1368159.385] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[1368159.386] (II) modeset(0): EDID for output HDMI-2
[1368159.386] (II) modeset(0): EDID for output DP-2
[1368159.386] (II) modeset(0): Output VGA-1 disconnected
[1368159.386] (II) modeset(0): Output HDMI-1 disconnected
[1368159.386] (II) modeset(0): Output DP-1 connected
[1368159.386] (II) modeset(0): Output HDMI-2 disconnected
[1368159.386] (II) modeset(0): Output DP-2 disconnected
[1368159.386] (II) modeset(0): Using exact sizes for initial modes
[1368159.386] (II) modeset(0): Output DP-1 using initial mode 1280x720 +0+0
[1368159.386] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[1368159.386] (==) modeset(0): DPI set to (96, 96)
[1368159.386] (II) Loading sub module "fb"
[1368159.386] (II) LoadModule: "fb"
[1368159.386] (II) Module "fb" already built-in


Thank you in advance for any helpful information.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum