4 echo "ti-gfx: starting pvr driver"
6 BITSPERPIXEL
="$(fbset | awk '/geom/ {print $6}')"
7 YRES
="$(fbset | awk '/geom/ {print $3}')"
8 # Set RGBA ordering to something the drivers like
9 if [ "$BITSPERPIXEL" = "32" ] ; then
10 fbset
-rgba 8/16,8/8,8/0,8/24
12 # Try to enable triple buffering when there's enough VRAM
13 fbset
-vyres $
(( YRES
*3 ))
17 modprobe bufferclass_ti
19 pvr_maj
=$
(awk '$2=="pvrsrvkm" { print $1; }' /proc
/devices
)
22 mknod
/dev
/pvrsrvkm c
$pvr_maj 0
23 chmod 600 /dev
/pvrsrvkm
25 if ! /usr
/bin
/pvrsrvctl
--start --no-module; then
26 echo "ti-gfx: unable to start server"
31 echo "ti-gfx: stopping pvr driver"
50 echo "ti-gfx: Please use start, stop, or restart."