← Back to team overview

mactel-support team mailing list archive

[Bug 289566] Re: dualhead with "gnome-display-properties" on MacBook 4, 1 does not work

 

Hi!

I did some more testing today.

It is working almost now. It's a bit tricky to explain.
One big problem was caused by compiz.

Without compiz, I could configure a dualscreen,
that worked almost, but 256 pixel in horizontal direction on
the Mac screen were still cloned (two mouse pointers, ...)

Compiz version: 1:0.7.8-0ubuntu4.1

I try to explain what I did step by step.

1. boot MacBook WITHOUT external monitor attached,
compiz enabled and with a std xorg.conf:
Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection




2. attach external monitor
3. start gnome-display-properties
4. laptop screen and external screen are detected with their native resolution:
 1280x800@60Hz and 1680x1050@60Hz
5. i configure dualscreen. The external remains black
It asks me to set virtual resolution.
xorg.conf

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	SubSection "Display"
		Virtual	2960 1050
	EndSubSection
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection


(Looks correct.)

6. I alt-ctrl-backspace out of X and login again
7. The dualscreen is buggy: the resolution of both monitors is correct
(1280x800 and  1680x1050), but it is not one big dualhead screen. 
On the laptop screen there seems to be a smaller screen within,
with a resolution of 1024x768. I can 't move the mouse outside this
area. By dragging a window to the external monitor I can "free" the mouse.
On the other display is no refresh of the background, when compiz
enabled.  See the two pictures. On the pictures you can also see
from the background picture, that the desktop is totally confused.


When I disable compiz, the refresh problem is gone, but invicible borders
remain
8. I alt-ctrl-backspace out of X and login again
9. Now it works almost! Both screens have the right resolution.
On the laptop there is still the smaller screen within (1024@768),
but no invicible boardes. The rest of the screen in horzontal dir 
 (from 1024 to 1280= 256 pixel) 
is a cloned area of the left beginning of the external area. For these
256 pixel the mouse will appear on both screens. The desktop backgound
is still as confused as on the pictures.


** Attachment added: "during step 7."
   http://launchpadlibrarian.net/19668378/post.tar.gz

-- 
dualhead with "gnome-display-properties" on MacBook 4,1 does not work
https://bugs.launchpad.net/bugs/289566
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.

Status in Mactel Support: New
Status in “xserver-xorg-video-intel” source package in Ubuntu: Incomplete

Bug description:
Binary package hint: xserver-xorg-video-intel

Hardware:

~$ sudo dmidecode -s system-product-name
MacBook4,1

Linux: Ubuntu 8.10 RC

A dualhead configuration with xserver-xorg-video-intel 2:2.4.1-1ubuntu10 does not work. I have tested it with "gnome-display-properties", from gnome 2.24.


I used three different xorg.conf, but none of them
lead to a real split screen configuration:


-----------------------------------------------------------------------

1.) The default xorg.conf after installation:

[CODE]

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

[\CODE]

If the external monitor is not plugged in,
the default conf will set the resolution to the native
value "1280x800".

If the external monitor is plugged in, it
will set the resolution to "1023x768" for both monitors
and clone the screen.

-----------------------------------------------------------------------

2.) The configuration from the gnome-display-properties tool:

[CODE]

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	SubSection "Display"
		Virtual	2048 768
	EndSubSection
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

[\CODE]

This works very buggy. The monitors have different resolution, but
its not possible to drag the mouse from one monitor to the other.
Also, the second monitor never gets a refresh, so all output
stays forever on the screen.

-----------------------------------------------------------------------

3.) I tried to write my own configuration:

[\CODE]

Section "Device"
	Identifier	"Configured Video Device1"
        Screen 0
EndSection

Section "Monitor"
	Identifier	"Configured Monitor1"
EndSection

Section "Screen"
	Identifier	"Default Screen1"
	Monitor		"Configured Monitor1"
	Device		"Configured Video Device1"
EndSection

Section "Device"
	Identifier	"Configured Video Device2"
        Screen 1
EndSection

Section "Monitor"
	Identifier	"Configured Monitor2"
EndSection

Section "Screen"
	Identifier	"Default Screen2"
	Monitor		"Configured Monitor2"
	Device		"Configured Video Device2"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
        # singlehead
        #screen "Default Screen1"
        # dualhead
        screen 0 "Default Screen1" 0 0
        screen 1 "Default Screen2" rightof "Default Screen1"
	#Option   "Xinerama" "On"
        Option "Clone" "Off"
EndSection

[\CODE]

It didn't work with "screen 0" and "screen 1". It could only clone
the displays.

Regards,
beauman