You are not logged in.

#1 2014-07-20 08:56:09

ramboman
Member
Registered: 2010-01-23
Posts: 35

Mplayer and Vlc play audio only, no video.

Since my last update (2014-07-07), every once in a while, when I watch a video file from Mplayer or Vlc, there is only audio and no video. Vlc shows no error messages in the console, but Mplayer do:

...
X11 error: BadRequest (invalid request code or no such operation)
A:   1.8 V:   1.8 A-V:  0.001 ct:  0.040   0/  0  2%  0%  1.1% 0 0 
X11 error: BadRequest (invalid request code or no such operation)
A:   1.8 V:   1.8 A-V:  0.000 ct:  0.040   0/  0  2%  0%  1.1% 0 0 
X11 error: BadRequest (invalid request code or no such operation)
A:   1.9 V:   1.9 A-V:  0.000 ct:  0.040   0/  0  2%  0%  1.1% 0 0 
X11 error: BadRequest (invalid request code or no such operation)
A:   1.9 V:   1.9 A-V:  0.000 ct:  0.040   0/  0  2%  0%  1.1% 0 0 
X11 error: BadRequest (invalid request code or no such operation)
...

There is this

X11 error: BadRequest (invalid request code or no such operation)

printed repeatedly when I use Mplayer and the problem occurs.

When I logout from Awesome WM, and restart X. The problem persists. It can be temporarily solved when rebooting, but it may occur later.

Where can this problem come from?

Offline

#2 2014-07-20 10:37:40

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Mplayer and Vlc play audio only, no video.

Do you use vdpau, vaapi, opengl or similar for output? Have you upgraded/updated everything on the system? Also aur packages? No hardware and drivers information whatsoever?

Offline

#3 2014-07-22 08:22:54

ramboman
Member
Registered: 2010-01-23
Posts: 35

Re: Mplayer and Vlc play audio only, no video.

Doing:

% for i in vdpau vaapi opengl; do pacman -Q | grep $i; done
# i get:
lib32-libvdpau 0.8-1
libvdpau 0.8-1

libvdpau is a dependency of mplayer. I have not yet upgraded the system since 2014-07-07. I did not upgraded the aur packages.

Also in awesome wm, after the problem occurs, when accessing a menu, there is some sort of graphical glitch making the menu look like a block with random strips of different colors, but when moving selection in the menu using keyboard arrows the menu becomes normal again.


Hardware informations:
G550 Lenovo Laptop

% lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
04:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
07:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)

The video card is a:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

% pacman -Q | grep intel
intel-dri 10.2.2-1
intel-tbb 4.2_20140601-1
lib32-intel-dri 10.2.2-1
xf86-video-intel 2.99.912-1

Offline

#4 2014-07-22 09:40:46

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Mplayer and Vlc play audio only, no video.

ramboman wrote:

Doing:

% for i in vdpau vaapi opengl; do pacman -Q | grep $i; done
# i get:
lib32-libvdpau 0.8-1
libvdpau 0.8-1

I was referring to mplayers output.

man mplayer # and search for vo switch 

Also you may want to look into mpv and use it instead of mplayer should you like it.

ramboman wrote:

libvdpau is a dependency of mplayer. I have not yet upgraded the system since 2014-07-07. I did not upgraded the aur packages.

It is up to the user to take care of aur packages, but in this case it may be irrelevant.

Forum rules wrote:

IF YOUR SYSTEM IS NOT UP TO DATE - YOU ARE DOING IT WRONG. PACMAN -Syu *BEFORE* POSTING

I recommend doing a full system upgrade.

ramboman wrote:

Also in awesome wm, after the problem occurs, when accessing a menu, there is some sort of graphical glitch making the menu look like a block with random strips of different colors, but when moving selection in the menu using keyboard arrows the menu becomes normal again.

Could be related to the compositing manager. Are you using one?

Do you have direct rendering enabled?

glxinfo | grep deri

Offline

#5 2014-12-21 02:20:44

luuuciano
Member
Registered: 2007-01-27
Posts: 311

Re: Mplayer and Vlc play audio only, no video.

Same here!
No solution found yet... just reboot sad

No idea what is triggering this... it works ok for hours, and then at some point it just starts to fail...

$ pacman -Q | grep intel
intel-tbb 4.3_20141023-1
intel-ucode 20140913-1
libva-intel-driver 1.4.1-1
xf86-video-intel 2.99.916-3

$ lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)

Last edited by luuuciano (2014-12-21 02:22:08)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#6 2014-12-21 02:57:54

ramboman
Member
Registered: 2010-01-23
Posts: 35

Re: Mplayer and Vlc play audio only, no video.

I think I have found the bug report related to this problem:
FS#41045 - [linux] opengl programs crash after/while suspend to ram with 3.16 kernel

Since I don't need to have a bleeding edge kernel, changing to the LTS 3.14 kernel did solve my problem.

Offline

#7 2014-12-21 04:09:53

luuuciano
Member
Registered: 2007-01-27
Posts: 311

Re: Mplayer and Vlc play audio only, no video.

Well... I do have that intel_do_flush_locked issue (google-earth and firefox fails with it)
But I do not use any suspend/hibernate etc.... do you use it?
Maybe that is a way to force it to happen?

wow, half a year with this issue happening?... it looks like not so many people are using intel graphics card, lol

Last edited by luuuciano (2014-12-21 04:14:44)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#8 2014-12-22 03:39:39

GRem
Member
From: Asunción
Registered: 2010-08-20
Posts: 32

Re: Mplayer and Vlc play audio only, no video.

@luuuciano: You might be right - suspend to RAM guarantees the flush_locked issue, but it can also happen at random, which is fixed by rebooting. At first I thought I fixed it switching to UXA, but it was just the reboot that helped - going back to SNA worked with my videos until I suspended again.

In the meantime, the LTS kernel helps. There is a patch already (I think), so the next kernel should be the one to squash this bug.

Offline

Board footer

Powered by FluxBB