Thread (5 messages) 5 messages, 3 authors, 2003-06-10

Re: Computer with 1GB and radeonfb

flat view

From: Martin Sieper <hidden>
Date: 2003-06-05 12:06:24

Hi Jurriaan,

thank you for the answer.

On Sat, 31 May 2003 07:42:13 +0200, Jurriaan wrote:
The first one probably only affects the vesafb-driver. You could adapt
it to the radeonfb-driver, just search for the correct lines in the
radeonfb source and change them like the patch changes them.
There's nothing like booting a kernel whose sources you've changed
yourself to make you feel the power of open source :-)
I have look in the source radeonfb.c and have insert this:
--- linux-2.4.20/drivers/video/radeonfb.c.orig	2003-06-05 00:06:54.000000000 +0200
+++ linux-2.4.20/drivers/video/radeonfb.c	2003-06-01 12:19:07.000000000 +0200
@@ -1714,6 +1714,15 @@
 		}
 	}
 
+	/*
+	 * Hack for big memory (1GB main RAM) problem:
+	 * 	If the card memory bigger as 64MB
+	 *	so limit it to 64MB!
+	 */
+	if ((rinfo->video_ram / 1024) > 65536) {
+		rinfo->video_ram = 65536 * 1024;
+	}
+
 
 	RTRACE("radeonfb: probed %s %dk videoram\n", (rinfo->ram_type), (rinfo->video_ram/1024));
 
Now the radeonfb works in 8 bit mode but not perfect. There are pixel-trash 
when I scroll up/down. The 16 bit and 32 bit modes works but I have 
wrong colors and the same scroll problem. Any idea?

BTW: my Radeon 9100 has 128 MB RAM

 -Martin



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help