Bonjour,
Voici les news du jour.
configuration de grub pour le FB
[code]cat /etc/default/grub
If you change this file, run ‘update-grub’ afterwards to update
/boot/grub/grub.cfg.
For full documentation of the options in this file, see:
info -f grub -n ‘Simple configuration’
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT=“quiet"
GRUB_CMDLINE_LINUX=”"
Uncomment to enable BadRAM filtering, modify to suit your needs
This works with Linux (no patch required) and with any kernel that obtains
the memory map information from GRUB (GNU Mach, kernel of FreeBSD …)
#GRUB_BADRAM=“0x01234567,0xfefefefe,0x89abcdef,0xefefefef”
Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
The resolution used on graphical terminal
note that you can use only modes which your graphic card supports via VBE
you can see them in real GRUB with the command `vbeinfo’
GRUB_GFXMODE=1920x1080
#GRUB_GFXPAYLOAD=keep
GRUB_GFXPAYLOAD_LINUX=1920x1080
Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=“true”
Uncomment to get a beep at grub start
#GRUB_INIT_TUNE=“480 440 1”
[/code]
message lors de la commande mplayer (pas de son et pas d image):
[code] sudo mplayer -vo directfb -fs VIDEOS/emission.avi
MPlayer2 2.0-728-g2c378c7-4+b1 © 2000-2012 MPlayer Team
Playing VIDEOS/emission.avi.
Detected file format: QuickTime / MOV (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
Clip info:
major_brand: mp42
minor_version: 0
compatible_brands: isommp42
creation_time: 2015-02-11 18:19:24
Load subtitles in VIDEOS/
commandline read: mplayer
commandline read: -vo
commandline read: directfb
commandline read: -fs
commandline read: VIDEOS/emission.avi
| DirectFB 1.2.10 |
© 2001-2008 The world wide DirectFB Open Source Community
© 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
() DirectFB/Core: Single Application Core. (2014-10-21 10:15)
() Direct/Memcpy: Using Generic 64bit memcpy()
() Direct/Thread: Started ‘VT Switcher’ (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>…
() Direct/Thread: Started ‘Keyboard Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: Keyboard 0.9 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: Power Button (1) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: Power Button (2) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: HDA Digital PCBeep (4) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: HDA Intel PCH Rear Mic (5) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: HDA Intel PCH Line Out (6) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: Mini Keyboard (7) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: Mini Keyboard (8) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: Video Bus (9) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: HDA Intel HDMI HDMI/DP,pcm=3 (10) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: HDA Intel HDMI HDMI/DP,pcm=7 (11) 0.1 (directfb.org)
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: HDA Intel HDMI HDMI/DP,pcm=8 (12) 0.1 (directfb.org)
() Direct/Thread: Started ‘PS/2 Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: IMPS/2 Mouse (1) 1.0 (directfb.org)
() Direct/Thread: Started ‘PS/2 Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
() DirectFB/Input: IMPS/2 Mouse (2) 1.0 (directfb.org)
() DirectFB/Genefx: MMX detected and enabled
() DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
() DirectFB/Core/WM: Default 0.3 (directfb.org)
() FBDev/Surface: Allocated 1920x1080 32 bit RGB32 buffer (index 0) at offset 0 and pitch 7680.
Opening video filter: [scale]
[ass] auto-open
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 44100 Hz, 2 ch, floatle, 192.0 kbit/6.80% (ratio: 24000->352800)
AO: [pulse] Init failed: Connection refused
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
[AO_ALSA] Unable to find simple control ‘Master’,0.
Starting playback…
VIDEO: 1280x720 25.000 fps 2232.3 kbps (279.0 kB/s)
[swscaler @ 0x7f92721e3640]using unscaled yuv420p -> bgra special converter
VO: [directfb] 1280x720 => 1280x720 BGRA [fs]
(!!!) *** WARNING [letting unprivileged IDirectFBDisplayLayer::GetSurface() call pass until cooperative level handling is finished] *** […/…/…/src/display/idirectfbdisplaylayer.c:174 in IDirectFBDisplayLayer_GetSurface()]
() FBDev/Mode: Setting 1920x1080 RGB32
() FBDev/Mode: Switched to 1920x1080 (virtual 1920x1080) at 32 bit (RGB32), pitch 7680
() FBDev/Surface: Allocated 1920x1080 32 bit RGB32 buffer (index 0) at offset 0 and pitch 7680.
() FBDev/Surface: Allocated 1920x1080 32 bit RGB32 buffer (index 0) at offset 0 and pitch 7680.
() FBDev/Mode: Setting 1920x1080 RGB32
() FBDev/Mode: Switched to 1920x1080 (virtual 1920x2160) at 32 bit (RGB32), pitch 7680
(!!!) *** WARNING [unable to adjust heap offset] *** […/…/…/systems/fbdev/surfacemanager.c:167 in dfb_surfacemanager_adjust_heap_offset()]
() FBDev/Surface: Allocated 1920x1080 32 bit RGB32 buffer (index 1) at offset 8294400 and pitch 7680.
(!) DirectFB/FBDev: Panning display failed (x=0 y=1080 ywrap=0 vbl=0)!
–> Invalid argument
(!) [ 1451: 0.000] --> Caught signal 11 (at 0x7f9258cab000, invalid permissions) <–
(!!!) *** WARNING [still objects in ‘Layer Region Pool’] *** […/…/…/lib/fusion/object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in ‘Layer Context Pool’] *** […/…/…/lib/fusion/object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in ‘Surface Pool’] *** […/…/…/lib/fusion/object.c:241 in fusion_object_pool_destroy()]
MPlayer interrupted by signal 6 in module: check_framedrop
- MPlayer crashed. This shouldn’t happen.
It can be a bug in the MPlayer code or in your drivers or in your
gcc version. If you think it’s MPlayer’s fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can’t and
won’t help unless you provide this information when reporting a possible bug.
[/code]
et avec cvlc (il y a du son mais pas d’image) :
[code] cvlc --no-video-title-show --play-and-exit -f VIDEOS/emission.avi
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
[00000000014b2418] core interface error: no suitable interface module
[0000000001496118] core libvlc error: interface “globalhotkeys,none” initialization failed
[00000000014b2418] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[00000000014b2418] core interface error: no suitable interface module
[0000000001496118] core libvlc error: interface “dbus,none” initialization failed
[00000000014b2458] dummy interface: using the dummy interface module…
commandline read: vlc
commandline read: -I
commandline read: dummy
commandline read: --no-video-title-show
commandline read: --play-and-exit
commandline read: -f
commandline read: VIDEOS/emission.avi
| DirectFB 1.2.10 |
© 2001-2008 The world wide DirectFB Open Source Community
© 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
() DirectFB/Core: Single Application Core. (2014-10-21 10:15)
() Direct/Memcpy: Using Generic 64bit memcpy()
(!) DirectFB/core/vt: Error opening `/dev/tty0’!
–> Permission non accordée
(!) DirectFB/Core: Could not initialize ‘system_core’ core!
–> Initialization error!
[00007fb0f4001268] directfb vout display error: Cannot create primary surface
[00007fb0f4001268] fb vout display error: cannot get terminal mode (Inappropriate ioctl for device)
[00007fb118c30398] core video output error: video output creation failed
[00007fb114c48978] core decoder error: failed to create video output
^C
[/code]
Si quelqu’un a une idée je suis preneur, merci par avance.
P.S.: Pour une image (avec fbi) aucun problème.