On Sat, Aug 22, 2020 at 12:14:52AM +0100, Ken Moffat via blfs-support wrote: > On Sat, Aug 15, 2020 at 01:27:49AM +0800, Xi Ruoyao via blfs-support wrote: > > On 2020-08-14 17:00 +0100, Ken Moffat via blfs-support wrote: > > > On Fri, Aug 14, 2020 at 10:19:18AM -0500, Douglas R. Reno via blfs-support > > > wrote: > > > > On 8/9/20 6:57 PM, Ken Moffat via blfs-support wrote: > > > > > My second set of problems with video players ;) > > > > > > > > > > I know that xine has always been rather fragile, partly related to > > > > > CFLAGS I use in oe of the dependencies - but a year ago those > > > > > detined flags made it mostly work. With mov files and some of my > > > > > own mkv and (old: fmpeg-0.7!) mp4 conversions it has tended to > > > > > stutter (the picture jumps backwards). On downloads they usually > > > > > play ok. > > > > > > > > > > With my current (late July build) on my haswell, almost everything > > > > > that I try to play in xine crashes at startup. On my machine using > > > > > radeon r600, my own mov files crash but everything else plays fine. > > > > > On my machien with amdgpu, the mov files from my camera similarly > > > > > crash, but everything else plays *until I use the xine control > > > > > slider to move forward through the video* (I don't wish to spend > > > > > hours looking at the files I'm using for testing). As soon as I > > > > > touch the slider, xine crashes. [...] > > > > > > > > I wanted to let you know that I was able to get Xine to play > > > > big_buck_bunny.mp4 properly on my Intel Skylake system (i5-6600k). I > > > > don't > > > > have any .mov files or any .wmv files sitting around here that I can use > > > > though, and I'm not sure converting would be much help here either. I > > > > did > > > > also scrub through the video using the slider, and watched it to > > > > completion. > > > > > > > > I am using Mesa-20.1.5, with the Intel Iris driver that's built into > > > > Mesa > > > > (newer Intel systems won't be able to use i965 properly, especially > > > > once the > > > > Xe series of graphics cards comes out). FFMPEG-4.3.1 is in use too. The > > > > current driver loaded on my system is "iris". I did see an error > > > > regarding > > > > libvdpau_nvidia.so when starting though, but I don't think that's > > > > related. > > > > As far as I can tell, I do have the latest version of the related > > > > packages > > > > installed on this machine. > > > > > > > > Here is my console output: > > > > > > > > renodr [ /sources ]$ xine big_buck_bunny.mp4 > > > > This is xine (X11 gui) - a free video player > > > > v0.99.12. | > > > > (c) 2000-2019 The xine Team. > > > > Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared > > > > object > > > > file: No such file or direct > > > > ory > > > > libva info: VA-API version 1.8.0 > > > > libva error: vaGetDriverNameByIndex() failed with unknown libva error, > > > > driver_name = (null) > > > > > > > > > > > > Is it possible that it could be permissions? My intel system here is a > > > > systemd box. I am working on my elogind system at the moment to check > > > > on a > > > > couple things, and it has a Radeon in it. I'll let you know how that > > > > works, > > > > it's on my list to try next. > > > > I know libva-intel-driver won't work with new Intel hardware. But I'm not > > sure > > if it would work with mesa Iris driver. Have you > > tried `MESA_LOADER_DRIVER_OVERRIDE=i965`? > > I assumed that question was for Douglas, because I was using my > haswell. > > I've now been trying xine on my i3 skylake (not sure how to tell if > that is using Iris ?) and some files play in xine without problems > (no sound on this machine, but the video is ok) but others crash > immediately. > > Looking at term output for one of those: > > This is xine (X11 gui) - a free video player v0.99.12. > (c) 2000-2019 The xine Team. > Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object > file: No such file or directory > X Error of failed request: BadValue (integer parameter out of range for > operation) > Major opcode of failed request: 149 (XVideo) > Minor opcode of failed request: 13 () > Value in failed request: 0x2 > Serial number of failed request: 1818 > Current serial number in output stream: 1820 > ken@leshp ~$ > That was luser error - I'd originally bought this machine to use as my home server, but replaced it and now use it both as a test server and occasionally for desktop testing. As a server I didn't have a .xinitrc so I copied one from a machine where I had specified VDPAU_DRIVER=radeonsi. Specifying that seems to be unnecessary on any of my current machines.
With parole I still cannot watch anything, but xine works for some of the commercial mov files and mp4s I have (but not *recent* rips nor any mkv) and wmv (as well as ogv). I see that xine falls back to i965: This is xine (X11 gui) - a free video player v0.99.12. (c) 2000-2019 The xine Team. libva info: VA-API version 1.8.0 libva info: Trying to open /usr/lib/dri/iHD_drv_video.so libva info: va_openDriver() returns -1 libva info: Trying to open /usr/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_8 libva info: va_openDriver() returns 0 The iHD_drv_video.so comes from https://github.com/intel/media-driver/ (no releases, depends on https://github.com/intel/gmmlib which again has no releases) but since I'm not planning to offload encoding to the hardware I see no poitn in trying to use that. ĸen > -- > Juliet's version of cleanliness was next to godliness, which was to > say it was erratic, past all understanding and was seldom seen. > -- Unseen Academicals > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page -- Juliet's version of cleanliness was next to godliness, which was to say it was erratic, past all understanding and was seldom seen. -- Unseen Academicals -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page