|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Video playback
Good hello all,
I just installed OpenBSD 6.1 on my Lenovo Ideapad 500 and can boot into cwm with no problems. I've installed Firefox and mplayer onto it and have also copied a video file over to it (an exercise video). The processor is a Core i7 with 12GB RAM and a 15.6" display. I tested it with YouTube and found no problems at all. It defaults to playing 1080 video and has no performance problems at full screen. The problem is when I try to use mplayer to play the video as it plays very slowly and has clear lag between screen output and sound. I've run fw_update and saw it installed the radeon drivers for the built-in video card. Does anyone know how to resolve this issue? If so, how? Thanks in advance. |
|
|||
Look at this thread:
http://daemonforums.org/showthread.p...0016#post60086 If you would like to check whether yours GPU is accelerating OpenGL-based programs you could use this command: Code:
/usr/X11R6/bin/glxinfo | grep -E -e 'direct rendering' -e ' {4}Device' -e ' {4}Accelerated' -e '^OpenGL [v,r,v].* string' Code:
vblank_mode=1 /usr/X11R6/bin/glxgears & /bin/sleep 15.4 ; pkill glxgears
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
||||
Hrm, thought I posted this last night, but anyway, I had the same results on a fresh install of 6.1 on a yoga2 with an Intel video card. Using mpv gave me choppy, hard to watch video, while ffplay gave me normal playback. However, another oddity was that ffplay didn't play the subtitles of an mkv video.
|
|
||||
The mpv and mplayer applications select from multiple "video output drivers" which use different rendering subsystems such as SDL and OpenGL. This might be why sorkom has different results using Firefox and mplayer on the same hardware -- the default renderer being used by each application may be different.
|
|
||||
For me, my quick workaround is using ffplay. If I _really _ need subtitles, I'll embed them with ffmpeg.
Obligatory xkcd about workarounds https://xkcd.com/1822/ |
|
|||
Hello all and thanks for all your help thus far. I used the code listed above to determine that the video on my laptop is not accelerated but that my desktop is, both of which have Intel Corei7 processors. Now I need to enable acceleration. Thanks again.
|
|
|||
Whether or not OpenBSD supports your laptop GPU depends on the generation of this GPU. As far as I am concerned Skylake and Kaby Lake are not supported yet. IMHO they are will be in future, because Intel GPUs are favorable in open source operating systems (AMD isn't that bad in Gnu/Linux distros too), but we don't know when. Maybe OpenBSD Devs will update drivers in 2017, maybe in 2018, maybe later.
Anyway you can find details about your hardware in dmesg(8) (built-in base system) and lspci (third-party pciutils package).
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
|||
Ah, maybe that's why, my desktop has accelerated graphics, because it's an older (Haswell) CPU whilst this one is a newer Skylake chip. Thanks all. Here's to hoping 6.2 fixes this.
|
|
|||
Mpv can work without OpenGL acceleration if you use appropriate video output.
http://daemonforums.org/showthread.p...0016#post60086
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
||||
Cool, I'll try that tonight.
Just to keep me from having to click when I look at this this evening, the suggestion is Code:
mpv -vo help Code:
mpv -vo xv myfile.mp4 Last edited by scottro; 16th April 2017 at 09:58 PM. |
Tags |
lenovo, openbsd 6.1, performance, radeon, video |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trouble with flac files playback on cmus. | sepuku | OpenBSD Packages and Ports | 7 | 20th November 2011 02:28 PM |
x11/xf86-video-intel and x11/xf86-video-intel29? | Carpetsmoker | FreeBSD Ports and Packages | 2 | 23rd October 2011 01:23 PM |
Question about mplayer and video playback | Daffy | OpenBSD Packages and Ports | 9 | 21st June 2010 02:36 PM |
Advice on DVD playback sought | Vahagn | FreeBSD General | 10 | 14th November 2008 08:09 PM |
Video For BSD | Fritz_Katz | FreeBSD General | 11 | 2nd October 2008 01:33 AM |