Discussion:
[directfb-users] K_MEDIUMRAW failed!
Gerry Reno
2012-04-24 17:53:40 UTC
Permalink
# rpm -q directfb
directfb-1.5.3-1.fc16.i686

===========================================
$ 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
$
$
$ ls -l /dev/{fb,tty}{,0,1}
ls: cannot access /dev/fb1: No such file or directory
lrwxrwxrwx 1 root root 3 Apr 23 12:51 /dev/fb -> fb0
crw-rw-rw- 1 root video 29, 0 Apr 23 12:51 /dev/fb0
crw-rw-rw- 1 root tty 5, 0 Apr 23 20:03 /dev/tty
crw-rw---- 1 root tty 4, 0 Apr 23 12:51 /dev/tty0
crw-rw---- 1 root tty 4, 1 Apr 23 12:51 /dev/tty1
$ groups greno
greno : greno tty video
===========================================

So how do we get rid of this error? I have checked every permission.
Denis Oliver Kropp
2012-05-03 20:18:37 UTC
Permalink
Post by Gerry Reno
# rpm -q directfb
directfb-1.5.3-1.fc16.i686
===========================================
$ 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
$
$
$ ls -l /dev/{fb,tty}{,0,1}
ls: cannot access /dev/fb1: No such file or directory
lrwxrwxrwx 1 root root 3 Apr 23 12:51 /dev/fb -> fb0
crw-rw-rw- 1 root video 29, 0 Apr 23 12:51 /dev/fb0
crw-rw-rw- 1 root tty 5, 0 Apr 23 20:03 /dev/tty
crw-rw---- 1 root tty 4, 0 Apr 23 12:51 /dev/tty0
crw-rw---- 1 root tty 4, 1 Apr 23 12:51 /dev/tty1
$ groups greno
greno : greno tty video
===========================================
So how do we get rid of this error? I have checked every permission.
As a user I think you need to pass "--dfb:no-vt-switch".
--
Best regards,
Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
Gerry Reno
2012-05-03 23:47:02 UTC
Permalink
Post by Denis Oliver Kropp
Post by Gerry Reno
# rpm -q directfb
directfb-1.5.3-1.fc16.i686
===========================================
$ 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
$
$
$ ls -l /dev/{fb,tty}{,0,1}
ls: cannot access /dev/fb1: No such file or directory
lrwxrwxrwx 1 root root 3 Apr 23 12:51 /dev/fb -> fb0
crw-rw-rw- 1 root video 29, 0 Apr 23 12:51 /dev/fb0
crw-rw-rw- 1 root tty 5, 0 Apr 23 20:03 /dev/tty
crw-rw---- 1 root tty 4, 0 Apr 23 12:51 /dev/tty0
crw-rw---- 1 root tty 4, 1 Apr 23 12:51 /dev/tty1
$ groups greno
greno : greno tty video
===========================================
So how do we get rid of this error? I have checked every permission.
As a user I think you need to pass "--dfb:no-vt-switch".
--dfb:no-vt-switch didn't seem to change anything:

$ dfbinfo --dfb:no-vt-switch

~~~~~~~~~~~~~~~~~~~~~~~~~~| 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
Gerry Reno
2012-06-08 22:09:18 UTC
Permalink
Post by Gerry Reno
Post by Denis Oliver Kropp
Post by Gerry Reno
# rpm -q directfb
directfb-1.5.3-1.fc16.i686
===========================================
$ 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
$
$
$ ls -l /dev/{fb,tty}{,0,1}
ls: cannot access /dev/fb1: No such file or directory
lrwxrwxrwx 1 root root 3 Apr 23 12:51 /dev/fb -> fb0
crw-rw-rw- 1 root video 29, 0 Apr 23 12:51 /dev/fb0
crw-rw-rw- 1 root tty 5, 0 Apr 23 20:03 /dev/tty
crw-rw---- 1 root tty 4, 0 Apr 23 12:51 /dev/tty0
crw-rw---- 1 root tty 4, 1 Apr 23 12:51 /dev/tty1
$ groups greno
greno : greno tty video
===========================================
So how do we get rid of this error? I have checked every permission.
As a user I think you need to pass "--dfb:no-vt-switch".
$ dfbinfo --dfb:no-vt-switch
~~~~~~~~~~~~~~~~~~~~~~~~~~| 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
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Tried again on an F17 x86_64 system:

# yum list directfb
Installed Packages
directfb.x86_64 1.5.3-7.fc17
@updates

===========================================
$ 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/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
===========================================

# ls -l /dev/{fb,tty}{,0,1}
ls: cannot access /dev/fb1: No such file or directory
lrwxrwxrwx. 1 root root 3 Jun 8 13:54 /dev/fb -> fb0
crw-rw-rw-. 1 root video 29, 0 Jun 8 13:54 /dev/fb0
crw-rw-rw-. 1 root tty 5, 0 Jun 8 17:58 /dev/tty
crw-rw----. 1 root tty 4, 0 Jun 8 13:54 /dev/tty0
crw-rw----. 1 root tty 4, 1 Jun 8 13:54 /dev/tty1

# groups greno
greno : greno tty wheel video dialout

Same problem again.


How do you get this working?


.

Loading...