Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VLC 1.1.13 works; 2.0.1-2.0.3 Interface Broken
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message

Joined: 20 Aug 2012
Posts: 353

PostPosted: Mon Aug 20, 2012 4:52 am    Post subject: VLC 1.1.13 works; 2.0.1-2.0.3 Interface Broken Reply with quote

Yes, I have been a lurker here and sometimes on the irc channel trying to give help. Welcome to my first post.

I'm curious if this is somehow a '2011 the great SSE2 forced CPU instruction migration' issue again (as has affected flash, google-chrome's pepperflash past version 19, etc.) People with similar systems should be affected the same if so. I haven't seen this particular issue mentioned yet here.

System in question is generally kept current (sync'ed and -uND world updated weekly at a minimum).

/proc/cpuinfo summary:

vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm) XP 2500+
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow

Issue: when playing back a .flv flash video format static file (non-stream), VLC's interface basically chokes. Volume, sizing, stop/pause, even closing (times out with a force quit dialog via metacity)--essentially the entire interface becomes unresponsive; however, the video and sound still play. Several other video formats seem to play without exhibiting the issue (e.g. mpeg, quicktime). Other players (totem/gstream, mplayer) do not exhibit the problem. My desktop is still currently Gnome 2.32.1.

vlc run from a shell only mentions [0x90d3990] qt4 interface error: Unable to load extensions module, the remaining output from -vv switch seems normal. The qt4 extension issue seems to be mentioned in another thread as an LUA programming interface addition, but that seems unrelated to what is occuring here.

Downgrading to 1.1.13 works without any issues. Problem is, that version is mentioned in the changelog of around December 2011. I'm pretty certain the maintainers expect to remove it soon, so I'm hoping for some resolution before being forced to add it as a local overlay.

I can't see from examining my logs (migration to VLC 2.0.x occured here mid May) and other reverse dependencies if it's remotely a QT problem or specifically VLC upstream doing what everyone else has on flash playback.

A laptop with an Intel T2500 (primarily 32bit, dual core, SSE2 capable, circa 2006) does not exhibit the problem.

Thanks in advance for any ideas.
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message

Joined: 20 Sep 2007
Posts: 568

PostPosted: Mon Aug 20, 2012 6:40 am    Post subject: Reply with quote

Shouldn't vlc build without sse2 if your cpu doesn't support it? Are you using -march=native in your CFLAGS?
Back to top
View user's profile Send private message

Joined: 20 Aug 2012
Posts: 353

PostPosted: Mon Aug 20, 2012 8:44 am    Post subject: Reply with quote

Unsure on VLC CPU feature details other than what it may pass on or assume from the respective libav libraries from ffmpeg.
Update:[0x8a589e8] main libvlc debug: CPU has capabilities MMX 3DNow! MMXEXT SSE FPU which it probably determines from ffmpeg.

Interesting--nevermind that, I was wondering why I didn't see libav in the immediate dependency graph for ffmpeg when appearently ffmpeg blocks a direct emerge of libav (the virtual/ffmpeg, gst-plugins, etc. are expected to pull it in instead).

In any case, FLV should still just hopefully be a container format and both mplayer and vlc would use ffmpeg for playback. Both do actually play the format, it's just that vlc 2.0+ is doing it in an uncontrollable state. Something akin to 2 threads under the process (playback and interface) while the 2nd acts like it is not being allowed to run (deadlock) or literally just running cvlc.

Yes, regarding CFLAGS.

emerge --info:


Portage (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.15-r2, 3.3.8-gentoo i686)
System uname: Linux-3.3.8-gentoo-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-2.1
Timestamp of tree: Sat, 18 Aug 2012 01:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
CFLAGS="-O2 -march=native -pipe"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss emerald encode exif fam firefox flac fortran gdbm gif gnome gpm gtk iconv jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap ncurses nls nptl objc ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sasl sdl session spell sse ssl startup-notification svg symlink tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

AGP video card used is an ATI R480 [Radeon X850Pro]

dmesg | grep -i radeon


[    0.431904] [drm] radeon defaulting to kernel modesetting.
[    0.431952] [drm] radeon kernel modesetting enabled.
[    0.433306] radeon 0000:02:00.0: putting AGP V3 device into 8x mode
[    0.433360] radeon 0000:02:00.0: GTT: 64M 0xE0000000 - 0xE3FFFFFF
[    0.433463] radeon 0000:02:00.0: VRAM: 256M 0x00000000D0000000 - 0x00000000DFFFFFFF (256M used)
[    0.433646] [drm] radeon: irq initialized.
[    0.434286] [drm] radeon: 256M of VRAM memory ready
[    0.434333] [drm] radeon: 64M of GTT memory ready.
[    0.434410] [drm] radeon: ib pool ready.
[    0.434543] [drm] radeon: 4 quad pipes, 1 z pipes initialized.
[    0.435556] radeon 0000:02:00.0: WB disabled
[    0.436331] [drm] radeon: ring at 0x00000000E0001000
[    0.437558] [drm] Radeon Display Connectors
[    0.554856] fbcon: radeondrmfb (fb0) is primary device
[    0.712610] fb0: radeondrmfb frame buffer device
[    0.712840] [drm] Initialized radeon 2.13.0 20080528 for 0000:02:00.0 on minor 0

Motherboard is an ABit NF7-S V2.0 (nforce 2 chipset)

Revdep-rebuild and emerge -uND world are turning up nothing interesting. I have not yet attempted an entire rebuild of all reverse dependencies of VLC 2.0.1, assuming there is an unfound library issue.
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message

Joined: 20 Aug 2012
Posts: 353

PostPosted: Tue Aug 21, 2012 11:24 pm    Post subject: Reply with quote


CPU use is 10-20% higher with obvious 100% spikes when dragging a window in playback than in 1.1.13, but otherwise nothing excessive. Experimenting more, the problem is noted when adjusting volume (ALSA, no pulse audio) causing the VLC interface controls to freeze for a number of seconds, then the volume adjusts audibly and visually along with the interface acting normal. Using the mouse wheel to normally adjust volume incrementally greatly exaggerates the effect presumably due to multiple input events being delayed. A window resize when this occurs will sometimes cause immediate recovery.

Happens on .flv container format playback. .MPEG, .AVI, .RM, .MOV and other formats don't seem affected at all. .WMV formats don't appear to have volume issue but slower framerate and some visual tearing (like frames are being skipped) compared to smooth playback in 1.1.13 otherwise playing fine with no oddity noticed on volume control.

Naturally, disabling audio entirely in VLC produces .flv playback with no issues.

Anyone else with somewhat similar hardware (R300-R500 radeon driver and/or non-SSE2 capable AMD Athlon CPU) seeing these issues?
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message

Joined: 20 Aug 2012
Posts: 353

PostPosted: Sun Oct 28, 2012 11:59 am    Post subject: Reply with quote


Seems to be an upstream issue even though the thread is referring to windows builds. Fix claimed for 2.1 release.

Seems odd no one else here ran into this problem. :? Version 1.1.13 that worked fine was nixed due to GLSA issues. :(
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum