Hey all,

thanks a lot for your great help in advance. I found quite a few similar threads for my problem, but though I think I basically know the way how to solve it, the exact solution is not clear to me.

Following problem:

Since the display of my notebook doesn't work very well anymore, straight vertical blue line on the right side of the screen, I want to connect an external monitor. (ADI [it doesn't say the exact model] 21 inch; resolution 1600x1200 and 85 Hz refresh rate).

I'm using Ubuntu 9.10 with kernel 2.6.31.17 and xrandr does not recognize the monitor correctly (see code of

*xrandr* output). Adding a new mode did not work and currently it displays a resolution of 1200x768 which is horrible. In this version of Ubuntu the

*xorg.conf* is not used anymore and is thus empty. As I have read you could create an entry in a new

*xorg.conf* for your hardware which would be used by Ubuntu, having priority over xrandr settings.

But I do not really know what the

*monitor section* in

*xorg.conf* would have to look like, as the original screen would have to be set to 1200x768 or be disabled all together. The screens would have to be mirrored. Would the setting also work, when the external monitor is not connected to the notebook, so the original screen would display everything correctly.

Here some information about the system which will hopefully be useful for you. Please post helpful links I have overlooked or ask for more information.

My onboard graphics intel chip is capable of a resolution of 1600x1200 as it works in Windows:

*lscpi* output for graphics chip:

Code:

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

loaded kernel modules (relevant lines, at least I hope) according to

*lsmod* (the driver from Intel web page is totally outdated and I think this is not the problem, so I didn't consider compiling a new driver)

Code:

intel_agp 27484 2 i915
agpgart 34988 2 drm,intel_agp
video 19380 1 i915
output 2780 1 video

*xrandr* information

*xrandr -V*:

Code:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+0+0 (0x40) normal (normal left inverted right x axis y axis) 380mm x 290mm
Identifier: 0x3b
Timestamp: 100526
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID_DATA:
00ffffffffffff000489561263690001
230801010d261d7d680692a0574f9726
10484fffff803159455981806159a940
a94a8199a94fd609809020e01d101060
a2007c2211080818000000fd0032781f
5eff000a202020202020000000ff0030
31325436303130363936330a000000fc
004e45572050414e44412032310a00d9
1280x1024 (0x3e) 135.0MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz
1152x864 (0x3f) 108.0MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.5KHz
v: height 864 start 865 end 868 total 900 clock 75.0Hz
1024x768 (0x40) 78.8MHz +HSync +VSync *current
h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.1KHz
v: height 768 start 769 end 772 total 800 clock 75.1Hz
1024x768 (0x41) 75.0MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.5KHz
v: height 768 start 771 end 777 total 806 clock 70.1Hz
1024x768 (0x42) 65.0MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz
v: height 768 start 771 end 777 total 806 clock 60.0Hz
832x624 (0x43) 57.3MHz -HSync -VSync
h: width 832 start 864 end 928 total 1152 skew 0 clock 49.7KHz
v: height 624 start 625 end 628 total 667 clock 74.6Hz
800x600 (0x44) 50.0MHz +HSync +VSync
h: width 800 start 856 end 976 total 1040 skew 0 clock 48.1KHz
v: height 600 start 637 end 643 total 666 clock 72.2Hz
800x600 (0x45) 49.5MHz +HSync +VSync
h: width 800 start 816 end 896 total 1056 skew 0 clock 46.9KHz
v: height 600 start 601 end 604 total 625 clock 75.0Hz
800x600 (0x46) 40.0MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz
v: height 600 start 601 end 605 total 628 clock 60.3Hz
800x600 (0x47) 36.0MHz +HSync +VSync
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz
v: height 600 start 601 end 603 total 625 clock 56.2Hz
640x480 (0x48) 31.5MHz -HSync -VSync
h: width 640 start 664 end 704 total 832 skew 0 clock 37.9KHz
v: height 480 start 489 end 491 total 520 clock 72.8Hz
640x480 (0x49) 31.5MHz -HSync -VSync
h: width 640 start 656 end 720 total 840 skew 0 clock 37.5KHz
v: height 480 start 481 end 484 total 500 clock 75.0Hz
640x480 (0x4a) 30.2MHz -HSync -VSync
h: width 640 start 704 end 768 total 864 skew 0 clock 35.0KHz
v: height 480 start 483 end 486 total 525 clock 66.7Hz
640x480 (0x4b) 25.2MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
v: height 480 start 490 end 492 total 525 clock 60.0Hz
640x480 (0x4c) 25.2MHz -HSync -VSync
h: width 640 start 656 end 752 total 784 skew 0 clock 32.1KHz
v: height 480 start 490 end 492 total 509 clock 63.1Hz
720x400 (0x4d) 35.5MHz -HSync -VSync
h: width 720 start 738 end 846 total 900 skew 0 clock 39.4KHz
v: height 400 start 421 end 423 total 449 clock 87.8Hz
720x400 (0x4e) 28.3MHz -HSync +VSync
h: width 720 start 738 end 846 total 900 skew 0 clock 31.5KHz
v: height 400 start 412 end 414 total 449 clock 70.1Hz
LVDS1 connected 1024x768+0+0 (0x42) normal (normal left inverted right x axis y axis) 289mm x 21mm
Identifier: 0x3c
Timestamp: 100526
Subpixel: horizontal rgb
Clones:
CRTC: 1
CRTCs: 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID_DATA:
00ffffffffffff00320c00b900000000
00100102802115780a0f109758528828
23505400000001010101010101010101
010101010101d51b00a0502017303020
26002115100000190000000000000000
00000000000000000000000000fe004c
475068696c6970734c43440a000000fe
004c503135345730312d544c414a0036
BACKLIGHT: 7 (0x00000007) range: (0,7)
Backlight: 7 (0x00000007) range: (0,7)
scaling mode: Fullscreen
supported: Non-GPU Fullscreen No scale Aspect
1280x800 (0x4f) 71.2MHz -HSync -VSync +preferred
h: width 1280 start 1328 end 1360 total 1440 skew 0 clock 49.5KHz
v: height 800 start 802 end 808 total 823 clock 60.1Hz
1024x768 (0x42) 65.0MHz -HSync -VSync *current
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz
v: height 768 start 771 end 777 total 806 clock 60.0Hz
800x600 (0x46) 40.0MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz
v: height 600 start 601 end 605 total 628 clock 60.3Hz
640x480 (0x50) 25.2MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
v: height 480 start 490 end 492 total 525 clock 59.9Hz
TV1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x3d
Timestamp: 100526
Subpixel: unknown
Clones:
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
bottom margin: 37 (0x00000025) range: (0,100)
right margin: 46 (0x0000002e) range: (0,100)
top margin: 36 (0x00000024) range: (0,100)
left margin: 54 (0x00000036) range: (0,100)
mode: NTSC-M
supported: NTSC-M NTSC-443 NTSC-J PAL-M
PAL-N PAL 480p@59.94Hz 480p@60Hz
576p 720p@60Hz 720p@59.94Hz 720p@50Hz
1080i@50Hz 1080i@60Hz 1080i@59.94H

I guess it would be very helpful if someone could post his or her

*xorg.conf* file of a Knoppix distribution as it should have an entry for pretty much all hardware, especially the entry for

*generic monitor* which should work when modified to my monitor in case.

Thanks a lot guys and please forgive me when there is thread that provides a perfect answer!!