Quoting Chad Hardin ([EMAIL PROTECTED]):
> > Quoting Chad Hardin ([EMAIL PROTECTED]):
> >> I have patched the kernel for the vmware FB and done new builds of it,
> >> directfb, and directfb-examples.  Yes, I did a modprobe vmware and it seems
> >> to initialize well.
> >> 
> >> I can't run any of the directfb-examples.  The error message is:
> >> "vmwarefb: Acceleration cannot be disabled once it it's initialized"
> >> This looks like it is coming fro mthe kernel
> >> 
> >> The stdout errors from the examples are:
> >> (!)DirectFB/core/fbdev/ Could not disable console acceleration!
> >>     -> Invalid Argument
> >> (!) DirectFB/core: Error during initialization: dfb_fbdev_initialize()
> > 
> > You have to pass a kernel option "video=vmware:noaccel" or a module option
> > "noaccel=1" to be able to run framebuffer applications due to a bug in vmware.
> > 
> > You have to do a power off after running with acceleration.
> 
> Thanks! works great!
> 
> One question: If DirectFB is compiled with multi-app then do ALL currently
> running  directFB apps need to be run as "root".

The following works for me:

I start XDirectFB as a normal user, but the binary has suid root.

-rws--x--x    1 root     staff        1.2M Sep 27 17:14 /usr/local/X11R6/bin/XDirectFB

You can use any other "master" DirectFB application using these privileges,
e.g. a simple application that only does the initialization and sleeps forever.

Every other application can be started by the normal user without any root
privileges or suid root. But you need read-write access to /dev/fb*.

crw-rw----    1 root     fb        29,   0 Mar  3  1999 /dev/fb0

You should create a group "fb" and add the user.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to