Video playback issue comparing to ubuntu on the same machine

My patched and updated 12.3 Kde struggles to play 1080p videos, dropped framerate in smplayer and garbled pictures in vlc. When I reboot into ubuntu on the same machine the playback is flawless.

What could be the problem? Both mplayer and vlc come with their own codecs, processor is the same, video card is the same, video file is the same.

I also have a feeling that Opensuse puts an extra strain on CPU as the laptop consistently runs about 5 C hotter than on ubuntu. If that is the case then I understand how CPU might struggle with high definition videos but where is this extra load coming from?

How can I troubleshoot it?

On 2013-06-10 11:26, Stan Ice wrote:
>
> My patched and updated 12.3 Kde struggles to play 1080p videos, dropped
> framerate in smplayer and garbled pictures in vlc. When I reboot into
> ubuntu on the same machine the playback is flawless.
>
> What could be the problem? Both mplayer and vlc come with their own
> codecs, processor is the same, video card is the same, video file is the
> same.

Video driver is the same? If you have, for example, an nvidia or ati
card, you have to install the proprietary driver explicitly.

> I also have a feeling that Opensuse puts an extra strain on CPU as the
> laptop consistently runs about 5 C hotter than on ubuntu. If that is the
> case then I understand how CPU might struggle with high definition
> videos but where is this extra load coming from?

See above.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

The video plays off integrated Intel chip which, I presume, has the same driver.

How much of video decoding is done by the graphics card? I thought it was done by CPU. I’ve tried turning off desktop effects but that made no difference.

I also tried looking at system monitor during playback, Opensuse total CPU load is about 75-80% during playback while ubuntu’s around 50%, though with different monitor apps and different cores having different values it’s hard to compare total load directly. On Opensuse mplayer or vlc process takes a smaller percentage of the load which, I think, means the system is busy with something else instead.

Vlc message log is an endless stream of dropped and delayed frames and I couldn’t get any useful information from smplayer log either. Kaffein’s frame rate is slow, too.

Could you post output of


/sbin/lspci -nnk

I manage a couple of laptops with various Optimus configs, AFAIK (haven’t heard users, they do watch video’s a lot, professionally) they work fine. I’ll be at the customer’s tomorrow, could have a look if I see something odd re. drivers.
Another thing to consider, since Intel drivers are included in the kernel, is to use a newer kernel. The way new kernels are installed these days, there’s not much risk in doing so; the “old” kernel is kept, and available through GRUB’s Advanced options.

On 2013-06-10 21:56, Stan Ice wrote:
> I also tried looking at system monitor during playback, Opensuse total
> CPU load is about 75-80% during playback while ubuntu’s around 50%,
> though with different monitor apps and different cores having different
> values it’s hard to compare total load directly. On Opensuse mplayer or
> vlc process takes a smaller percentage of the load which, I think, means
> the system is busy with something else instead.

Maybe desktop search engine is busy?


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

[quote=“robin_listas,post:5,topic:91138”]

Maybe desktop search engine is busy?[/QUOTE]That was my first thought too – Me thinks that it is a seasoned Ubuntu install that is being compared to a relatively new openSUSE install that is busy performing indexing.

Other points/areas that can be addressed:

struggles to play 1080p videos, dropped framerate in smplayer and garbled pictures in vlc. When I reboot into ubuntu on the same machine the playback is flawless.

What could be the problem? Both mplayer and vlc come with their own codecs, processor is the same, video card is the same, video file is the same.
what is the codec of the video file? are the playback app versions the same on both installs? are all the codec libraries the same on both installs?

The video plays off integrated Intel chip which, I presume, has the same driver.
Yes, you’d be using the same intel driver stack, however, the versions of the components in the driver stack are quite likely different between the two installs.

I agree that there isn’t much danger to trying a newer kernel, and that it can indeed provide relief or a solution to problems. However, bear in mind that only one part of the graphics driver stack is included in the kernel (the drm driver); the rest of the stack lies entirely in userspace. Accordingly, in chasing down graphics issues, you might also wish to pursue updates to the other parts of the stack too.

The video plays off integrated Intel chip which…How much of video decoding is done by the graphics card? I thought it was done by CPU.
Which intel graphics device do you have (Knurpht’s lspici question addresses this)? How much decoding is done depends upon what video rendering output mechanism your apps are using e.g. Xv, gl, va-api and the degree of acceleration that can be achieved by it in conjunction to the hardware being utilized.

This is on the OpenSuse side of things


stan@linux-y70s:~> uname -r
3.7.10-1.11-desktop
stan@linux-y70s:~> /sbin/lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: agpgart-intel
00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: i915
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: mei
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 05)
        Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46] (rev 05)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 05)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 05)
        Kernel driver in use: pcieport                                        
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: intel ips
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216 [GeForce GT 330M] [10de:0a2b] (rev ff)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: r8169
07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
        Subsystem: Askey Computer Corp. Device [144f:7175]
        Kernel driver in use: bcma-pci-bridge
16:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2382] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: sdhci-pci
16:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
16:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2383] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: jmb38x_ms
16:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2384] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
stan@linux-y70s:~> 

And this is a snapshot:

https://lh6.googleusercontent.com/-_HBvJqdCjFw/Ubbmw9bC-lI/AAAAAAAAE8c/lhjyvdxE-Sk/w1557-h876-no/snapOpenSuse.png

This is ubuntu:

stan@stan-Satellite-M645:~$ uname -r3.8.0-23-generic
stan@stan-Satellite-M645:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: agpgart-intel
00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02)
    Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: i915
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: mei
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05)
    Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 05)
    Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46] (rev 05)
    Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 05)
    Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 05)
    Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09] (rev 05)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 05)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 05)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 05)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: intel ips
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216M [GeForce GT 330M] [10de:0a2b] (rev ff)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: r8169
07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
    Subsystem: Askey Computer Corp. Device [144f:7175]
    Kernel driver in use: bcma-pci-bridge
16:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2382] (rev 20)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: sdhci-pci
16:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381] (rev 20)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
16:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2383] (rev 20)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
    Kernel driver in use: jmb38x_ms
16:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2384] (rev 20)
    Subsystem: Toshiba America Info Systems Device [1179:fd80]
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
    Subsystem: Intel Corporation Device [8086:8086]
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
    Subsystem: Intel Corporation Device [8086:8086]
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
    Subsystem: Intel Corporation Device [8086:8086]
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
    Subsystem: Intel Corporation Device [8086:8086]
ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
    Subsystem: Intel Corporation Device [8086:8086]
ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)
    Subsystem: Intel Corporation Device [8086:8086]
stan@stan-Satellite-M645:~$ 

And the snapshot:

https://lh3.googleusercontent.com/-52LnU9g8okA/UbbsfxFyRAI/AAAAAAAAE9Q/jMDy0xKXW4M/w1364-h767-no/snapUbuntu.png

This is laptop circa 2009-2010 with first generation Core i5 and Nvidia 330m with Optimus technology. It came with Windows 7 and had OpenSuse on it from the start.

Lately, after 12.3 upgrade, it started really struggling with high bit rate videos, even some in 720p, to the point of overheating and shutting off. That’s when I turned to Bumblebee and installed ubuntu to see what the effect would be. It was great.

On OpenSuse Bumblebee is still problematic so I only installed bbswitch and powered down Nvidia. Laptop now runs really really cool, as you can see in gkrellm in screenshots, but video struggles remain. This particular one is simply unwatchable with OpenSuse while dropped frames on ubuntu were largely when I was switching to monitor apps to overlay the video and do not affect the overall experience.

Ubuntu appears to have a newer kernel but otherwise both systems are new and up to date - VLC, mplayer, Kaffein etc. “lspci -nnk” reports seem to be identical, too.

On 2013-06-11 11:46, Stan Ice wrote:
> This is laptop circa 2009-2010 with first generation Core i5 and Nvidia
> 330m with Optimus technology.

This is the crucial bit, Optimus technology. You need a special driver
for this. It is possible that Ubuntu includes it directly and openSUSE
doesn’t, as it is proprietary. It could be that Ubuntu would be using
the proprietary Nvidia driver, and openSUSE would be using Intel or Nouveau.

You need Bumblebee or the proprietary Optimus driver - not the standard
Nvidia driver. Other people will know about this - please ask in the
boot-install subforum, not here.

> It came with Windows 7 and had OpenSuse on
> it from the start.

(spelled openSUSE, not any other combination, please)

Are you using that original openSUSE install? Or would it be a SUSE
install? They are different. Or did you replace everything with Ubuntu
and now you have installed another openSUSE?


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

As I said, Bumblebee is still problematic on openSUSE, it works for some and gives grief to others. For my needs, to keep laptop cool and save battery, I’ve been told it’s enough to install bbswitch and blacklist nouveau. This way Nvidia is powered down and no drivers for it are loaded. Laptop only uses the Intel chip.

Same happens on ubuntu, except there I have an option to use nvidia with their nvidia driver but for the purpose of this troubleshooting I do not. It’s all on Intel.

I never installed SUSE, only upgraded openSUSE, the last upgrade to 12.3 was done from DVD rather than via zypper. For ubuntu I just shrinked Windows partition and then used the same home directory. I thought it could be problematic but I figured as long as I use KDE on openSUSE and ubuntu uses Gnome based Unity there shouldn’t be a conflict between them. To test I’ve created a new openSUSE user with a completely new profile and the video problem still exists.

I could try Live openSUSE CD, if it allows VLC or Smplayer to install, and then see if the problem exists there.

Given that during video playback laptop is under 50% load and Vlc itself takes only 30%+, and on other machines with Bumblebee/Optimus there are no such issues at all, I think that the bottleneck could be somewhere here:

… video rendering output mechanism your apps are using e.g. Xv, gl, va-api and the degree of acceleration that can be achieved by it in conjunction to the hardware being utilized.

It looks to me as if the CPU does its decoding part without any strain but then frames get lost somewhere on the way to the monitor. Where can I find out what video rendering is used on openSUSE? I can check that against ubuntu.

Just tried another option - play the video on the laptop monitor instead the usual HDMI out. Same thing, dropped frames everywhere, maybe slightly less pronounced.

Is trying Live CD a good idea? If it is then need to download one, if it works then maybe it would be easier to find the differences, or maybe I could do a fresh openSUSE install.

On 2013-06-11 18:36, Stan Ice wrote:
>
> As I said, Bumblebee is still problematic on openSUSE, it works for some
> and gives grief to others. For my needs, to keep laptop cool and save
> battery, I’ve been told it’s enough to install bbswitch and blacklist
> nouveau.

Where you told this in this forum?

> I never installed SUSE, only upgraded openSUSE, the last upgrade to
> 12.3 was done from DVD rather than via zypper.

This is not clear.

You had SUSE, then upgraded to openSUSE using the DVD upgrade method, as
documented here?

Offline upgrade
method

The procedure applies to upgrading from openSUSE to openSUSE, not from
SUSE to openSUSE. They are different products.

> For ubuntu I just
> shrinked Windows partition and then used the same home directory.

If you share the same user folder between two distros, you can have
difificult to diagnose problems. You should at least use different users
even if they have the same UID, so that you can share data files from
the other user.

> I
> thought it could be problematic but I figured as long as I use KDE on
> openSUSE and ubuntu uses Gnome based Unity there shouldn’t be a conflict
> between them. To test I’ve created a new openSUSE user with a completely
> new profile and the video problem still exists.

Yes, that’s important to know.

> I could try Live openSUSE CD, if it allows VLC or Smplayer to install,
> and then see if the problem exists there.

I’m not sure you can install it. However, if you get a video that uses
only free codecs (those not encumbered by patents or copyright), the
default viewers could play that video from the live.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Here: https://forums.opensuse.org/english/get-technical-help-here/hardware/484188-setup-bumblebee-primus-opensuse-12-3-a-12.html#post2559190

and then continues on the next page, last comment before I started this thread was this: https://forums.opensuse.org/english/get-technical-help-here/hardware/484188-setup-bumblebee-primus-opensuse-12-3-a-13.html#post2563814

> I never installed SUSE, only upgraded openSUSE, the last upgrade to
> 12.3 was done from DVD rather than via zypper.

This is not clear.

I have never ever installed SUSE, it was openSUSE right from the beginning.

…only free codecs (those not encumbered by patents or copyright), the
default viewers could play that video from the live.

Would an .mp4 video from youtube work?

from your openSUSE snapshot, I notice an “xorg” process also with a high cpu utilization … is that process pegging steady like that? Also, unfortunaely, “xorg” doesn’t tell much … try seeing what’s going on by using htop instead

Where can I find out what video rendering is used on openSUSE? I can check that against ubuntu.
it will differ app to app, depending upon what they are configued to use … that said, most typically default to Xv

you can launch the video from the command line and observe the output that is generated in the terminal window while the video is playing in the app:

  • kaffeine filename
  • vlc filename
  • mplayer filename

mplayer will give the most explicit output.

I’m posting this from Live KDE CD. It came without a wireless driver, without sound output and without any video players, so it took me a while to get network access and install kaffeine, smplayer, vlc, restricted media codecs and three hundred other dependent packages.

So far video playback is smooth. I got 1080p Big Bugs Bunny in Theora and VLC hasn’t dropped a single frame. The video I used before plays okay in smplayer, too.

Here’s mplayer output in terminal:


linux@linux:/var/run/media/linux/Ext2> mplayer 3\ -\ Indian\ Takers.avi 
MPlayer dev-SVN-r35127-4.7-openSUSE Linux 12.3 (x86_64)-Packman (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing 3 - Indian Takers.avi.
libavformat version 54.25.104 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  4905.3 kbps (598.8 kbyte/s)
Clip info:
 Software: Lavf52.94.0
Load subtitles in ./
SUB: Added subtitle file (1): ./3 - Indian Takers.srt
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.54.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
mpg123 init error: Error reading the stream. (code 18)
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 256.0 kbit/8.33% (ratio: 32000->384000)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12 
A:  14.2 V:  14.2 A-V:  0.000 ct:  0.000 428/428 76% 11%  1.2% 3 0 


MPlayer interrupted by signal 2 in module: sleep_timer
A:  14.3 V:  14.3 A-V:  0.000 ct:  0.000 429/429 76% 11%  1.2% 3 0 

Exiting... (Quit)
linux@linux:/var/run/media/linux/Ext2> 


This is terminal output while playing in kaffeine:

linux@linux:/var/run/media/linux/Ext2> kaffeine 3\ -\ Indian\ Takers.avi 
linux@linux:/var/run/media/linux/Ext2> Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
vo_vdpau: Can't create vdp device : No vdpau implementation.
"/org/freedesktop/UDisks2/drives/TOSHIBA_MK5065GSX_30OES2JXS" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/HL_DT_STDVDRAM_GA31F_K0ZA4G91131" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_1304012700007970" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/TOSHIBA_MK5065GSX_30OES2JXS" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/TOSHIBA_MK5065GSX_30OES2JXS" : property "Device" does not exist 
"/org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_1304012700007970" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_1304012700007970" : property "Device" does not exist 
xv_set_property: property=0, value=0
xv_set_property: property=0, value=0
^C
linux@linux:/var/run/media/linux/Ext2>

Vlc, unfortunately, still can’t play the file. It probably needs a restart or something


linux@linux:/var/run/media/linux/Ext2> vlc 3\ -\ Indian\ Takers.avi 
VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0x23fc3d8] main interface error: no suitable interface module
[0x23c30a8] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x23c30a8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x7fa51cc2cb98] main decoder error: no suitable decoder module for fourcc `h264'. VLC probably does not support this sound or video format.
[0x7fa51cc2cb98] main decoder error: no suitable decoder module for fourcc `mpga'. VLC probably does not support this sound or video format.
linux@linux:/var/run/media/linux/Ext2>

Here’s a snaptshot playing in kaffeine

https://lh6.googleusercontent.com/-6pm_4J3KWL4/UbhHQVcgLaI/AAAAAAAAE-Y/RMzqUKgdTlk/w672-h378-no/snapKdeLiveKaffeine.png

Here’s a snapshot playing in smplayer

https://lh6.googleusercontent.com/-e6r-NKSAsjY/UbhITD4X3pI/AAAAAAAAE-w/Y1-JXY43MPk/w672-h378-no/snapKdeLiveSmplayer.png

First thing - xorg doesn’t take much processing power, I’ve tried a few videos on my installed openSUSE and it does run high all the time during video playback. Maybe xorg is indeed the culprit.

Here’s output of lspci -nnk


linux@linux:/sbin> ./lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: agpgart-intel
00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: i915
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: mei
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 05)
        Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46] (rev 05)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 05)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 05)
        Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 05)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: intel ips
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT216 [GeForce GT 330M] [10de:0a2b] (rev a2)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: nouveau
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: r8169
07:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
        Subsystem: Askey Computer Corp. Device [144f:7175]
        Kernel driver in use: bcma-pci-bridge
16:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2382] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: sdhci-pci
16:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
16:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2383] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
        Kernel driver in use: jmb38x_ms
16:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2384] (rev 20)
        Subsystem: Toshiba America Info Systems Device [1179:fd80]
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)
        Subsystem: Intel Corporation Device [8086:8086]
linux@linux:/sbin> 


Sorry for dumping all these outputs in one post, I just don’t want to miss anything while I’m in LiveCD session. I’ll leave it on for a couple of hours if any additional info is needed.

VLC is just missing the codecs. For now accept that it will play as good as the other players. The issue is in the CPU hogging of Xorg in your install. Since this doesn’t happen when running the Live environment, it should be something in the install/config.

  • Do you have an xorg.conf in /etc/X11?
  • When you run Yast - Software - Software manager, Install Overview, then sort the packages by clicking “Installed(available)”, do you see “red” packages?

No, there’s xorg.conf.d directory and xorg.conf.install last modified in May. I don’t remember touching it myself. Then there is a couple of xorg.conf backups from two years ago when I unsuccessfully tried to install nvidia driver, but there’s no xorg.conf itself.

  • When you run Yast - Software - Software manager, Install Overview, then sort the packages by clicking “Installed(available)”, do you see “red” packages?

Quite a lot of them, way over a hundred.

On 2013-06-12 06:06, Stan Ice wrote:

> and then continues on the next page, last comment before I started this
> thread was this: http://tinyurl.com/jwxbhhx

Ok, then it must be correct. I have not played with those cards myself.

>>> I never installed SUSE, only upgraded openSUSE, the last upgrade to
>>> 12.3 was done from DVD rather than via zypper.
>>
>> This is not clear.
>>
>
> I have never ever installed SUSE, it was openSUSE right from the
> beginning.

Then, I don’t understand that “from DVD”. Do you mean an offline upgrade
like this?

Offline upgrade
method

>> …only free codecs (those not encumbered by patents or copyright), the
>> default viewers could play that video from the live.
>>
>
> Would an .mp4 video from youtube work?

probably not.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Yes, I downloaded and burned openSUSE installation DVD, booted from it, and chose “Upgrade”. Previously I did “live upgrade” at least once, with changing repos and doing “zypper dup”, but this machine has seen through many upgrades already, I don’t remember how it was done each time. There could be some garbage collected over the years.

From your (defective, for some unknown reason) openSUSE install, playback the video file:

  • launching it from the cli, and post the terminal output
  • in another terminal, while the video is grinding and chugging along:
    [LIST]
  • see if any relevant output gets pushed to system logs; check:
dmesg | tail

and

sudo tail /var/log/messages

you don’t need to post the output unless you think there might be something (I’m not expecting there to be any, but you never know)

  • see what gets written to the xorg log file; capture the output to a file via
cat /var/log/Xorg.0.log > ~/checkingxorglog.txt 

and then copy and paste (the entirety) to SUSE Paste and provide a link

[/LIST]