[95528] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Xfree86 with ATI Xpert98

daemon@ATHENA.MIT.EDU (Andreas Kainz)
Mon Oct 19 09:41:36 1998

To: redhat-list@redhat.com
From: Andreas Kainz <aka@gams.at>
In-Reply-To: Your message of "19 Oct 1998 13:21:22 -0000."
             <19981019132122.6860.qmail@mail2.redhat.com> 
Date: Mon, 19 Oct 1998 15:30:51 +0200
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

hi!

the problem No.1 ( Xconfigurator does not detect free video ram for ATI )
is easily fixed.
(I reported it several months ago on some redhat bug report form
with the following solution included)

the problem is that the ATI server does not report free video ram
in the format which is expected by Xconfigurator ;-)

greetings,
andreas

diff -u -r Xconfigurator-3.57.orig/Xconfigurator.c 
Xconfigurator-3.57/Xconfigurator.c
--- Xconfigurator-3.57.orig/Xconfigurator.c	Thu May  7 18:27:50 1998
+++ Xconfigurator-3.57/Xconfigurator.c	Wed Aug 19 22:45:02 1998
@@ -2243,7 +2243,7 @@
     }
 
     /* find ram information */
-    snprintf(cmd, sizeof(cmd), "grep videoram: %s >> %s", tfilenm1, tfilenm3);
+    snprintf(cmd, sizeof(cmd), "grep -i 'video *ram:' %s >> %s", tfilenm1, 
tfilenm3);
     if (system(cmd)) { 
 	unlink(tcfgnm);
 	unlink(tfilenm1);






-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post