[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Xfree86 with ATI Xpert98



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);







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]