X11 server crash after changing display resolution

I just installed 11.3 on a Thinkpad X60s with Intel 945GM display driver. I’ve kept everything as a standard install from stable repos. The laptop’s screen has a native resolution of 1024x768. When I dock the laptop with an external display (1280x1024) attached to the dock, the external display comes up as 1024x768 instead of it’s native 1280x1024.

Trying to change the external display to 1280x1024 in display settings causes the X11 server to crash. Well I think it’s the X11 server as the screen goes blank and the laptop doesn’t respond to any keys forcing me to turn it off. Sometimes the crash doesn’t happen immediately but may happen within 3-5 mins but always happens. If I don’t try adjusting the external display resolution then everything runs fine.

I don’t have access to the laptop again until after lunch but I’d like to get a few ideas on what to check so I can sort the problem asap. Should I use the nomodetest option (with this Intel 945GM display card) when booting? Could this be a KMS problem?

Is anyone else seeing this problem when docking a laptop?

Ok, I’ve had another look and using nomodetest at boot makes no difference.

I’ve pasted the contents of xrandr

xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      75.0     60.0  
   1024x768       75.1     70.1     60.0* 
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 246mm x 185mm
   1024x768       50.0*+   60.0     40.0  
   800x600        60.3     56.2  
   640x480        60.0     59.9  

Here is the full Xorg.0.log

From what I can make out, the correct driver (intel) is being loaded




  1.     20.893] (II) LoadModule: "intel"
  1.     20.895] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so



and the two screens are being correctly detected
VGA1 - The external Acer AL1715 monitor




  1.     21.268] (II) intel(0): EDID for output VGA1
  1.     21.268] (II) intel(0): Manufacturer: ACR  Model: ad12  Serial#: 0
  1.     21.268] (II) intel(0): Year: 2005  Week: 21
  1.     21.268] (II) intel(0): EDID Version: 1.3
  1.     21.268] (II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
  1.     21.268] (II) intel(0): Sync:  Separate
  1.     21.268] (II) intel(0): Max Image Size [cm]: horiz.: 34  vert.: 27
  1.     21.268] (II) intel(0): Gamma: 2.20
  1.     21.268] (II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
  1.     21.268] (II) intel(0): First detailed timing not preferred mode in violation of standard!
  1.     21.268] (II) intel(0): redX: 0.637 redY: 0.344   greenX: 0.310 greenY: 0.582
  1.     21.268] (II) intel(0): blueX: 0.143 blueY: 0.100   whiteX: 0.313 whiteY: 0.329
  1.     21.268] (II) intel(0): Supported established timings:
  1.     21.268] (II) intel(0): 720x400@70Hz
  1.     21.268] (II) intel(0): 640x480@60Hz
  1.     21.268] (II) intel(0): 640x480@67Hz
  1.     21.268] (II) intel(0): 640x480@72Hz
  1.     21.268] (II) intel(0): 640x480@75Hz
  1.     21.268] (II) intel(0): 800x600@56Hz
  1.     21.268] (II) intel(0): 800x600@60Hz
  1.     21.268] (II) intel(0): 800x600@72Hz
  1.     21.268] (II) intel(0): 800x600@75Hz
  1.     21.268] (II) intel(0): 832x624@75Hz
  1.     21.268] (II) intel(0): 1024x768@60Hz
  1.     21.268] (II) intel(0): 1024x768@70Hz
  1.     21.268] (II) intel(0): 1024x768@75Hz
  1.     21.268] (II) intel(0): 1280x1024@75Hz



LVDS1 - The laptop screen




  1.     21.376] (II) intel(0): EDID for output LVDS1
  1.     21.376] (II) intel(0): Manufacturer: LEN  Model: 4000  Serial#: 0
  1.     21.376] (II) intel(0): Year: 2005  Week: 0
  1.     21.376] (II) intel(0): EDID Version: 1.3
  1.     21.376] (II) intel(0): Digital Display Input
  1.     21.376] (II) intel(0): Max Image Size [cm]: horiz.: 25  vert.: 18
  1.     21.376] (II) intel(0): Gamma: 2.20
  1.     21.376] (II) intel(0): DPMS capabilities: StandBy Suspend Off
  1.     21.376] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
  1.     21.376] (II) intel(0): First detailed timing is preferred mode
  1.     21.376] (II) intel(0): redX: 0.569 redY: 0.342   greenX: 0.312 greenY: 0.544
  1.     21.376] (II) intel(0): blueX: 0.149 blueY: 0.132   whiteX: 0.313 whiteY: 0.329
  1.     21.376] (II) intel(0): Supported established timings:
  1.     21.376] (II) intel(0): 640x480@60Hz
  1.     21.376] (II) intel(0): 800x600@60Hz
  1.     21.376] (II) intel(0): 1024x768@60Hz



So why does it connect the external screen at 1024x768 instead of 1280x1024?




  1.     21.377] (II) intel(0): Output VGA1 using initial mode 1024x768
  1.     21.377] (II) intel(0): Output LVDS1 using initial mode 1024x768



Is there anything in the log that gives any clue as to the problem?

I’ve looked through the “the theory of graphic cards document” and the graphic card configuration sticky but am still none the wiser why this is not working. Steps 1 to 4 don’t help. Should I really be going down the road of creating a legacy Xorg.conf file?

Did you try the Intel Legacy driver that is also provided with open SUSE ?

No need to create an xorg.conf file.

Just edit the /etc/X11/xorg.conf.d/50-device.conf file, and instead of the example “radeon” that is given, replace it with “intellegacy” and remove the comment "# " that is in the start of that line. I can not remember the exact syntax (and I am not at a Linux PC right now), for it may be “intellegacy” or “Intellegacy”. I can not remember which. Note there is also an rpm that is needed with this driver, but I think that rpm is installed by default.

Thanks for the tip. I tried the intellegacy driver and that didn’t help either. Logs confirmed that the legacy driver did load. I tried changing the resolution using krandr and that crashes it too - not surprised actually but thought I’d try.

I don’t know where to go from here apart from copying the xorg.conf file from my X60s which still has 11.2 (and running the intel driver) installed on it. I remember having problems when I installed 11.2 and had to resort to sax2 to fix it. I don’t want to just resort to a xorg.conf file if I can get this to work in another way otherwise there’s no progress.

If I don’t get anywhere I’ll file a bug report but want to give it a good try before I do. I see from this post that someone has had a similar issue and resorted to a xorg.conf.

Apologies, but I can not tell how you tried the intellegacy driver. ie what did you edit? What was the edit ? Nor can I tell if you tried it with the nomodeset as a boot parmeter. Nor can I tell if you tried it without nomodeset as a boot parameter.

I understand this is all intutively obvious to you, but those are things I would try, and reading your post it is just not clear to me. Can you please clarify?

Can you ALSO post your xorg.conf from your other X60’s on http://pastebin.org and press submit and post here the URL/website/address so we can look at it?

Sorry for not being clear. I edited the /etc/X11/xorg.conf.d/50-device.conf file and changed the line with the driver to Driver “intellegacy”. I tried this without nomodetest at boot. I didn’t try it with nomodetest during boot (that slipped my mind) I was in a bit of a hurry as I had someone waiting to use the computer. I’ll give it a try later this afternoon / evening.

It appears pastebin.org is down as I’m getting “Unable to connect to database” so I pasted to the log on pastebin.com. The two systems are identical apart from my laptop dock has a larger monitor.

There is also a lot of interesting information here, that I have not been able to wrap my head around yet: Intel Graphics Media Accelerator 950 - ThinkWiki

You could of course try that xorg.conf. … or as opposed to trying that, you could try edit in your X60’s /etc/X11/xorg.conf.d/ directory the 50-device.conf, 50-screen.conf, and 50-monitor.conf with:

50-device.conf:
Section "Device"
  BoardName    "945 GM"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-VGA" "Monitor[0]"
  VendorName   "Intel"
EndSection

or

50-device.conf:
Section "Device"
  BoardName    "945 GM"
  Driver       "intellegacy"
  Identifier   "Device[0]"
  Option       "monitor-VGA" "Monitor[0]"
  VendorName   "Intel"
EndSection

and the 50-screen.conf:

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    2048 1200
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    2048 1200
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    2048 1200
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    2048 1200
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

and the 50-monitor.conf (although this will likely need be edited for the monitor you use for this X60, as opposed to your other X60).

Section "Monitor"
  DisplaySize  376 301
  HorizSync    29-81
  Identifier   "Monitor[0]"
  ModelName    "SAMSUNG SYNCMASTER"
  Option       "DPMS"
  Option       "PreferredMode" "1280x1024"
  VendorName   "SAM"
  VertRefresh  43-75
  UseModes     "Modes[0]"
EndSection

That “UseModes” line may be inappropriate, as I think it refers to the ‘Modes’ section in your post xorg.conf, where there is no such entry in what I’m speculating/suggesting. Maybe try without that “Use Modes” line, and if that fails, then instead the 50-monitor.conf may needs to be something like.

Section "Monitor"
  DisplaySize  376 301
  HorizSync    29-81
  Identifier   "Monitor[0]"
  ModelName    "SAMSUNG SYNCMASTER"
  Option       "DPMS"
  Option       "PreferredMode" "1280x1024"
  VendorName   "SAM"
  VertRefresh  43-75

Modeline      "1280x1024" 106.97 1280 1360 1496 1712 1024 1025 1028 1059
  Modeline      "1280x1024" 87.75 1280 1328 1360 1440 1024 1027 1034 1053 +HSync -VSync
  Modeline      "1280x960" 107.32 1280 1360 1496 1712 960 961 964 995
  Modeline      "1280x960" 88.25 1280 1328 1360 1440 960 963 967 989 +HSync -VSync
  Modeline      "1280x800" 107.21 1280 1360 1496 1712 800 801 804 835
  Modeline      "1280x800" 98.89 1280 1352 1488 1696 800 801 804 833
  Modeline      "1280x800" 91.61 1280 1352 1488 1696 800 801 804 831
  Modeline      "1280x800" 88.25 1280 1328 1360 1440 800 803 809 829 +HSync -VSync
  Modeline      "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
  Modeline      "1152x864" 104.99 1152 1224 1352 1552 864 865 868 902
  Modeline      "1152x864" 96.77 1152 1224 1344 1536 864 865 868 900
  Modeline      "1152x864" 89.56 1152 1224 1344 1536 864 865 868 897
  Modeline      "1152x864" 86.75 1152 1200 1232 1312 864 867 871 895 +HSync -VSync
  Modeline      "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895
  Modeline      "1280x768" 102.98 1280 1360 1496 1712 768 769 772 802
  Modeline      "1280x768" 94.98 1280 1352 1488 1696 768 769 772 800
  Modeline      "1280x768" 87.97 1280 1352 1488 1696 768 769 772 798
  Modeline      "1280x768" 84.75 1280 1328 1360 1440 768 771 778 796 +HSync -VSync
  Modeline      "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
  Modeline      "1280x720" 95.65 1280 1352 1488 1696 720 721 724 752
  Modeline      "1280x720" 89.04 1280 1352 1488 1696 720 721 724 750
  Modeline      "1280x720" 81.68 1280 1344 1480 1680 720 721 724 748
  Modeline      "1280x720" 79.25 1280 1328 1360 1440 720 723 728 746 +HSync -VSync
  Modeline      "1280x720" 74.48 1280 1336 1472 1664 720 721 724 746
  Modeline      "1024x768" 81.80 1024 1080 1192 1360 768 769 772 802
  Modeline      "1024x768" 76.16 1024 1080 1192 1360 768 769 772 800
  Modeline      "1024x768" 69.71 1024 1080 1184 1344 768 769 772 798
  Modeline      "1024x768" 69.50 1024 1072 1104 1184 768 771 775 796 +HSync -VSync
  Modeline      "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  Modeline      "1280x600" 79.00 1280 1344 1480 1680 600 601 604 627
  Modeline      "1280x600" 72.80 1280 1336 1472 1664 600 601 604 625
  Modeline      "1280x600" 66.74 1280 1336 1464 1648 600 601 604 623
  Modeline      "1280x600" 66.25 1280 1328 1360 1440 600 603 613 622 +HSync -VSync
  Modeline      "1280x600" 61.50 1280 1336 1464 1648 600 601 604 622
  Modeline      "1024x600" 63.20 1024 1080 1184 1344 600 601 604 627
  Modeline      "1024x600" 58.10 1024 1072 1176 1328 600 601 604 625
  Modeline      "1024x600" 54.25 1024 1072 1104 1184 600 603 613 622 +HSync -VSync
  Modeline      "1024x600" 53.78 1024 1072 1176 1328 600 601 604 623
  Modeline      "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622
  Modeline      "800x600" 48.91 800 840 920 1040 600 601 604 627
  Modeline      "800x600" 45.50 800 840 920 1040 600 601 604 625
  Modeline      "800x600" 44.00 800 848 880 960 600 603 607 622 +HSync -VSync
  Modeline      "800x600" 42.11 800 840 920 1040 600 601 604 623
  Modeline      "800x600" 38.22 800 832 912 1024 600 601 604 622
  Modeline      "768x576" 45.51 768 808 888 1008 576 577 580 602
  Modeline      "768x576" 41.66 768 800 880 992 576 577 580 600
  Modeline      "768x576" 40.75 768 816 848 928 576 579 583 597 +HSync -VSync
  Modeline      "768x576" 38.56 768 800 880 992 576 577 580 598
  Modeline      "768x576" 34.96 768 792 872 976 576 577 580 597
  Modeline      "640x480" 30.72 640 664 728 816 480 481 484 502
  Modeline      "640x480" 29.25 640 688 720 800 480 483 487 497 +HSync -VSync
  Modeline      "640x480" 28.56 640 664 728 816 480 481 484 500
  Modeline      "640x480" 25.95 640 656 720 800 480 481 484 499
  Modeline      "640x480" 23.86 640 656 720 800 480 481 484 497
  Modeline      "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +HSync +VSync
EndSection

Note you should try with ‘nomodeset’ boot code, and also without the ‘nomodeset’ boot code.

Edit: If x refuses to start, take a good look at the content of /var/log/Xorg.0.log.

I recommend you install ‘mc’ (midnight commander) as it is a great tool to run from command line to look a text files, and edit them as need be.

To get things working quickly I created a xorg.conf file based on the xorg.conf from my X60s and the format of the file in this post. The laptop seems to be handling the external monitor on the dock ok now and hasn’t crashed in the last 1 hour I’ve been playing with it. My next step now is to remove the xorg.conf file and then do the minimal amount of editing of the 50-device.conf, 50-screen.conf and 50-monitor.conf files to get it working.

I’d still like to understand why it doesn’t work automatically as it should though. Once I’ve finished editing the 50-xxxxx.conf files I’ll file a bug with my findings.

My experience with oS amd laptops hot docking/undocking has always been a little flakey right through 11.1, 11.2 and now 11.3. I was hoping that due to SLED a robust laptop dock/undock function would be available.

Excellent! Well done on your progress.

Thanks for sharing your approach and I am interested to read how it turns out.