[Hardy] how to extend desktop with intel driver

Asked by Johannes Schmid on 2008-03-11

When I updated to hardy, first the default resolution changed from 1280x800 to 1024x768 though this could be fixed using the configuration applet. (just a bit annoying...)

But, setting the screen resolution of a second monitor to 1680x1080 was not possible, maximum resolution was 1280x800. 915resolution would have fixed it but it cannot be installed together with the newer intel driver.

In addition it would be nice to be able to add an options for Xinerama in the applet instead of defaulting to clone.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-intel Edit question
Assignee:
No assignee Edit question
Solved by:
Johannes Schmid
Solved:
2008-05-11
Last query:
2008-05-11
Last reply:
2008-05-11
unggnu (unggnu) said : #1

The new Intel driver doesn't need 915resolution anymore since it recognizes wide screen resolution on its own and Xinerama isn't supported anymore because it was replaced with xrandr.
I guess the problem is your old xorg.conf. Please regenerate a new one with the command "sudo dpkg-reconfigure xserver-xorg" and restart X.
If it still happens please provide the following information:

/etc/X11/xorg.conf
/var/log/Xorg.0.log
output of lspci -vvnn
output of sudo ddcprobe
output of xrandr

Maybe the Virtual limitation could be a problem. How do you want to configure your second monitor? Clone mode, left or right of or something like that?

Johannes Schmid (jhs.schmid) said : #2

Thanks for your reply!

Well, I did not have any xorg.conf (is it still needed?). Anyway, after I reconfigured xserver-xorg and created an xorg.conf I could enable clone mode.

Anyway, I don't want clone mode so I probably want xrandr (with extern monitor on the left). Is there any GUI (displayconfig-gtk did not work) or do I have to edit the configuration by hand somewhere?

Thanks!

Output of xrandr:
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1680 x 1680
VGA connected (normal left inverted right x axis y axis)
   1680x1050 59.9 + 60.0
   1280x1024 75.0 59.9
   1440x900 75.0 59.9
   1280x960 59.9
   1152x864 75.0 74.8
   1024x768 75.1 60.0
   832x624 74.6
   800x600 75.0 60.3 56.2
   640x480 75.0 60.0
   720x400 70.1
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800 60.0*+ 60.0
   1280x768 60.0
   1024x768 60.0
   800x600 60.3
   640x480 59.9
TV disconnected (normal left inverted right x axis y axis)

unggnu (unggnu) said : #3

Just add the follow line to your xorg.conf device section:

Virtual 2960 1050

The problem is that the Intel driver doesn't support DRI (hardware acceleration) with Virtual sizes over 2048 (Bug #146859). This is an hardware limitation for older Intel hardware but afaik not for newer (at least i965). With this option it should be possible to use the external monitor with native resolution left or right of your LFP but afaik only without DRI. Since Hardy you have a gui for xrandr - Screen resolution.
Below or above would work with DRI but it isn't so comfortable :-D . I personally disable my LFP every time the external monitor is connected.
If X doesn't start after adding the option you possibly experience bug #188178 which could be fixed through adding another line mentioned in the report.

unggnu (unggnu) said : #4

Btw. examining the information you have given us, this does not appear to be a bug report and subsequently we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs.
For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs

unggnu (unggnu) said : #5
Agustin Lobo (aloboaleu) said : #6

I have the same problem, have followed these directions and could not solve it.
Johannes, did you manage to get an extended desktop with xinerama? I just
get a cloned display, and for this I have to boot
with both screens connected and on. I've not been able to get
anything on the external display unless I boot with it
connected.

I made this xorg.conf, but had to rename it and reboot as
X would not start with it. I'm currently working with no
xorg.conf file.
Thanks!

