I'm trying to run directfb as a regular user the same way I've been able to do 
for years prior to the recent releases of
Fedora 16 and 17.



On 08/28/2012 07:02 PM, Chuck McManis wrote:
> Maybe I'm mistaken, directfb is not a 'friendly' way to do user level things, 
> it seems to work really well in the
> embedded market where everything runs as root.
>
> What are you trying to do exactly?
> --Chuck
>
>
> On Tue, Aug 28, 2012 at 9:45 AM, Gerry Reno <gr...@verizon.net 
> <mailto:gr...@verizon.net>> wrote:
>
>     On 08/28/2012 12:28 PM, Gerry Reno wrote:
>     > On 08/28/2012 12:03 PM, Gerry Reno wrote:
>     >> I have had no success whatsoever getting DirectFB to run under Fedora 
> 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 user mailing list but 
> without any resolution.
>     >>
>     >> 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.
>     >>
>     >> $ 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
>     >> $
>     >>
>     >>
>     >> 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?
>     >>
>     >> My laptop has one of the new Intel Ivy Bridge CPU w/iGPU (Intel 
> HD4000) plus Nvidia Geforce GT 650M
>     >>
>     >> Not sure that would have any bearing on this though as I've 
> encountered this problem on other older processors
>     as well.
>     >>
>     >> Thank you.
>     >>
>     >> .
>     >>
>     >>
>     > Also I installed DirectFB 1.6.1 into /usr/local and tried again but 
> same result:
>     >
>     > $ 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
>     >
>     >
>     >
>     >
>
>     And if I run dfbinfo as root user I get an Undefined Symbol error:
>
>     # 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()
>     ...
>     (!) Direct/Modules: Unable to dlopen 
> `/usr/lib64/directfb-1.5-0/gfxdrivers/libdirectfb_vdpau.so'!
>         --> /usr/lib64/directfb-1.5-0/gfxdrivers/libdirectfb_vdpau.so: 
> undefined symbol: XUnlockDisplay
>
>
>     So many problems.
>
>
>
>     _______________________________________________
>     directfb-dev mailing list
>     directfb-dev@directfb.org <mailto:directfb-dev@directfb.org>
>     http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
>
>
>
> _______________________________________________
> directfb-dev mailing list
> directfb-dev@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev


_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to