[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#420419: xserver-xorg-video-intel: Chrashes on startup



retitle 420419 xserver-xorg-video-intel crashes with old dual-head config
forwarded 420419 https://bugs.freedesktop.org/show_bug.cgi?id=10706
thank you






Ruben Porras wrote:
> yup, it contains dual-head.
>   

Ok it explains the crash. There's already an upstream bug at
https://bugs.freedesktop.org/show_bug.cgi?id=10706

> Section "Device"
>         Identifier      "915-LCD"
>         Driver          "i810"
>         BusID           "PCI:0:2:0"
>         Option          "MonitorLayout" "CRT,LFP"
>         Screen          0
> EndSection
>
> Section "Device"
>         Identifier      "915-External"
>         Driver          "i810"
>         BusID           "PCI:0:2:0"
>         Option          "MonitorLayout" "CRT,LFP"
>         Screen          1
> #        Option          "Rotate" "CCW"
> EndSection
>   

Please keep a single entry here, and drop the MonitorLayout and Screen
lines.

> Section "Monitor"
>         Identifier      "LCD"
>         Option          "DPMS"
> EndSection
>
> Section "Monitor"
>         Identifier      "External"
>         Option          "DPMS"
> 	HorizSync	28-49
> 	VertRefresh	40-80
> EndSection
>   

Keep a single entry, drop the HorizSync and VertRefresh.

> Section "Screen"
>         Identifier      "LCD Screen"
>         Device          "915-LCD"
>         Monitor         "LCD"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1024x768"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1024x768"
>         EndSubSection
> EndSection
>
> Section "Screen"
>         Identifier      "External Screen"
>         Device          "915-External"
>         Monitor         "External"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1280x1024" "1024x768"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1280x1024" "1024x768"
>         EndSubSection
> EndSection
>   

Keep a single entry and drop the "Modes" lines.
Instead of the "Modes" line, add "Virtual 2048 2048" (or whatever
virtual screen size you need to put both monitors aside).

> Section "ServerLayout"
> 	Identifier	"Default Layout"
>         Screen                  "LCD Screen"
>         Screen                  "External Screen" LeftOf "LCD Screen"
> #        Screen                  "External Screen" RightOf "LCD Screen"
> #	Screen		"Default Screen"
>   

Keep a single Screen line without any LeftOf/RightOf indication.

To get the same behavior with this config, you may just do something like
    xrandr --output VGA --right-of LVDS
after starting X to place one monitor on the right of the other one.

> Section "DRI"
> 	Mode	0666
> EndSection
>   
This is the default now.

Brice




Reply to: