Re: X server crashing
Sylvain Archenault wrote:
> Sorry, forgot to mention I use
> xserver-xorg-video-i810 2.0.0-1
> xserver-xorg 7.1.0-18
>
and xserver-xorg-core 1.3.0.0.dfsg-1, right ?
>> I'm trying to setup a dual screen on my macbook running Debian SID.
>>
With the latest Xserver and Intel driver, there is no need to configure
all this in xorg.conf, xrandr will do it at runtime.
For instance, you do
xrandr --output VGA --right-of TMDS
to place the VGA monitor at the right of your LCD/DVI monitor.
>> Section "Device"
>> Identifier "Generic Video Card"
>> Driver "i810"
>> Screen 0
>> Option "MonitorLayout" "CRT,LFP"
>> BusID "PCI:0:2:0"
>> EndSection
>>
>> Section "Device"
>> Identifier "Device1"
>> Driver "i810"
>> Screen 1
>> Option "MonitorLayout" "CRT,LFP"
>> BusID "PCI:0:2:0"
>> EndSection
>>
No need for 2 devices here, no need for a MonitorLayout or Screen line.
>> Section "Monitor"
>> Identifier "Generic Monitor"
>> Option "DPMS"
>> HorizSync 28-64
>> VertRefresh 43-60
>> EndSection
>>
>> Section "Monitor"
>> Identifier "External Monitor"
>> Option "DPMS"
>> HorizSync 28-64
>> VertRefresh 43-60
>> EndSection
>>
Same here, and no need for HorizSync and VertRefresh.
>> Section "Screen"
>> Identifier "Default Screen"
>> Device "Generic Video Card"
>> Monitor "Generic Monitor"
>> DefaultDepth 24
>> SubSection "Display"
>> Depth 1
>> Modes "1280x800" "1024x768" "800x600" "640x480"
>> EndSubSection
>> SubSection "Display"
>> Depth 4
>> Modes "1280x800" "1024x768" "800x600" "640x480"
>> EndSubSection
>> SubSection "Display"
>> Depth 8
>> Modes "1280x800" "1024x768" "800x600" "640x480"
>> EndSubSection
>> SubSection "Display"
>> Depth 15
>> Modes "1280x800" "1024x768" "800x600" "640x480"
>> EndSubSection
>> SubSection "Display"
>> Depth 16
>> Modes "1280x800" "1024x768" "800x600" "640x480"
>> EndSubSection
>> SubSection "Display"
>> Depth 24
>> Modes "1280x800" "1024x768" "800x600" "640x480"
>> EndSubSection
>> EndSection
>>
>> Section "Screen"
>> Identifier "Secondary Screen"
>> Device "Device1"
>> Monitor "External Monitor"
>> DefaultDepth 24
>> SubSection "Display"
>> Depth 1
>> Modes "1024x768" "800x600"
>> EndSubSection
>> SubSection "Display"
>> Depth 4
>> Modes "1024x768" "800x600"
>> EndSubSection
>> SubSection "Display"
>> Depth 8
>> Modes "1024x768" "800x600"
>> EndSubSection
>> SubSection "Display"
>> Depth 16
>> Modes "1024x768" "800x600"
>> EndSubSection
>> SubSection "Display"
>> Depth 24
>> Modes "1024x768" "800x600"
>> EndSubSection
>> EndSection
>>
Same here. And no need for "Modes" lines.
But you have to add a line such as "Virtual 2048 2048" (or whatever you
need to put your outputs' resolutions) where you had a "Modes" line to
create a big virtual screen and place your XRandR outputs in it.
>> Section "ServerLayout"
>> Identifier "Dual-monitor Layout"
>> Screen 0 "Default Screen"
>> Screen 1 "Secondary Screen" LeftOf "Default Screen"
>> # Option "Clone" "On"
>> #Option "Xinerama" "On"
>> InputDevice "Generic Keyboard"
>> InputDevice "Configured Mouse"
>> InputDevice "Synaptics Touchpad"
>> EndSection
>>
Just keep Screen "Default Screen" and drop the 0 and the "Screen 1"
>> Section "DRI"
>> Mode 0666
>> EndSection
>>
666 is the default in Debian now.
Actually, I think your WHOLE xorg.conf is useless since everything is
the default, except maybe your keyboard config. You might want to drop
everything but this section :)
Brice
Reply to: