Public bug reported:

I upgraded to Vivid and vlc video output stopped working, mplayer works
fine though. First I got this error :

% vlc test.mp4
VLC media player 2.2.0 Weatherwax (revision 2.2.0-0-g1349ef2)
[0000000001db6348] core interface error: no suitable interface module
[0000000001cde118] core libvlc error: interface "globalhotkeys,none" 
initialization failed
[0000000001cde118] core libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
[0000000001cf52c8] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.0 Weatherwax
Command Line Interface initialized. Type `help' for help.
> commandline read: vlc
commandline read: test.mp4

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

(*) DirectFB/Core: Single Application Core. (2014-10-24 12:33) 
(*) Direct/Memcpy: Using libc memcpy()
(!) DirectFB/core/vt: Error opening `/dev/tty0'!
    --> Permission denied
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
[00007fc908007ba8] directfb vout display error: Cannot create primary surface
[00007fc908007ba8] fb vout display error: cannot get terminal mode 
(Inappropriate ioctl for device)
[00007fc91c0176d8] core video output error: video output creation failed
[00007fc9270e2898] core decoder error: failed to create video output
^C[0000000001cf52c8] [cli] lua interface error: Error loading script 
/usr/lib/vlc/lua/intf/cli.luac: lua/intf/modules/host.lua:279: Interrupted.

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

(*) DirectFB/Core: Single Application Core. (2014-10-24 12:33) 
(*) Direct/Memcpy: Using libc memcpy()
(!) DirectFB/core/vt: Error opening `/dev/tty0'!
    --> Permission denied
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
[00007fc9340258d8] directfb vout display error: Cannot create primary surface
[00007fc9340258d8] fb vout display error: cannot get terminal mode 
(Inappropriate ioctl for device)
[00007fc908006f98] core video output error: video output creation failed
[00007fc9270e2898] core decoder error: failed to create video output

Permissions on /dev/tty0 at the time were :

% ls -l /dev/tty0
crw--w---- 1 root tty 4, 0 Dec 12 11:01 /dev/tty0

I put myself in the tty group, verified using id/groups that I was in
the tty group, re-launched still same error. Then I sudo chmod 660
/dev/tty0 and I got this error :

% vlc test.mp4
VLC media player 2.2.0 Weatherwax (revision 2.2.0-0-g1349ef2)
[00000000013470c8] core interface error: no suitable interface module
[000000000131c118] core libvlc error: interface "globalhotkeys,none" 
initialization failed
[000000000131c118] core libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
[00000000013341f8] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.0 Weatherwax
Command Line Interface initialized. Type `help' for help.
> commandline read: vlc
commandline read: test.mp4

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

(*) DirectFB/Core: Single Application Core. (2014-10-24 12:33) 
(*) Direct/Memcpy: Using libc memcpy()
(!) DirectFB/core/vt: Error opening `/dev/tty7'!
    --> Permission denied
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Access denied!
[00007f4cc0001268] directfb vout display error: Cannot create primary surface
[00007f4cc0001268] fb vout display error: cannot get terminal mode 
(Inappropriate ioctl for device)
[00007f4cd4016f78] core video output error: video output creation failed
[00007f4cef0e2668] core decoder error: failed to create video output
^C[00000000013341f8] [cli] lua interface error: Error loading script 
/usr/lib/vlc/lua/intf/cli.luac: lua/intf/modules/host.lua:279: Interrupted.

Then I just sudo chmod 660 /dev/tty*, but then I got this error :

% vlc test.mp4
VLC media player 2.2.0 Weatherwax (revision 2.2.0-0-g1349ef2)
[0000000001aac0c8] core interface error: no suitable interface module
[0000000001a81118] core libvlc error: interface "globalhotkeys,none" 
initialization failed
[0000000001a81118] core libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
[0000000001a991f8] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.0 Weatherwax
Command Line Interface initialized. Type `help' for help.
> commandline read: vlc
commandline read: test.mp4

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

(*) DirectFB/Core: Single Application Core. (2014-10-24 12:33) 
(*) Direct/Memcpy: Using libc memcpy()
(!) DirectFB/fbdev/vt: KD_GRAPHICS failed!
    --> Operation not permitted
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
[00007fa918001268] directfb vout display error: Cannot create primary surface
[00007fa918001268] fb vout display error: cannot get terminal mode 
(Inappropriate ioctl for device)
[00007fa924016f78] core video output error: video output creation failed
[00007fa9430e2898] core decoder error: failed to create video output
^C[0000000001a991f8] [cli] lua interface error: Error loading script 
/usr/lib/vlc/lua/intf/cli.luac: lua/intf/modules/host.lua:279: Interrupted.

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

(*) DirectFB/Core: Single Application Core. (2014-10-24 12:33) 
(*) Direct/Memcpy: Using libc memcpy()
(!) DirectFB/fbdev/vt: KD_GRAPHICS failed!
    --> Operation not permitted
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
[00007fa92c025ab8] directfb vout display error: Cannot create primary surface
[00007fa92c025ab8] fb vout display error: cannot get terminal mode 
(Inappropriate ioctl for device)
[00007fa918000958] core video output error: video output creation failed
[00007fa9430e2898] core decoder error: failed to create video output

I checked the perms on /dev/fb0 , looks ok :

% ls -l /dev/fb0 
crw-rw---- 1 root video 29, 0 Dec 12 11:01 /dev/fb0

and i'm in video, complete list of my groups :

uid=58512(sabuj) gid=1000(sabuj)
groups=1000(sabuj),4(adm),5(tty),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),44(video),46(plugdev),104(fuse),105(lpadmin),112(netdev),119(admin),122(sambashare),127(vboxusers),135(libvirtd),10005(sbio),10006(jupiter)

Again mplayer works fine, more info :

Description:    Ubuntu 15.04
Release:        15.04

% lsmod
Module                  Size  Used by
rfcomm                 69632  8 
bnep                   20480  2 
xt_CHECKSUM            16384  2 
iptable_mangle         16384  1 
ipt_MASQUERADE         16384  6 
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1 
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 28672  2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack_ipv4      16384  3 
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  2 
nf_conntrack          106496  5 
nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
ipt_REJECT             16384  4 
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              16384  12 
bridge                110592  0 
stp                    16384  1 bridge
llc                    16384  2 stp,bridge
ebtable_filter         16384  0 
ebtables               36864  1 ebtable_filter
ip6table_filter        16384  0 
ip6_tables             28672  1 ip6table_filter
iptable_filter         16384  1 
ip_tables              28672  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               36864  11 
ip6table_filter,xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,iptable_filter,ebtables,ipt_REJECT,iptable_mangle,ip6_tables
ctr                    16384  1 
ccm                    20480  1 
nls_utf8               16384  2 
isofs                  40960  2 
pci_stub               16384  1 
vboxpci                24576  0 
vboxnetadp             28672  0 
vboxnetflt             28672  0 
binfmt_misc            20480  1 
vboxdrv               421888  3 vboxnetadp,vboxnetflt,vboxpci
dell_wmi               16384  0 
sparse_keymap          16384  1 dell_wmi
arc4                   16384  2 
dell_laptop            16384  0 
dcdbas                 16384  1 dell_laptop
uvcvideo               90112  0 
videobuf2_vmalloc      16384  1 uvcvideo
i8k                    16384  0 
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         49152  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
videodev              159744  3 uvcvideo,v4l2_common,videobuf2_core
media                  24576  2 uvcvideo,videodev
dm_multipath           24576  0 
scsi_dh                16384  1 dm_multipath
snd_hda_codec_hdmi     53248  1 
kvm_intel             151552  0 
snd_hda_codec_idt      65536  1 
snd_hda_codec_generic    69632  1 snd_hda_codec_idt
kvm                   483328  1 kvm_intel
snd_hda_intel          32768  2 
btusb                  32768  0 
snd_hda_controller     32768  1 snd_hda_intel
bluetooth             491520  22 bnep,btusb,rfcomm
snd_hda_codec         143360  5 
snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              20480  1 snd_hda_codec
snd_pcm_oss            53248  0 
joydev                 20480  0 
snd_mixer_oss          24576  1 snd_pcm_oss
snd_pcm               106496  5 
snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
wl                   6369280  0 
iwlmvm                278528  0 
serio_raw              16384  0 
snd_seq_midi           16384  0 
mac80211              720896  1 iwlmvm
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi_event,snd_seq_midi
intel_ips              20480  0 
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_pcm,snd_seq
iwlwifi               196608  1 iwlmvm
cfg80211              540672  4 wl,iwlwifi,mac80211,iwlmvm
lpc_ich                24576  0 
snd                    90112  17 
snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_mixer_oss
soundcore              16384  2 snd,snd_hda_codec
shpchp                 40960  0 
dell_smo8800           16384  0 
mei_me                 20480  0 
mei                    90112  1 mei_me
mac_hid                16384  0 
nfsd                  294912  13 
auth_rpcgss            61440  1 nfsd
coretemp               16384  0 
nfs_acl                16384  1 nfsd
lockd                  94208  1 nfsd
grace                  16384  2 nfsd,lockd
parport_pc             32768  0 
sunrpc                327680  18 nfsd,auth_rpcgss,lockd,nfs_acl
ppdev                  20480  0 
lp                     20480  0 
parport                45056  3 lp,ppdev,parport_pc
autofs4                40960  4 
i915                 1052672  8 
psmouse               118784  0 
i2c_algo_bit           16384  1 i915
drm_kms_helper        122880  1 i915
r8169                  81920  0 
drm                   344064  5 i915,drm_kms_helper
ahci                   36864  3 
libahci                32768  1 ahci
mii                    16384  1 r8169
wmi                    20480  1 dell_wmi
video                  20480  1 i915

% lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated 
Graphics Controller (rev 12)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series 
Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 
Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High 
Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express 
Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express 
Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express 
Root Port 3 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express 
Root Port 5 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 
Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface 
Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port 
SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller 
(rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series 
Chipset Thermal Subsystem (rev 06)
12:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 03)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture 
Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture 
System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation 1st Generation Core Processor QPI 
Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation 1st Generation Core Processor Reserved 
(rev 02)
ff:02.3 Host bridge: Intel Corporation 1st Generation Core Processor Reserved 
(rev 02)

** Affects: vlc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527908

Title:
  vlc directfb doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1527908/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to