Re: F17: DirectFB

2012-09-06 Thread Gerry Reno
Trying to run directfb on F17 I noticed 5 issues: 1) libdirectfb_vdpau.so: undefined symbol: XUnlockDisplay (Bug 852740: fixed) 2) Unable to run DirectFB as a normal user (Bug 852745: open) 3) permissions on /dev/tty* and /dev/fb* not set by udev (probably should be addressed

Re: F17: DirectFB

2012-08-30 Thread Gerry Reno
On 08/30/2012 11:16 AM, Adam Jackson wrote: > On 8/30/12 9:26 AM, Gerry Reno wrote: > >> (*) DirectFB/FBDev: Found 'inteldrmfb' (ID 0) with frame buffer at >> 0xc0064000, 8100k (MMIO 0x, 0k) > > So this says you're using the intel drm driver... > > >> (*) DirectFB/Core/WM: Defaul

Re: F17: DirectFB

2012-08-30 Thread Adam Jackson
On 8/30/12 9:26 AM, Gerry Reno wrote: (*) DirectFB/FBDev: Found 'inteldrmfb' (ID 0) with frame buffer at 0xc0064000, 8100k (MMIO 0x, 0k) So this says you're using the intel drm driver... (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (!!!) *** ONCE [no mode found

Re: F17: DirectFB

2012-08-30 Thread Gerry Reno
On 08/30/2012 09:47 AM, Gerry Reno wrote: > On 08/30/2012 09:40 AM, Tom Callaway wrote: >> On 08/30/2012 09:26 AM, Gerry Reno wrote: >>> If I run the command under root I see a more extensive output but having >>> same problems w/1024x768: >>> (*) DirectFB/Core/WM: Default 0.3 (directfb.org) >

Re: F17: DirectFB

2012-08-30 Thread Gerry Reno
On 08/30/2012 09:40 AM, Tom Callaway wrote: > On 08/30/2012 09:26 AM, Gerry Reno wrote: >> If I run the command under root I see a more extensive output but having >> same problems w/1024x768: >> (*) DirectFB/Core/WM: Default 0.3 (directfb.org) >> (!!!) *** ONCE [no mode found for 1024x7

Re: F17: DirectFB

2012-08-30 Thread Gerry Reno
After manually setting tty0 and tty1 using the previous chmod command now when I reboot I get a strange mix of tty settings. Originally they would all have permissions like this: crw--w. 1 root tty 4, 10 Aug 30 2012 /dev/tty10 But now they are a mix of settings: # ls -l /de

Re: F17: DirectFB

2012-08-30 Thread Tom Callaway
On 08/30/2012 09:26 AM, Gerry Reno wrote: > If I run the command under root I see a more extensive output but having same > problems w/1024x768: > (*) DirectFB/Core/WM: Default 0.3 (directfb.org) > (!!!) *** ONCE [no mode found for 1024x768] *** [fbdev.c:1354 in > dfb_fbdev_find_mode()

Re: F17: DirectFB

2012-08-30 Thread Gerry Reno
If I run the command under root I see a more extensive output but having same problems w/1024x768: # dfbinfo ~~| DirectFB 1.6.1 |~~ (c) 2001-2012 The world wide DirectFB Open Source Community (c) 2000-2004 Conve

Re: F17: DirectFB

2012-08-30 Thread Gerry Reno
On 08/30/2012 09:00 AM, Tom Callaway wrote: > On 08/29/2012 06:52 PM, Gerry Reno wrote: > >> (!) DirectFB/core/vt: Error opening `/dev/tty1'! >> --> Permission denied >> (!) DirectFB/Core: Could not initialize 'system_core' core! >> --> A general initialization error occured

Re: F17: DirectFB

2012-08-30 Thread Tom Callaway
On 08/29/2012 06:52 PM, Gerry Reno wrote: > (!) 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]:

Re: F17: DirectFB

2012-08-29 Thread Gerry Reno
On 08/29/2012 06:43 PM, Ilyes Gouta wrote: > Gerry, > > You could also use DirectFB's X11 system module, so that you can run > DirectFB-based applications in a usual X11 window. You can tell > DirectFB so by using the DFBARGS environment variable: > > $ export DFBARGS="system=x11,mode=1280x800" > (

Re: F17: DirectFB

2012-08-29 Thread Gerry Reno
Tom, Ok, I tried testing with the following settings: $ ls -l /dev/tty{,0,1} /dev/fb{,0} lrwxrwxrwx. 1 root root 3 Aug 21 21:52 /dev/fb -> fb0 crw-rw-rw-. 1 root video 29, 0 Aug 21 21:52 /dev/fb0 crw-rw-rw-. 1 root tty5, 0 Aug 21 21:52 /dev/tty crw--w. 1 root t

Re: F17: DirectFB

2012-08-29 Thread Ilyes Gouta
Gerry, You could also use DirectFB's X11 system module, so that you can run DirectFB-based applications in a usual X11 window. You can tell DirectFB so by using the DFBARGS environment variable: $ export DFBARGS="system=x11,mode=1280x800" (probably also w/ disable-module=gl) $./ Nicolas Chauvet

Re: F17: DirectFB

2012-08-29 Thread Gerry Reno
On 08/29/2012 02:33 PM, Tom Callaway wrote: > On 08/29/2012 09:25 AM, Gerry Reno wrote: > >> DirectFB says that there are Fedora packaging errors which are causing the >> undefined symbol on XUnlockDisplay and >> inability to run as normal user. > Upstream is wrong, btw. > > The dlopen problem is

Re: F17: DirectFB

2012-08-29 Thread Tom Callaway
On 08/29/2012 03:16 PM, Adam Jackson wrote: > On 8/29/12 3:06 PM, Miloslav Trmač wrote: >> On Wed, Aug 29, 2012 at 8:33 PM, Tom Callaway >> wrote: >>> I made an updated package (1.6.1) that has these fixes applied and sets >>> the CAP_SYS_TTY_CONFIG capability to the dfbinfo binary. (Other DirectF

Re: F17: DirectFB

2012-08-29 Thread Adam Jackson
On 8/29/12 3:06 PM, Miloslav Trmač wrote: On Wed, Aug 29, 2012 at 8:33 PM, Tom Callaway wrote: I made an updated package (1.6.1) that has these fixes applied and sets the CAP_SYS_TTY_CONFIG capability to the dfbinfo binary. (Other DirectFB binaries probably need the same magic, but as I am not

Re: F17: DirectFB

2012-08-29 Thread Miloslav Trmač
On Wed, Aug 29, 2012 at 8:33 PM, Tom Callaway wrote: > The core issue behind why dfbinfo doesn't run as a "normal" user is due > to the fact that the Linux kernel requires CAP_SYS_TTY_CONFIG to do any > TTY ioctl() calls. UID 0 (root) has that, but normal users do not. It is > possible to give a b

Re: F17: DirectFB

2012-08-29 Thread Tom Callaway
On 08/29/2012 09:25 AM, Gerry Reno wrote: > DirectFB says that there are Fedora packaging errors which are causing the > undefined symbol on XUnlockDisplay and > inability to run as normal user. Upstream is wrong, btw. The dlopen problem is caused by the fact that they don't pass the $(X11VDPAU

Re: F17: DirectFB

2012-08-29 Thread Gerry Reno
On 08/28/2012 11:57 AM, Gerry Reno wrote: > On 08/27/2012 10:59 PM, Ilyes Gouta wrote: >> 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.

Re: F17: DirectFB

2012-08-28 Thread Gerry Reno
On 08/27/2012 10:59 PM, Ilyes Gouta wrote: > > 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 > > Thanks Ilyes. I'll try posting o

Re: F17: DirectFB

2012-08-27 Thread Ilyes Gouta
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" wrote: > On 08/24/2012 06:56 PM, Gerry Reno wrote: > > I hav

Re: F17: DirectFB

2012-08-27 Thread Gerry Reno
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 >