Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149861 - media-video/kaffeine - video will not render w/ SDL
Summary: media-video/kaffeine - video will not render w/ SDL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Low major
Assignee: Gentoo KDE team
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 08:36 UTC by Amir Taaki
Modified: 2006-10-04 15:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amir Taaki 2006-10-02 08:36:48 UTC
Hello,

I'm using an NVIDIA GeForce Go 6200 and when I first started kaffeine it said everything was in order (ticks for libdvdcss, win32codecs, .etc), but when the app itself starts I get:

 [ X Loading of player part 'KaffeinePart' failed. ] 
 [ >>> All Video Drivers failed to initialize! ] 
 http://img511.imageshack.us/img511/9217/errorhz6.png 
 
and then kaffeine with a blank canvas. 
 
 http://img504.imageshack.us/img504/3738/blankyj4.png 
 
I get the same sort of thing with mplayer (sound is fine).

--------------------------------------------
genjix@ioshape ~ $ mplayer FedorvsZulu2005.avi 
 MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team 
 CPU:         Intel(R) Pentium(R) M processor 1.73GHz (Family: 6, Model: 13, Stepping: 8) 
 MMX2 supported but disabled 
 SSE2 supported but disabled 
 CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 
 Скомп
Comment 1 Amir Taaki 2006-10-02 08:36:48 UTC
Hello,

I'm using an NVIDIA GeForce Go 6200 and when I first started kaffeine it said everything was in order (ticks for libdvdcss, win32codecs, .etc), but when the app itself starts I get:

 [ X Loading of player part 'KaffeinePart' failed. ] 
 [ >>> All Video Drivers failed to initialize! ] 
 http://img511.imageshack.us/img511/9217/errorhz6.png 
 
and then kaffeine with a blank canvas. 
 
 http://img504.imageshack.us/img504/3738/blankyj4.png 
 
I get the same sort of thing with mplayer (sound is fine).

--------------------------------------------
genjix@ioshape ~ $ mplayer FedorvsZulu2005.avi 
 MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team 
 CPU:         Intel(R) Pentium(R) M processor 1.73GHz (Family: 6, Model: 13, Stepping: 8) 
 MMX2 supported but disabled 
 SSE2 supported but disabled 
 CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 
 СкомпÑлÑовано Ð´Ð»Ñ x86 CPU з ÑозÑиÑеннÑми: MMX SSE 
 
 
 93 audio & 211 video codecs 
 ÐÑогÑÐ°Ð²Ð°Ð½Ð½Ñ FedorvsZulu2005.avi 
 Ðнайдений AVI ÑоÑÐ¼Ð°Ñ ÑайлÑ! 
 VIDEO:  [divx]  480x320  24bpp  29.970 fps  1198.5 kbps (146.3 kbyte/s) 
 ========================================================================== 
 ÐÑдкÑÐ¸Ð²Ð°Ñ Ð°ÑдÑо декодеÑ: [mp3lib] MPEG layer-2, layer-3 
 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) 
 Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) 
 ========================================================================== 
 [VO_SDL] SDL initialization failed: No available video device. 
 vo_cvidix: No vidix driver name provided, probing available ones (-v option for details)! 
 [rage128] Error occurred during pci scan: Operation not permitted 
 [pm3] Error occurred during pci scan: Operation not permitted 
 [mga] Error occurred during pci scan: Operation not permitted 
 [SiS] Error occurred during pci scan: Operation not permitted 
 [radeon] Error occurred during pci scan: Operation not permitted 
 [unichrome] Error occurred during pci scan: Operation not permitted 
 [nvidia_vid] Error occurred during pci scan: Operation not permitted 
 [mach64] Error occurred during pci scan: Operation not permitted 
 [mga] Error occurred during pci scan: Operation not permitted 
 [savage_vid] Error occurred during pci scan: Operation not permitted 
 [cyberblade] Error occurred during pci scan: Operation not permitted 
 [VO_SUB_VIDIX] Couldn't find working VIDIX driver. 
 ========================================================================== 
 ÐÑдкÑÐ¸Ð²Ð°Ñ Ð²Ñдео декодеÑ: [ffmpeg] FFmpeg's libavcodec codec family 
 Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) 
 ========================================================================== 
 alsa-init: using device default 
 alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian 
 AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) 
 ÐоÑаÑок пÑогÑаваннÑ... 
 VDec: vo config Ð·Ð°Ð¿Ð¸Ñ - 480 x 320 (preferred csp: Planar YV12) 
 VDec: using Planar YV12 as output csp (no 0) 
 ÐÑдноÑÐµÐ½Ð½Ñ ÑÑоÑÑн 1.50:1 - маÑÑÑабÑÑ Ð°Ð±Ð¸ ÑкоÑекÑÑваÑи. 
 VO: [null] 480x320 => 480x320 Planar YV12 
 alsa-uninit: pcm closed 0.024 ct:  0.001  88/ 88  1%  0%  1.3% 0 0 
 
 ÐиÑодимо... (ÐиÑÑд) 
 genjix@ioshape ~ $                  
-----------------------------------------------

The contents of my make.conf is:

-----------------------------------------------

CFLAGS="-O2 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse" 
 CHOST="i686-pc-linux-gnu" 
 CXXFLAGS="${CFLAGS}" 
 
 GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ " 
 
 SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
 
 USE="-apache apache2 php alsa arts acpi apm dvd dvdr dvdread -gnome -gtk -gtk2 kde hal samba opengl glut sdl mikmod dts mmx sse nvidia asf nptl nptlonly mng scanner unicode png jpeg tiff svg mp3 vorbis theora win32codecs flac v4l" 
 PORTDIR_OVERLAY="/usr/local/portage/" 
 
 INPUT_DEVICES="mouse keyboard wacom" 
 VIDEO_CARDS="nvidia" 
 LINGUAS="en_GB fa uk"

-----------------------------------------------

Thanks, and keep up the good work ;)
Comment 2 Amir Taaki 2006-10-02 09:16:44 UTC
Also:

-----------------------------------------------
genjix@ioshape ~ $ fbxine FedorvsZulu2005.avi
genjix@ioshape ~ $              
-----------------------------------------------
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-02 09:19:27 UTC
media-video/kaffeine version? Which drivers and version? emerge --info?
Comment 4 Amir Taaki 2006-10-02 15:17:59 UTC
I tried both 0.7.1-r2 and 0.8.2-r1, but its also broken for mplayer 1.0_pre8.
nvidia-drivers is 1.0.8762-r1

----------------------------
ioshape genjix # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 19:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LINGUAS="en_GB fa uk"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acpi alsa apache2 apm arts asf berkdb bitmap-fonts cli crypt cups dlloader dri dts dvd dvdr dvdread elibc_glibc flac fortran gdbm gif glut gpm hal input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog jpeg kde kernel_linux libg++ linguas_en_GB linguas_fa linguas_uk mikmod mmx mng mp3 ncurses nls nptl nptlonly nvidia opengl pam pcre perl php png ppds pppd python readline reflection samba scanner sdl session spl sse ssl svg tcpd theora tiff truetype-fonts type1-fonts udev unicode userland_GNU v4l video_cards_nvidia vorbis win32codecs xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

--------------------------------

Thanks again.
Comment 5 Amir Taaki 2006-10-02 15:32:31 UTC
Just tried nvidia-drivers 1.0.8774 as well and doesn't work.
Comment 6 Amir Taaki 2006-10-02 16:11:26 UTC
ok, just downloaded and recompiled mplayer from source (without portage) and it works.

Strangely though USE="nvidia" emerge mplayer still doesn't work. So it can't be my use flags or nvidia-driver?
Comment 7 Amir Taaki 2006-10-04 05:38:58 UTC
Why has the status of this bug been changed to resolved when it still hasn't been fixed?

Looking around the net I saw http://www.quotesdb.info/efnet/gentoo/14Jul2006/1.html (search for SDL)

