LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-14-2023, 01:49 AM   #16
babam
LQ Newbie
 
Registered: Aug 2021
Distribution: Porteus, ZorinOS
Posts: 29

Rep: Reputation: Disabled

Quote:
Originally Posted by Aeterna View Post
thank you. I think that this worked
Is the video playable?
 
Old 02-14-2023, 07:30 AM   #17
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,018

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by babam View Post
Is the video playable?
Yes, it is.
 
Old 02-19-2023, 08:52 AM   #18
babam
LQ Newbie
 
Registered: Aug 2021
Distribution: Porteus, ZorinOS
Posts: 29

Rep: Reputation: Disabled
BTW, the latest driver that supports Slackware-15.0 (libva-2.13) is version 22.3.0

intel-media-driver-22.3.0
https://github.com/intel/media-drive...-22.3.0.tar.gz

intel-gmmlib-22.1.1
https://github.com/intel/gmmlib/arch...-22.1.1.tar.gz
 
Old 02-19-2023, 10:31 AM   #19
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,018

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by babam View Post
BTW, the latest driver that supports Slackware-15.0 (libva-2.13) is version 22.3.0

intel-media-driver-22.3.0
https://github.com/intel/media-drive...-22.3.0.tar.gz

intel-gmmlib-22.1.1
https://github.com/intel/gmmlib/arch...-22.1.1.tar.gz
Thank you. This is great news. I added this information to my fist post

Last edited by Aeterna; 02-19-2023 at 10:40 AM.
 
Old 02-19-2023, 12:39 PM   #20
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
I couldn't get the media driver to compile on my system. It got to 57% (media_libva_cp_interface.cpp.o) and crashed, complaining about an undeclared variable in the code.
 
Old 02-19-2023, 02:24 PM   #21
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by Aeterna View Post
I assume that enabling intel video acceleration is not very popular, nevertheless for interested:
Any chance you could add that to the docs?
https://docs.slackware.com/

If you for some reason can't. I could perhaps with your permission publish it for you there.
 
Old 02-19-2023, 05:11 PM   #22
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,018

Original Poster
Rep: Reputation: Disabled
@hazel,
Your system is -stable or -current. I am running -current and compiling went fine. I just compiled again intel-media-22.6.6 my system is up to date so possible changes between the time of publishing howto and today did not affect compilation output.. hmm unless there is a change in slackbuild (assuming that you did use slackbuild)
@zeebra,
I never have written any of Slackware docs but I can certainly try. If I have problems I will let you know.

Last edited by Aeterna; 02-19-2023 at 05:30 PM.
 
1 members found this post helpful.
Old 02-20-2023, 03:37 AM   #23
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by Aeterna View Post
@hazel,
Your system is -stable or -current. I am running -current and compiling went fine. I just compiled again intel-media-22.6.6 my system is up to date so possible changes between the time of publishing howto and today did not affect compilation output.. hmm unless there is a change in slackbuild (assuming that you did use slackbuild)
I use stable 15. I compiled the package by hand using the README as a guide; I didn't know there was a slackbuild for it.

ps: I just checked and the slackbuild is for an earlier version; I'll edit it for version 22 and see if that goes any better. If not, I'll try again with version 21.

I don't actually know if any of this would work for me as I have a Baytrail system-on-a-chip, which is fairly old hardware, but I don't have any hardware acceleration at all at the moment so I suppose it's worth trying.
 
Old 02-20-2023, 04:16 AM   #24
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by Aeterna View Post
Yes, it is.
Btw, I forgot to ask something. It's a bit embaressing, but I really have little clue about graphics. Do you have or is there any relevant similar information for virtual machines?

I assume the answer is no, and that it's an entirely different thing, but you seem to know about these things, so I ask you.
 
Old 02-20-2023, 04:41 AM   #25
anon231
Member
 
Registered: May 2010
Posts: 47

Rep: Reputation: 76
Quote:
Originally Posted by hazel View Post
I use stable 15. I compiled the package by hand using the README as a guide; I didn't know there was a slackbuild for it.

ps: I just checked and the slackbuild is for an earlier version; I'll edit it for version 22 and see if that goes any better. If not, I'll try again with version 21.

I don't actually know if any of this would work for me as I have a Baytrail system-on-a-chip, which is fairly old hardware, but I don't have any hardware acceleration at all at the moment so I suppose it's worth trying.
@hazel

Use sbopkg (slackware64-15)

intel-gmmlib 22.0.1
MD5 "cc15984a9e593d439d378b5ae5ebcda0"

