On Tue, Dec 13, 2005 at 10:38:10AM +0100, Attilio Fiandrotti wrote: > This script should disable DFB's harware acceleration for those vesa
Those are no vesa drivers, but fbdev drivers :) Vesa is only vesafb, the others are the real thing :) > drivers whose accelerated modes are known to be broken. > I think this script should be named something like "Sxxdisable_dfbhw.sh" > and should be installed into /lib/debian-installer.d and provided by > rootskel-gtk package. > Since this is meant mainly for PPC systems, Sven could you please have a > look at it? > A more appropriate name for "DISABLE_FB_ACCELERATION" boot option i've > added may be needed too. > > thanks > > Attilio > > > #List of vesa drivers that require DFB's HW acceleration to be disabled > BAD_LIST="atyfb nvidiafb" > > if [ -z "DISABLE_FB_ACCELERATION" ]; then where is this one taken from ? Maybe a better name would be dfb/hwaccel_disable or something such, i thought the all-cap names had been dropped, but i could be wrong. > echo "no-hardware" >>/etc/directfbrc > else > for driver in $BAD_LIST; do > if [ $(dmesg|grep $driver |wc -w) -gt 0 ];then I am not sure if dmesg + grep + wc is the best way to do this, but i also don't know how to best map the /proc/fb entries to module names, but we have this one, as well as : /sys/bus/pci/drivers/radeonfb/0000\:00\:10.0/graphics\:fb0 Which needs a 2.6 kernel though, but i don't think we are building 2.4 graphical d-i anyway. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]