Agus

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
 Identifier "Synaptics Touchpad"
 Driver "synaptics"
 Option "SendCoreEvents" "true"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
 Identifier "Configured Video Device"
 Boardname "Intel 945"
 Busid "PCI:0:2:0"
 Driver "i810"
 Screen 0
 Vendorname "Intel"
 Option "MonitorLayout" "CRT,LFP"
 Option "AccelMethod" "EXA"
        Option "ExaNoComposite" "false"
        Option "MigrationHeuristic" "greedy"
 Virtual 2960 1050
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
 Vendorname "Generic LCD Display"
 Modelname "LCD Panel 1024x768"
 Horizsync 31.5-48.0
 Vertrefresh 56.0 - 65.0
  modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
 Gamma 1.0
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
 Defaultdepth 24
 SubSection "Display"
  Depth 24
  Modes "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
  screen 0 "Default Screen" 0 0
  screen 1 "screen1" leftof "Default Screen"
 Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
 Load "glx"
 Load "GLcore"
 Load "dri"
 Load "v4l"
EndSection
Section "device" #
 Identifier "device1"
 Boardname "Intel 945"
 Busid "PCI:0:2:0"
 Driver "i810"
 Screen 1
 Vendorname "Intel"
 Option "MonitorLayout" "CRT,LFP"
 Virtual 2960 1050
EndSection
Section "screen" #
 Identifier "screen1"
 Device "device1"
 Defaultdepth 24
 Monitor "monitor1"
 SubSection "Display"
  Depth 24
  Modes "1280x1024@60" "1280x960@75" "1280x960@60" "1400x1050@60" "1280x1024@75" "1400x1050@75" "1152x864@75" "1600x1200@65" "1024x768@60" "1600x1200@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
 EndSubSection
EndSection
Section "monitor" #
 Identifier "monitor1"
 Vendorname "ViewSonic"
 Modelname "ViewSonic VP191s"
 Horizsync 30-82
 Vertrefresh 50-85
  modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
  modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
  modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
  modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
  modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
  modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
 Gamma 1.0
EndSection
Section "ServerFlags"
 Option "Xinerama" "true"
EndSection

Johannes Schmid (jhs.schmid) said : #7

Hi!

I didn't use Xinerama but xrandr instead. After adding the Virtual 2960 1050 line I could set my resolutions in System->Settings->Resolution (with Hardy).

Regards,
Johannnes

Agustin Lobo (aloboaleu) said : #8

...and this the output of xrandr and sudo ddcprobe:
alobo@alobo-laptop:~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
VGA connected (normal left inverted right x axis y axis)
   1024x768 84.9 75.1 70.1 60.0
   832x624 74.6
   800x600 84.9 72.2 75.0 60.3 56.2
   640x480 84.6 75.0 72.8 66.7 60.0
   720x400 70.1
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768 60.1*+ 85.0 75.0 70.1 60.0
   832x624 74.6
   800x600 85.1 72.2 75.0 60.3 56.2
   640x480 85.0 72.8 75.0 59.9
   720x400 85.0
   640x400 85.1
   640x350 85.1
TMDS-1 disconnected (normal left inverted right x axis y axis)
TV disconnected (normal left inverted right x axis y axis)

alobo@alobo-laptop:~$ sudo ddcprobe
vbe: VESA 3.0 detected.
oem: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
vendor: Intel Corporation
product: Intel(r) 82945GM Chipset Family Graphics Controller Hardware Version 0.0
memory: 7872kb
mode: 1280x1024x256
mode: 1280x1024x64k
mode: 1280x1024x16m
mode: 1024x768x256
mode: 1024x768x64k
mode: 1024x768x16m
mode: 640x480x16m
mode: 800x600x64k
mode: 800x600x16m
mode: 640x480x256
mode: 800x600x256
mode: 640x480x64k
Calling INT 0x15 (F000:FEA8)
 EAX is 0x5F45
Calling INT 0x15 (F000:FEA8)
 EAX is 0x5F45
edid:
edidfail

Agustin Lobo (aloboaleu) said : #9

Johannnes,

Do you get a display in which you can have different things
or do you just get a replicate of the LCD screen as you would
do for a projector?

Where did you add the Virtual 2960 1050 line? do you have a xorg.conf file? could you send me yours as an example?

Agus