linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Hans-Jürgen Koch" <hjk@linutronix.de>
To: xorg@lists.freedesktop.org
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Matrox G550, dual head, 1680x1050
Date: Sun, 4 Mar 2007 22:47:21 +0100	[thread overview]
Message-ID: <200703042247.21590.hjk@linutronix.de> (raw)
In-Reply-To: <20070302152414.GC907@code-monkey.de>

Am Freitag, 2. März 2007 16:24 schrieb Tilman Sauerbeck:
> Hans-Jürgen Koch [2007-03-02 16:10]:
> > Am Freitag 02 März 2007 15:39 schrieb Tilman Sauerbeck:
> > > Hans-Jürgen Koch [2007-03-02 10:53]:
> > > > 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.
> > > >
> > > > [snip]
> > > >
> > > > Is this a known limitation of matroxfb? Or a X server bug?
> > >
> > > AFAIK matroxfb doesn't support the G550 dual DVI card. The mga X driver
> > > certainly doesn't support it yet.
> >
> > Well, at the moment I'm using the VGA outputs. Current status is:
>
> I believe/suspect the hardware doesn't care whether you use the 2VGA
> cable or the 2DVI cable. Unfortunately, I only have the dual-dvi cable
> so I cannot be sure. Last time I had a close look at dual-dvi was around
> christmas and I don't remember all the details ;)
>
> > * Without X (boot, VT) I get clean 1280x1024 on both monitors. The
> > monitors interpolate that to their native resolution, both show the same
> > image.

Meanwhile, I managed to get 1680x1050 to work with matroxfb. Here's proof that 
both monitors really work:

http://www.hjk-az.de/temp/g550-dualhead-fbcon-small.jpg

The left monitor is the primary head (/dev/fb0) and shows text on a VT. There 
I issued a command "fbi -d /dev/fb1 image.jpg" that shows a JPEG image on the 
second monitor. Note that there is no X running (The black-on-white text is 
due to a small patch I usually apply to vt.c).


>
> > * With a xinerama configuration, X starts without any (EE) errors.
> > Monitor1 shows a clean 1680x1050 image, Monitor2 a distorted image. I can
> > move the mouse or windows from one monitor to the other. The reason for
> > the distortion on monitor2 is most probably that the card is still
> > configured for 1280x1024 while the X server thinks it's 1680x1050.

Meanwhile I doubt this explanation. Here's what fbset has to say:

$ fbset -fb /dev/fb1 --show

mode "1680x1050-60"
    # D: 135.501 MHz, H: 65.396 kHz, V: 59.997 Hz
    geometry 1680 1050 1680 1050 32
    timings 7380 32 224 32 4 136 4
    rgba 8/16,8/8,8/0,8/24
endmode

So, even fbset thinks it's 1680x1050. But where does the distortion come 
from???

>
> I'm curious, can you describe the distortion in more detail/take a
> photo?

Yes, now I've got one:

http://www.hjk-az.de/temp/g550-xinerama-error-small.jpg

This shows a KDE login screen. Note that KDE scaled the background image with 
the Debian logo to cover both screens. The right screen is distorted, 
but "working": If I move a window over to the second screen, I see changes 
there.

Conclusion:

@matroxfb developers: Thanks a lot, guys! Well done! Most people I asked about 
having a dual-head framebuffer console at 1680x1050 thought it would be 
impossible.

@mga xorg developers: Well... Can you tell me why the kernel guys can 
initialize and use the second head and you can't? If you can give me hints 
where in the source I can start to look for the bug, I'm willing to spend 
some time there. Is there something I could try in my configuration?

Any hints?

Thanks,
Hans

       reply	other threads:[~2007-03-04 21:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200703021053.00955.hjk@linutronix.de>
     [not found] ` <200703021610.58188.hjk@linutronix.de>
     [not found]   ` <20070302152414.GC907@code-monkey.de>
2007-03-04 21:47     ` Hans-Jürgen Koch [this message]
2007-03-05  4:59       ` Matrox G550, dual head, 1680x1050 Petr Vandrovec
2007-03-05  6:33         ` Geert Uytterhoeven
2007-03-05  8:09           ` [Linux-fbdev-devel] " Michel Dänzer
2007-03-05  7:34         ` Hans-Jürgen Koch
2007-03-05 20:02         ` Hans-Jürgen Koch
2007-03-06  9:25           ` Petr Vandrovec
2007-03-06  9:38             ` [Linux-fbdev-devel] " Hans-Jürgen Koch
2007-03-06  9:48             ` Geert Uytterhoeven
2007-03-06 11:35               ` Petr Vandrovec
2007-03-05  6:59       ` Tilman Sauerbeck
2007-03-01 23:25 Hans-Jürgen Koch
2007-03-01 23:29 ` Alex Deucher
2007-03-01 23:49   ` Hans-Jürgen Koch
2007-03-01 23:56     ` Hans-Jürgen Koch
2007-03-02  1:49     ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200703042247.21590.hjk@linutronix.de \
    --to=hjk@linutronix.de \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=xorg@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).