intel-media-driver 22.1.1
MD5 "e29674d725868dbd398f46c684737039"

Checksums are from the official patches.

https://ibb.co/QDw2rHH
 
Old 02-20-2023, 07:53 AM   #26
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,018

Original Poster
Rep: Reputation: Disabled
@zeebra
I don't think that hardware acceleration will work at all in VM, at least in the case of VirtualBox, VM is using very generic virtual video card, also OpenGL support is pretty old.

@hazel,
I updated howto on the first page (thanks to @babam). For Stackware-15 stable, you need to use a little older version of:
intel-media-drive 22.3.0
intel-gmmlib 22.1.1
because Slackware-15 stable uses libva-2.13

Last edited by Aeterna; 02-20-2023 at 07:55 AM.
 
1 members found this post helpful.
Old 02-22-2023, 06:42 AM   #27
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Slackbuilds has intel-media-drive-21-3-5 and intel-gmmlib-21-3-1. Will they do?
 
Old 02-22-2023, 11:17 AM   #28
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,018

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Slackbuilds has intel-media-drive-21-3-5 and intel-gmmlib-21-3-1. Will they do?
My understanding is that
intel-media-drive 22.3.0
intel-gmmlib 22.1.1

were tested with libva-2.13. I don't know about earlier versions.

I would edit slackbuilds accordingly.
 
Old 02-23-2023, 08:07 AM   #29
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Rep: Reputation: 239Reputation: 239Reputation: 239
Hi Aeterna, thanks for this, now Brave can have hardware-acceleration set (with "brave://settings/system") without the fans coming on all the time ;-).

Some observations (with KabyLake, 9th generation; i7-7700HQ; pipewire; re-compiled ffmpeg, slackware64-current) when trying this out.

1. No Guc or HuC output in dmesg.
2. Testing with vlc (or QMplay2 with FFmpeg-VA-API Decoder) instead of mpv worked fine; gave "Video" output in 'intel-gpu-top' of ~7-11%.

Code:
bash-5.2$ cvlc Big_Buck_Bunny_1080_10s_5MB.mp4 
VLC media player 3.0.17.3 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000000000b25c60] dummy interface: using the dummy interface module...
[00007ff630c138a0] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding
3. Brave leads to more "RENDER/3D" output (~20-25%, starting at ~39%) than Firefox (~8%, starting at 15%)(No "Video" output).

with "brave://gpu/" (colors from brave output):
Quote:
Graphics Feature Status
Canvas: Hardware accelerated
Canvas out-of-process rasterization: Disabled
Direct Rendering Display Compositor: Disabled
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
OpenGL: Enabled
Rasterization: Hardware accelerated
Raw Draw: Disabled
Video Decode: Hardware accelerated
Video Encode: Software only. Hardware acceleration disabled
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
WebGPU: Disabled
..
Problems Detected
WebGPU has been disabled via blocklist or the command line.
Disabled Features: webgpu
Accelerated video encode has been disabled, either via blocklist, about:flags or the command line.
Disabled Features: video_encode
4. FWIW (not being a versed ffmpeg user), the ffmpeg conversions falter at my end on:
Quote:
[Parsed_format_0 @ 0x18149c0] auto-inserting filter 'auto_scale_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_format_0'
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0
Without the "-vf 'format=nv12,hwupload'" it worked (with "Big_Buck_Bunny_720_10s_2MB.mkv").

hth

Last edited by brobr; 02-23-2023 at 08:12 AM.
 
Old 02-23-2023, 08:26 AM   #30
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Nope, I can't get intel-media-22.3.0 to build, even using an edited slackbuild. It errors out at about 57% complete, just like when I did it by hand. Curiously, the error messages suggest actual errors in the code, undeclared variables and such-like.

It's not that important. I just wondered if I could get hardware acceleration on my video because I have none at the moment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware Acceleration - your system is currently running without video hardware acceleration Dunnyman Linux - Software 3 11-18-2020 02:43 PM
Render Acceleration on integrated intel video nyshtyak Linux - Hardware 2 11-10-2008 05:21 PM
Xorg 2D hardware acceleration for Intel 865G video card michal017 Linux - Software 9 01-16-2006 01:51 AM
Enabling Hardware Acceleration Support for Intel 82865 Integrated VGA saqib Linux - Hardware 1 09-20-2004 05:15 AM
Audigy Sound card and enabling 3D acceleration for GeoForce3 ti 500 heavyarmor4ever Linux - Newbie 1 01-03-2003 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration