Thread (8 messages) 8 messages, 5 authors, 2004-09-26

Re: Re: Framebuffer console not working with matroxfb on 2.6

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-09-17 11:51:01

On Fri, 17 Sep 2004, Antonino A. Daplas wrote:
On Friday 17 September 2004 17:53, Geert Uytterhoeven wrote:
quoted
On Fri, 17 Sep 2004, Michal 'hramrach' Suchanek wrote:
quoted
However, I still get a minor problem with the driver.
When I switch between the default 640x480-60 mode and 1024x768-85 mode
the 1024x768 gets interlaced, with completely different timings. I have
to use fbset to restore it to 1024x768-85.
I think this is a `feature' of the new mode selection code. When I tried
booting my Radeon with `1024x768@100', I got 87 Hz interlaced...
Michal's problem is more of a failure to preserve the per-display var, which
should be fixed with recent mm or rc kernels.

Yours is more of boot mode selection problem and most drivers use
fb_find_mode() for that.  The default modedb does not have 1024x768@100
non-interlaced, so it passed the interlaced version to the driver, which it
happily accepted.  Thus, you get the interlaced version.
Modedb does have that mode! Before I've been using it for years on my PPC box.

linux-2.6.8.1/drivers/video/modedb.c:

    }, {
        /* 1024x768 @ 100Hz, 80.21 kHz hsync */
        NULL, 100, 1024, 768, 8658, 192, 32, 21, 3, 192, 10,
        0, FB_VMODE_NONINTERLACED
    }, {

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help