Hi Gerry,

Try contacting the main dev. mailing-list of DirectFB. I'm sure you'll get an answer there.

Btw, DirectFB-1.5.3 is rather old, DirectFB-1.6.1 is rather the latest stable release.

-Ilyes

On Aug 28, 2012 1:04 AM, "Gerry Reno" <greno@verizon.net> wrote:
On 08/24/2012 06:56 PM, Gerry Reno wrote:
> I have had no success whatsoever getting DirectFB to run under F17 as a regular user on my HP laptop.
>
> # yum list DirectFB
>
> Installed Packages
> directfb.x86_64                                              1.5.3-7.fc17
> @updates
>
>
> I have discussed the problems on the DirectFB mailing list and they direct me back to the distro.
>
> When trying to run any DirectFB command as a regular user I get permission errors like this:
>
> $ dfbinfo
>
>    ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.5.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
>         (c) 2001-2010  The world wide DirectFB Open Source Community
>         (c) 2000-2004  Convergence (integrated media) GmbH
>       ----------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2012-05-19 15:35)
> (*) Direct/Memcpy: Using Generic 64bit memcpy()
> (!) DirectFB/core/vt: Error opening `/dev/tty1'!
>     --> Permission denied
> (!) DirectFB/Core: Could not initialize 'system_core' core!
>     --> A general initialization error occured
> (#) DirectFBError [DirectFBCreate() failed]: A general initialization error occured
>
>
> Even when I go and change the permissions on /dev/ttyX and /dev/fb/0 and then put those into udev rules then I still get
> an error about MEDIUMRAW mode.
>
>
> I am able to run some DirectFB commands as root but that is no good for creating app for general user.
>
>
> Can anyone, developer, packager, shed some light on why DirectFB will not run on F17 as a regular user?
>
> Thank you.
>
> .
>

So after fixing permissions on tty and fb  I can get to here:

$ dfbinfo

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.5.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2010  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2011-08-23 22:08)
(!) DirectFB/fbdev/vt: K_MEDIUMRAW failed!
    --> Operation not permitted
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> A general initialization error occured
(#) DirectFBError [DirectFBCreate() failed]: A general initialization error occured
$


What needs to be done to fix this error?   Google is absolutely no help.






--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel