2003-09-30 21:05:15

by Henrik Christian Grove

[permalink] [raw]
Subject: Re: Radeon framebuffer problems i 2.6.0-test6

Henrik Christian Grove <[email protected]> writes:

> Searching through the archives I have found some reports of problems
> with the radeon framebuffer, but done that seems to fully match my
> experiences.

So I forgor the question: Am I doing something totally wrong? Is there
something I can do to make the Radeon framebuffer work?

.Henrik

--
... applications which need to address vast amounts of memory
(e.g., big scientific crankers, large databases, emacs) ...
-- fra en artikel i LWN

2003-09-30 23:31:51

by Peter Chubb

[permalink] [raw]
Subject: Radeon framebuffer problems i 2.6.0-test6



Try this patch that's been floating around for a while.

Ani, can you please push this patch to Linus? It fixes the Radeon
problems for a lot of people.


===== drivers/video/radeonfb.c 1.30 vs edited =====
--- 1.30/drivers/video/radeonfb.c Fri Aug 1 01:58:45 2003
+++ edited/drivers/video/radeonfb.c Tue Sep 9 13:18:36 2003
@@ -2090,7 +2090,7 @@

}
/* Update fix */
- info->fix.line_length = rinfo->pitch*64;
+ info->fix.line_length = mode->xres_virtual*(mode->bits_per_pixel/8);
info->fix.visual = rinfo->depth == 8 ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_DIRECTCOLOR;

#ifdef CONFIG_BOOTX_TEXT

2003-09-30 22:05:46

by Peter Osterlund

[permalink] [raw]
Subject: Re: Radeon framebuffer problems i 2.6.0-test6

Henrik Christian Grove <[email protected]> writes:

> I have an Asus L3800C laptop with a Radeon Mobility 7500 graphics
> chip.
>
> I have made three slightly different 2.6.0-test6 kernels, called
> test6-1, test6-2 and test6-3. The only differences are what framebuffer
> drivers are included. Test6-1 includes both the vga16 driver and the
> radeon driver, test6-2 only includes the radeon driver, and test6-3 only
> includes the vga16 driver.
>
> With test6-2 I get a framebuffer that looks like it has a sync
> problem. Horizontal lines are horizontal, but vertical lines are
> displayed as individual dots, for each horizontal line of pixels 8
> pixels further right.

See http://www.ussg.iu.edu/hypermail/linux/kernel/0308.3/0637.html
That patch fixed the same problem for me.

--
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340