On 7/18/08, Antonin Vecera <[EMAIL PROTECTED]> wrote:
> I proposed a patch which turns off hw acceleration for vga if you boot
> in VMware.
> But now I find out that it is necessary to do the same in installation tree.
> So, if anybody can, please, correct this file /386/bin/aux/vmware on
> installation CD (add 1 line):

The file you're looking for seems to be /sys/lib/dist/pc/sub/vmware

> #!/bin/rc
>
> if(aux/isvmware -s){
>       echo hwaccel off >'#v/vgactl'           <-- add this command
>       echo -n off >'#P/i8253timerset'
>       for(i in '#S'/sd??)
>               if(test -f $i/ctl)
>                       echo dma on >$i/ctl
> }

I think it would be good to place the for-loop in a "if(~ $dmamode
yes)" as well.

Greetings, Sander.

Reply via email to