Skip to contentSkip to conversation

Matrox G550, dual head, 1680x1050

DISCUSSION Hans-Jürgen Koch 2 participants 5 messages Mar 1, 2007 – Mar 2, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Hi,
I'm the proud owner of two NEC MultiSync 2070WNX monitors (1680x1050) and a Matrox G550 dual DVI card. I'm now trying to set up a dual head configuration with this equipment.

I'm booting with video=matroxfb:vesa:0x1BB, as there is no 1680x1050 vesa mode. This works, both monitors show the same and complain about the wrong resolution.

Now I start my X server (xorg.conf below) and wish to get a xinerama setup. Monitor 1 switches to 1680x1050 and shows a nice clean screen. Monitor 2 seems to have problems, though. I guess the card still outputs the 1280x1024 set up at boot time. Colours are correct, but the image is heavily distorted. It looks like the X server thinks it's 1680x1050 but in fact it's still 1280x1024.

I spent some time googling, but to no avail. Now my questions:

Is this a known limitation of matroxfb?
If yes, is it considered a bug? I could spend some time looking into the code. Do I have any chance to get this working in a reasonable dual head configuration? Any hints?

TIA,
Hans

Here's my xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)

Section "Files"

	FontPath	"unix/:7100"	# local font server
	FontPath	"unix/:7101"	# local ttf-font server
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

Section "Module"

	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"

EndSection

Section "InputDevice"

	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"

EndSection

Section "InputDevice"

	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"Emulate3Buttons"	"true"

EndSection

Section "Device"

	Identifier	"MatroxG550_1"
	Driver		"mga"
	BusID		"PCI:1:0:0"
	Option 		"OldDmaInit" "True"
	Screen		0

EndSection

Section "Device"

	Identifier	"MatroxG550_2"
	Driver		"mga"
	BusID		"PCI:1:0:0"
	Option 		"OldDmaInit" "True"
	Screen		1

EndSection

Section "Monitor"

	Identifier	"NECMonitor1"
	Option		"DPMS"
	HorizSync	32-82
	VertRefresh	56-75
	Modeline "1680x1050@60" 154.20 1680 1712 2296 2328 1050 1071 1081 1103

EndSection

Section "Monitor"

	Identifier	"NECMonitor2"
	Option		"DPMS"
	HorizSync	32-82
	VertRefresh	56-75
	Modeline "1680x1050@60" 154.20 1680 1712 2296 2328 1050 1071 1081 1103

EndSection

Section "Screen"

	Identifier	"LeftScreen"
	Device		"MatroxG550_1"
	Monitor		"NECMonitor1"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1680x1050" "1280x1024" 
	EndSubSection

EndSection

Section "Screen"

	Identifier	"RightScreen"
	Device		"MatroxG550_2"
	Monitor		"NECMonitor2"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1680x1050" "1280x1024" 
	EndSubSection

EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "LeftScreen" 0 0
Screen 1 "RightScreen" RightOf "LeftScreen"
Option "Xinerama" "On"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"

	Mode	0666

EndSection

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw
Quoted 16 lines · Hans-Jürgen Koch

Hi,
I'm the proud owner of two NEC MultiSync 2070WNX monitors (1680x1050) and a Matrox G550 dual DVI card. I'm now trying to set up a dual head configuration with this equipment.

I'm booting with video=matroxfb:vesa:0x1BB, as there is no 1680x1050 vesa mode. This works, both monitors show the same and complain about the wrong resolution.

Now I start my X server (xorg.conf below) and wish to get a xinerama setup. Monitor 1 switches to 1680x1050 and shows a nice clean screen. Monitor 2 seems to have problems, though. I guess the card still outputs the 1280x1024 set up at boot time. Colours are correct, but the image is heavily distorted. It looks like the X server thinks it's 1680x1050 but in fact it's still 1280x1024.

Quoted 7 lines

I spent some time googling, but to no avail. Now my questions:

Is this a known limitation of matroxfb?
If yes, is it considered a bug? I could spend some time looking into the code. Do I have any chance to get this working in a reasonable dual head configuration? Any hints?

IIRC, the current mga X server doesn't know how to deal with DVI (single or dual ports). DVI was only supported with matrox' binary module.

Alex

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw

Am Freitag, 2. März 2007 00:29 schrieb Alex Deucher:

Quoted 19 lines · Hans-Jürgen Koch
Quoted 18 lines

Hi,
I'm the proud owner of two NEC MultiSync 2070WNX monitors (1680x1050) and a Matrox G550 dual DVI card. I'm now trying to set up a dual head configuration with this equipment.

I'm booting with video=matroxfb:vesa:0x1BB, as there is no 1680x1050 vesa mode. This works, both monitors show the same and complain about the wrong resolution.

Now I start my X server (xorg.conf below) and wish to get a xinerama setup. Monitor 1 switches to 1680x1050 and shows a nice clean screen. Monitor 2 seems to have problems, though. I guess the card still outputs the 1280x1024 set up at boot time. Colours are correct, but the image is heavily distorted. It looks like the X server thinks it's 1680x1050 but in fact it's still 1280x1024.

