Bug#342053: Boot-time script to disable DFB's HW acceleration

2005-12-13 Thread Attilio Fiandrotti
This script should disable DFB's harware acceleration for those vesa 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 t

Bug#342053: Boot-time script to disable DFB's HW acceleration

2005-12-13 Thread Sven Luther
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 broke

Bug#342053: Boot-time script to disable DFB's HW acceleration

2005-12-13 Thread Geert Stappers
On Tue, Dec 13, 2005 at 10:38:10AM +0100, Attilio Fiandrotti wrote: > > #!/path/to/interpreter > #List of vesa drivers that require DFB's HW acceleration to be disabled > BAD_LIST="atyfb nvidiafb" > > if [ -z "DISABLE_FB_ACCELERATION" ]; then > echo "no-hardware" >>/etc/directfbrc > el

Bug#342053: Boot-time script to disable DFB's HW acceleration

2005-12-13 Thread Attilio Fiandrotti
Sven Luther wrote: 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 :) ok, now it's clear to me: DFB's

Bug#342053: Boot-time script to disable DFB's HW acceleration

2005-12-13 Thread Sven Luther
On Tue, Dec 13, 2005 at 01:02:04PM +0100, Attilio Fiandrotti wrote: > Sven Luther wrote: > >>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