"<16> "Couldn't initialize SDL: No available video device" does this happen because i use nvidia-driver ?"

So it seems others have this problem as well...
Comment 8 Amir Taaki 2006-10-04 07:04:46 UTC
well I tried adding the xv flag to my use, and portage updated xine-lib, kaffeine and mplayer. Mplayer now works but kaffeine doesn't. Why is this flag off by default?
Comment 9 Amir Taaki 2006-10-04 07:07:40 UTC
I think the problem is in sdl. The video driver still doesn't work with SDL. It looks to me like the libsdl package is broken.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-04 08:03:40 UTC
Uhm which xine-lib version? does xine-ui work?

CCing games as libsdl is theirs.
Comment 11 Amir Taaki 2006-10-04 10:54:47 UTC
xine-lib is 0.99.4-r5,

and after installing xine-ui, the only player I have is fbxine.

ioshape genjix # ls /usr/bin/ | grep xine
fbxine
xine-bugreport
xine-check
xine-config

and running that just returns straight to the prompt without any messages to the console and returns an exit status of 1.
Comment 12 Amir Taaki 2006-10-04 11:01:22 UTC
Ok, noticed -X flag, so re-emerged xine-ui. Bit more useful.

ioshape genjix # xine Womanandwheel.avi --verbose=1
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
Built with xine library 1.1.2 (1.1.2)
Found xine library version: 1.1.2 (1.1.2).
   Plateform informations:
   ----------------------
        system name     : Linux
        node name       : ioshape
        release         : 2.6.17-gentoo-r8
        version         : #6 Mon Oct 2 00:34:45 GMT 2006
        machine         : i686
   CPU Informations:
   ----------------
        processor       : 0
        vendor_id       : GenuineIntel
        cpu family      : 6
        model           : 13
        model name      : Intel(R) Pentium(R) M processor 1.73GHz
        stepping        : 8
        cpu MHz         : 1729.194
        cache size      : 2048 KB
        fdiv_bug        : no
        hlt_bug         : no
        f00f_bug        : no
        coma_bug        : no
        fpu             : yes
        fpu_exception   : yes
        cpuid level     : 2
        wp              : yes
        flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
        bogomips        : 3462.45
   -------
   Display Name:          :0.0,
   XServer Vendor:        The X.Org Foundation,
   Protocol Version:      11, Revision: 0,
   Available Screen(s):   1,
   Default screen number: 0,
   Using screen:          0,
   Depth:                 24,
   XShmQueryVersion:      1.1,
-[ xiTK version 0.10.7 [XFT] ]-[ WM type: (EWMH) KWIN {KWin} ]-
Display is not using Xinerama.
Benchmarking memcpy methods (smaller is better):
        libc memcpy() : 132385994
        linux kernel memcpy() : 109919788
        MMX optimized memcpy() : 142887596
        MMXEXT optimized memcpy() : 173818457
        SSE optimized memcpy() : 163316951
load_plugins: skipping unreadable plugin directory /root/.xine/plugins.
load_plugins: plugin /usr/lib/xine/plugins/1.1.2/post/xineplug_post_goom.so found
  ... (I've stripped the load_plugins messages)
load_plugins: plugin /usr/lib/xine/plugins/1.1.2/xineplug_dmx_mpeg_block.so found
main: probing <none> video output plugin
main: probing <sdl> video output plugin
main: all available video drivers failed.
ioshape genjix # echo $?
1
Comment 13 Amir Taaki 2006-10-04 11:31:47 UTC
Ok, The problem is fixed. xine-lib is emerged with -X so it doesn't work. Works fine now. Thanks for your time.

Why does portage default to -X? Shouldn't this be changed?
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2006-10-04 12:15:50 UTC
you should probably be use the desktop profile (profiles/default-linux/x86/2006.1/desktop)

Sounds like it would probably fit your needs better.
Comment 15 Amir Taaki 2006-10-04 15:01:02 UTC
Aha, :p didn't mean to waste your time. My make.profile was pointing to the top level directory. Thanks very much.