I spent some time googling, but to no avail. Now my questions:

Quoted 9 lines
Quoted 4 lines

Is this a known limitation of matroxfb?
If yes, is it considered a bug? I could spend some time looking into the code. Do I have any chance to get this working in a reasonable dual head configuration? Any hints?

IIRC, the current mga X server doesn't know how to deal with DVI (single or dual ports). DVI was only supported with matrox' binary module.

Hi Alex,
thanks for your fast reply.
Currently, I've got both monitors connected with VGA cables. The card has some proprietary 60-pin or so connector, and I've got an adapter caple from that plug to 2xVGA. Both monitors show a stable picture, but only the picture on monitor #1 is usable. It really looks like the X server is trying to switch both channels to 1680x1050, but only succeeds with the first one.

Hans

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#3 lore raw

Am Freitag, 2. März 2007 00:49 schrieb Hans-Jürgen Koch:

Quoted 38 lines

Am Freitag, 2. März 2007 00:29 schrieb Alex Deucher:

Quoted 19 lines · Hans-Jürgen Koch
Quoted 18 lines

Hi,
I'm the proud owner of two NEC MultiSync 2070WNX monitors (1680x1050) and a Matrox G550 dual DVI card. I'm now trying to set up a dual head configuration with this equipment.

I'm booting with video=matroxfb:vesa:0x1BB, as there is no 1680x1050 vesa mode. This works, both monitors show the same and complain about the wrong resolution.

Now I start my X server (xorg.conf below) and wish to get a xinerama setup. Monitor 1 switches to 1680x1050 and shows a nice clean screen. Monitor 2 seems to have problems, though. I guess the card still outputs the 1280x1024 set up at boot time. Colours are correct, but the image is heavily distorted. It looks like the X server thinks it's 1680x1050 but in fact it's still 1280x1024.

I spent some time googling, but to no avail. Now my questions:

Quoted 8 lines
Quoted 4 lines

Is this a known limitation of matroxfb?
If yes, is it considered a bug? I could spend some time looking into the code. Do I have any chance to get this working in a reasonable dual head configuration? Any hints?

IIRC, the current mga X server doesn't know how to deal with DVI (single or dual ports). DVI was only supported with matrox' binary module.

Hi Alex,
thanks for your fast reply.
Currently, I've got both monitors connected with VGA cables. The card has some proprietary 60-pin or so connector, and I've got an adapter caple from that plug to 2xVGA. Both monitors show a stable picture, but only the picture on monitor #1 is usable. It really looks like the X server is trying to switch both channels to 1680x1050, but only succeeds with the first one.

Quoted 1 line

Hans

BTW, even xinerama "works": I can move the mouse cursor to the second monitor and it appears there, but also heavily distorted.

Hans

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#4 lore raw
In reply to Hans-Jürgen Koch
Quoted 30 lines · Hans-Jürgen Koch

Am Freitag, 2. März 2007 00:29 schrieb Alex Deucher:

Quoted 19 lines · Hans-Jürgen Koch
Quoted 18 lines

Hi,
I'm the proud owner of two NEC MultiSync 2070WNX monitors (1680x1050) and a Matrox G550 dual DVI card. I'm now trying to set up a dual head configuration with this equipment.

I'm booting with video=matroxfb:vesa:0x1BB, as there is no 1680x1050 vesa mode. This works, both monitors show the same and complain about the wrong resolution.

Now I start my X server (xorg.conf below) and wish to get a xinerama setup. Monitor 1 switches to 1680x1050 and shows a nice clean screen. Monitor 2 seems to have problems, though. I guess the card still outputs the 1280x1024 set up at boot time. Colours are correct, but the image is heavily distorted. It looks like the X server thinks it's 1680x1050 but in fact it's still 1280x1024.

I spent some time googling, but to no avail. Now my questions:

Quoted 9 lines
Quoted 4 lines

Is this a known limitation of matroxfb?
If yes, is it considered a bug? I could spend some time looking into the code. Do I have any chance to get this working in a reasonable dual head configuration? Any hints?

IIRC, the current mga X server doesn't know how to deal with DVI (single or dual ports). DVI was only supported with matrox' binary module.

Quoted 8 lines

Hi Alex,
thanks for your fast reply.
Currently, I've got both monitors connected with VGA cables. The card has some proprietary 60-pin or so connector, and I've got an adapter caple from that plug to 2xVGA. Both monitors show a stable picture, but only the picture on monitor #1 is usable. It really looks like the X server is trying to switch both channels to 1680x1050, but only succeeds with the first one.

you should probably ask on the xorg mailing list :) Dualhead is a bit flakey in the xorg driver at the moment, although work is being done to fix that. IIRC, the ordering is wrong when programming one of the PLLs.

Alex

Quoted 2 lines

Hans

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV