[arch-general] clipped video output with multihead
When I play a video with mplayer2 (also happens with tvtime) MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio & 361 video codecs I get the following display problem on screen 2 (I use a dual head setup]: http://i42.tinypic.com/2utj482.png fullscreen, http://i43.tinypic.com/33xvg29.png uname -r 3.1.5-1-ARCH X.Org X Server 1.11.3 Release Date: 2011-12-16 lspci: 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02) 00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02) 00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02) 00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) 00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) 00:1d.2 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) 00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) 00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) 01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600] 01:00.1 Display controller: ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary) 02:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11) 02:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11) 02:0d.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13) glxinfo: name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.4 client glx vendor string: Mesa Project and SGI client glx version string: 1.4 GLX version: 1.4 OpenGL vendor string: X.Org R300 Project OpenGL renderer string: Gallium 0.4 on ATI RV350 OpenGL version string: 2.1 Mesa 7.11.2 OpenGL shading language version string: 1.20 dmesg http://pastebin.com/fBCmFXDb Xorg.log.0 http://pastebin.com/GiCbRu4T
On Sun, 2011-12-18 at 01:10 -0300, Sébastien le Preste de Vauban wrote:
When I play a video with mplayer2 (also happens with tvtime)
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio & 361 video codecs
I get the following display problem on screen 2
Linux isn't the best choice for video. Thanks to Robin we've got Ardour3 video timeline http://rg42.org/wiki/a3vtl (so I won back hope I already had lost) but this is a little bit OT, regarding to your request. Did you try several video players with different backends? I usually install all video players that are available. Linux is bad regarding to audio and video containers and even if Linux is used for some tasks by professional film studios, it's impossible to use it for professional serious basics such as NLE or even for consumer usages like playing common Internet videos or transforming container formats. Try another Linux video player, perhaps with another backend, what ever your problem playing videos might be. 2 Cents, Ralf PS: I experienced tries solving video issues as much too time consuming, that seldom had success. Trying several media players/backends always was the better way for me to go. YMMV.
PPS: There was a request at Ubuntu Studio users list what to use as the default video player. https://lists.ubuntu.com/archives/ubuntu-studio-users/2011-December/008049.h... Suggested was TOTEM, some preferred VLC, nobody was thinking of MPlayer ;).
On 18-12-2011 11:40, Ralf Madorf wrote:
On Sun, 2011-12-18 at 01:10 -0300, Sébastien le Preste de Vauban wrote:
When I play a video with mplayer2 (also happens with tvtime)
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio & 361 video codecs
I get the following display problem on screen 2
Linux isn't the best choice for video. Thanks to Robin we've got Ardour3 video timeline http://rg42.org/wiki/a3vtl (so I won back hope I already had lost) but this is a little bit OT, regarding to your request.
OP was asking for help with playback, not editing.
Did you try several video players with different backends? I usually install all video players that are available.
Linux is bad regarding to audio and video containers and even if Linux is used for some tasks by professional film studios, it's impossible to use it for professional serious basics such as NLE or even for consumer usages like playing common Internet videos or transforming container formats.
Come again? VLC and mplayer have always been able to happily play everything I've thrown at them while many windows players crap themselves out because they either don't know how to handle the container, video or audio.
Try another Linux video player, perhaps with another backend, what ever your problem playing videos might be.
2 Cents,
Ralf
PS: I experienced tries solving video issues as much too time consuming, that seldom had success. Trying several media players/backends always was the better way for me to go. YMMV.
-- Mauro Santos
On 18/12/11 13:23, Mauro Santos wrote:
On 18-12-2011 11:40, Ralf Madorf wrote:
On Sun, 2011-12-18 at 01:10 -0300, Sébastien le Preste de Vauban wrote:
When I play a video with mplayer2 (also happens with tvtime)
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio & 361 video codecs
I get the following display problem on screen 2
Linux isn't the best choice for video. Thanks to Robin we've got Ardour3 video timeline http://rg42.org/wiki/a3vtl (so I won back hope I already had lost) but this is a little bit OT, regarding to your request.
OP was asking for help with playback, not editing.
Did you try several video players with different backends? I usually install all video players that are available.
Linux is bad regarding to audio and video containers and even if Linux is used for some tasks by professional film studios, it's impossible to use it for professional serious basics such as NLE or even for consumer usages like playing common Internet videos or transforming container formats.
Come again? VLC and mplayer have always been able to happily play everything I've thrown at them while many windows players crap themselves out because they either don't know how to handle the container, video or audio.
Try another Linux video player, perhaps with another backend, what ever your problem playing videos might be.
2 Cents,
Ralf
PS: I experienced tries solving video issues as much too time consuming, that seldom had success. Trying several media players/backends always was the better way for me to go. YMMV.
Might be the video driver? Since doesn't mplayer/vlc/totem all use ffmpeg? Try ffplay i'd say. -- Jelle van der Waa
On Sun, 2011-12-18 at 12:23 +0000, Mauro Santos wrote:
Come again? VLC and mplayer have always been able to happily play everything I've thrown at them while many windows players crap themselves out because they either don't know how to handle the container, video or audio.
I don't have experiences with Microsoft and Apple. I don't have much experiences with consumer equipment, regarding to audio and video, unfortunately I do have some experiences :(. By all means, I recommend to test Totem and VLC. I'm interested in multimedia and I switched to Arch Linux for good reasons. I always recommend to use Linux only, even for pro audio, but this go along with disadvantages :(. You might read http://lists.linuxaudio.org/pipermail/linux-audio-user/2011-December/082389.... There are solutions for audio, but for video I suspect unlikeable OS to have advantages :(. IMO it's brutal truth. I really hope I'm mistaken and you are right. Ralf
smplayer is good. 在 2011年12月18日 下午8:35,Ralf Madorf <ralf.mardorf@alice-dsl.net>写道:
On Sun, 2011-12-18 at 12:23 +0000, Mauro Santos wrote:
Come again? VLC and mplayer have always been able to happily play everything I've thrown at them while many windows players crap themselves out because they either don't know how to handle the container, video or audio.
I don't have experiences with Microsoft and Apple. I don't have much experiences with consumer equipment, regarding to audio and video, unfortunately I do have some experiences :(.
By all means, I recommend to test Totem and VLC.
I'm interested in multimedia and I switched to Arch Linux for good reasons. I always recommend to use Linux only, even for pro audio, but this go along with disadvantages :(. You might read
http://lists.linuxaudio.org/pipermail/linux-audio-user/2011-December/082389....
There are solutions for audio, but for video I suspect unlikeable OS to have advantages :(.
IMO it's brutal truth.
I really hope I'm mistaken and you are right.
Ralf
On Sun, 18 Dec 2011 13:35:35 +0100 Ralf Madorf wrote:
There are solutions for audio, but for video I suspect unlikeable OS to have advantages :(.
Considering a lot of the digital signage industry uses Linux on many screens I suspect it can handle video just fine. Flash in a browser has crap performance for two reasons a badly written flash player and maybe needs gpu access set-up and because rendering in browsers is inefficient anyway, I wish they'd look at that, rather than dumb javascript stats that break some of the grsecurity kernel security patches features. By default non-free codecs may be a problem and apparently xine is thought to be most reliable for dvds and probably a lot of codecs etc.. Whatever platform you use, no single format will work on all by default. I thought I'd found one (mpeg2 with expired copyright), untill I tried it on a playbook?, I think. Which is why Google are pushing vp8 but getting resistance from Apple.
El 18/12/11 08:40, Ralf Madorf escribió:
On Sun, 2011-12-18 at 01:10 -0300, Sébastien le Preste de Vauban wrote:
When I play a video with mplayer2 (also happens with tvtime)
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio& 361 video codecs
I get the following display problem on screen 2 Did you try several video players with different backends? I usually install all video players that are available.
I think it is not a problem of the video player, but it's xserver fault. with VLC I have the same problem, http://i39.tinypic.com/ncxod3.png With 3d games I do not experience this issue, tested with neverball. Also, with tvtime (video4linux, for displaying content through your tv pci/pcie card) I get the same problem.
On Sun, 2011-12-18 at 09:41 -0300, Sébastien le Preste de Vauban wrote:
El 18/12/11 08:40, Ralf Madorf escribió:
On Sun, 2011-12-18 at 01:10 -0300, Sébastien le Preste de Vauban wrote:
When I play a video with mplayer2 (also happens with tvtime)
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio& 361 video codecs
I get the following display problem on screen 2 Did you try several video players with different backends? I usually install all video players that are available.
I think it is not a problem of the video player, but it's xserver fault.
with VLC I have the same problem, http://i39.tinypic.com/ncxod3.png
With 3d games I do not experience this issue, tested with neverball.
Also, with tvtime (video4linux, for displaying content through your tv pci/pcie card) I get the same problem.
Currently I don't have access to a video player. But IIRC they provide options how to display videos. Usually we use a mode that makes it impossible to take an 'averaged' screen shot, but there are other modes that are slower (enabling 'averaged' screen shots), but those could work anyway and sometimes those modes avoid some failure. Perhaps you could try options regarding to the way the video is displayed by X. No knowledge, just a shot in the dark. Ralf
Did you try with differend backends? xv/gl/(vdpau)
On Sun, 2011-12-18 at 14:56 +0200, Jesse Jaara wrote:
Did you try with differend backends? xv/gl/(vdpau)
Again, I agree, backends for what ever! Interpretation of the codecs might be important too. Dunno, but I guess Jesse refers to some X related thingies. I experienced differences using those 'thingies' myself, but I don't have any knowledge. - Ralf
On 18/12/11 14:05, Ralf Madorf wrote:
On Sun, 2011-12-18 at 14:56 +0200, Jesse Jaara wrote:
Did you try with differend backends? xv/gl/(vdpau)
Again, I agree, backends for what ever! Interpretation of the codecs might be important too. Dunno, but I guess Jesse refers to some X related thingies. I experienced differences using those 'thingies' myself, but I don't have any knowledge.
- Ralf
If you have no knowledge, then just don't respond. Jesse actually raises a valid point, try another backend vdpau can cause some problems here for me. mplayer -vo xv or mplayer -vo gl . To test different backends ( also see mplayer -vo help , for the different kinds of backends ) Else it might be an X bug, so be sure to report it or check the mailing list/ bug tracker if there is any known bug. -- Jelle van der Waa
El 18/12/11 09:56, Jesse Jaara escribió:
Did you try with differend backends? xv/gl/(vdpau)
Thanks, Results: Same problem with: xv, sdl No issues with: gl, x11, gl_nosw, gl_sdl Tested with mplayer2 Now I am figuring out how to change the video output driver with tvtime (I have a bttv compatible tv card) btw I have a 9600 ati radeon vga card using the open source driver (Gallium 0.4 on ATI RV350)
On 18-12-2011 04:10, Sébastien le Preste de Vauban wrote:
When I play a video with mplayer2 (also happens with tvtime)
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio & 361 video codecs
Can you give mplayer (just mplayer, not mplayer2) a try? I've had problems with mplayer2 before, not with video playback but with subtitles. I'm not familiar with tvtime so I can't provide any comments about it. As for mplayer try using a different video out driver, use 'mplayer -vo driver video_file' You can get a list of drivers with 'mplayer -vo help'. Some that may be worth trying are: xv (most probably the one mplayer auto selects), x11, sdl, gl, gl2, gl_nosw. Some of these might not have any form of acceleration so they may be slow or cpu intensive but will do for testing as you may be hitting some bug in the drivers. Also try with vlc and check if the same happens, I think vlc will also try to use xv and if the problem is the same it might help to determine what the problem is. -- Mauro Santos
On 18-12-2011 14:15, Mauro Santos wrote:
On 18-12-2011 04:10, Sébastien le Preste de Vauban wrote:
When I play a video with mplayer2 (also happens with tvtime)
MPlayer2 2.0-379-ge3f5043 (C) 2000-2011 MPlayer Team 162 audio & 361 video codecs
Can you give mplayer (just mplayer, not mplayer2) a try? I've had problems with mplayer2 before, not with video playback but with subtitles. I'm not familiar with tvtime so I can't provide any comments about it.
As for mplayer try using a different video out driver, use 'mplayer -vo driver video_file'
You can get a list of drivers with 'mplayer -vo help'. Some that may be worth trying are: xv (most probably the one mplayer auto selects), x11, sdl, gl, gl2, gl_nosw. Some of these might not have any form of acceleration so they may be slow or cpu intensive but will do for testing as you may be hitting some bug in the drivers.
Also try with vlc and check if the same happens, I think vlc will also try to use xv and if the problem is the same it might help to determine what the problem is.
Phone calls and lunch got in the way of writing a reply and this was already suggested and tried, sorry for the noise as this as nothing to add. As for tv time, if it uses mplayer as a backend then it might read ~/.mplayer/config. If it does then you can set the video out driver in the config file with a line: vo=driver -- Mauro Santos
participants (7)
-
Jelle van der Waa
-
Jesse Jaara
-
Kevin Chadwick
-
Mauro Santos
-
Ralf Madorf
-
Sébastien le Preste de Vauban
-
李凌