Page 1 of 1
(T61)Ext-vga in Linux with 'intel' driver.
Posted: Wed Dec 19, 2007 7:59 pm
by tylerwylie
Has anyone gotten this to work? I've gotten it to the point that the displays will both turn on the backlight, but remain black, and then my system will hang and I have to do a hard reboot.
I've tried multiple auto-configuration tools in Ubuntu and Fedora, and manually pushing one together via the ThinkWiki website to no avail.
I've tested ext-vga just fine in Windows(ugh) XP so the hardware seems to be working.
MOD EDIT: Moved to linux forum.
Posted: Wed Jan 02, 2008 8:42 pm
by tylerwylie
Bump

Posted: Fri Jan 04, 2008 12:51 am
by lightweight
What's your xorg.conf? Please use the code tags when posting. Already tried xrandr?
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
Posted: Fri Jan 04, 2008 5:44 pm
by tylerwylie
I tried the xrandr howto with modifying my xorg.conf and it would not work. Using system-config-display and a lot of other manual configurations would cause my system to lock up when starting X.
Here's my generic xorg.conf
Code: Select all
Section "ServerLayout"
»·Identifier "Default Layout"
»·Screen 0 "Screen0" 0 0
»·InputDevice "Keyboard0" "CoreKeyboard"
»·InputDevice "Synaptics" "CorePointer"
EndSection
Section "InputDevice"
»·Identifier "Keyboard0"
»·Driver "kbd"
»·Option»· "XkbModel" "pc105"
»·Option»· "XkbLayout" "us+inet"
EndSection
Section "InputDevice"
»·Identifier "Synaptics"
»·Driver "synaptics"
»·Option»· "Device" "/dev/input/mice"
»·Option»· "Protocol" "auto-dev"
»·Option»· "Emulate3Buttons" "yes"
EndSection
Section "Device"
»·Identifier "Videocard0"
»·Driver "intel"
»·Option»· "monitor-TV" "TV"
# Option "NoDRI"
EndSection
Section "Monitor"
»·Identifier "TV"
»·Option » "Ignore" "True"
EndSection
Section "Screen"
»·Identifier "Screen0"
»·Device "Videocard0"
»·DefaultDepth 24
»·SubSection "Display"
»·»·Viewport 0 0
»·»·Depth 24
»·»·Virtual» 2048 2048
»·EndSubSection
EndSection
Posted: Fri Jan 04, 2008 10:35 pm
by RealBlackStuff
Have you tried the Intel drivers from
www.intellinux.org ?
Posted: Mon Jan 07, 2008 10:18 am
by miketl
I have it working on my X61s.
xorg.conf:
Code: Select all
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
# MTL TrackPoint:
Option "Protocol" "ExplorerPS/2"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
Option "EmulateWheelTimeOut" "200"
Option "Emulate3TimeOut" "50"
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Device"
Identifier "Intel GM965/GL960"
Boardname "intel"
Busid "PCI:0:2:0"
Driver "intel"
Screen 0
EndSection
Section "Monitor"
Identifier "Laptop panel"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel GM965/GL960"
Monitor "Laptop panel"
SubSection "Display"
Virtual 1280 1792
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection
Here's the script that I wrote to enable the VGA port:
Code: Select all
#!/bin/sh
xrandr=/usr/bin/xrandr
add1024 () {
$xrandr --addmode VGA 1024x768
}
add1280 () {
$xrandr --addmode VGA 1280x1024
}
laptopMode () {
$xrandr --output LVDS --mode $1
}
projectorOff () {
$xrandr --output VGA --off
laptopMode 1024x768
}
projectorOn () {
$xrandr --output VGA --mode $1 --rate 65 --$2 LVDS
laptopMode $3
}
clone1024 () {
add1024
projectorOn 1024x768 same-as 1024x768
}
dual1024 () {
add1024
projectorOn 1024x768 above 1024x768
}
clone1280 () {
add1280
projectorOn 1280x1024 same-as 1280x1024
}
dual1280 () {
add1280
projectorOn 1280x1024 above 1024x768
}
doMenu () {
echo "0. Projector off"
echo "1. 1024x768 - clone"
echo "2. 1024x768 - dual"
echo "3. 1280x1024 - clone"
echo "4. 1280x1024 - dual"
read -p "Select a display mode [1]: " selection
doAction $selection
}
doAction () {
if [ "$1" = "0" ]; then projectorOff
elif [ "$1" = "1" -o "$1" = "" ]; then clone1024
elif [ "$1" = "2" ]; then dual1024
elif [ "$1" = "3" ]; then clone1280
elif [ "$1" = "4" ]; then dual1280
else echo "Invalid action specified."
fi
}
if [ "$#" = "0" ]
then doMenu
else doAction $1
fi
Maybe you can adapt this stuff to suit your needs. One thing to consider is if you use Compiz, you need your virtual screen size to be under 2048x2048 in dual-head mode. It's not as much of an issue in clone mode.
Posted: Mon Jan 07, 2008 11:57 am
by tylerwylie
Will your xorg.conf do Xinerama?
Posted: Tue Jan 08, 2008 9:44 am
by miketl
Not sure, I don't have any experience with Xinerama.
Posted: Tue Jan 08, 2008 2:41 pm
by corsac
Xinerama is deprecated in favor of XRandR in recent xorg releases.
Posted: Tue Jan 08, 2008 2:53 pm
by tylerwylie
So how do I use xrandr to extend the desktop instead of just clone? That's all I get when I use the Thinkwiki page.
Posted: Thu Jan 10, 2008 1:12 am
by tylerwylie
I got xrandr to finally extend my desktop, via adding the "NoDRI" option to my intel card.
One last issue I have is my monitor is flashing "Out of Range" due to the rate i suppose, here's what I get from xrandr -q
Code: Select all
% xrandr -q
Screen 0: minimum 320 x 200, current 2720 x 1024, maximum 2720 x 2048
VGA connected 1280x1024+1440+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 75.0*+ 76.0 75.0 70.9 59.9
1152x864 75.0 74.8
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 66.7 60.0
720x400 70.1
640x350 70.1
LVDS connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
1440x900 60.0*+ 50.0
1360x768 59.8 60.0
1280x800 60.0
1152x864 60.0
1280x768 60.0
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0 59.9
TMDS-1 disconnected (normal left inverted right x axis y axis)
How can I tell xrandr to run at 59.9 for just the one monitor? I tried xrandr --rate 60 and it blacked out my LVDS.
Posted: Thu Jan 10, 2008 1:23 am
by tylerwylie
Solved by just switching it out with a different monitor.
Posted: Fri Jan 11, 2008 7:38 am
by lightweight
Sorry for miaing your thread after asking for your conf. You could set HorizSync and VertRefresh for a second monitor in xorg.conf if you wanted. But if it ain't broke...