WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: I'm a beginner. Can I play videos using the iGPU on Tiny Core Linux?  (Read 308 times)

Offline sakusaku

  • Newbie
  • *
  • Posts: 5
CPU: i3 7130U / Integrated GPU: Intel Graphics 620. When I play a 1080p YouTube video in Firefox ESR, the video stutters, and CPU usage is at 70%. I ran `tce-load -wi graphics-KERNEL.tcz Xorg-7.7`. but the system is still under heavy load.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 462
Re: I'm a beginner. Can I play videos using the iGPU on Tiny Core Linux?
« Reply #1 on: August 18, 2026, 07:27:00 PM »
You'll need the xf86-video-intel.tcz extension and either intel-media.tcz or intel-vaapi-driver.tcz.

It looks like your system has "Intel HD Graphics", so I think it uses intel-media.tcz. But if it doesn't work try the other one. Firefox might also need libGL.tcz, but I haven't tried video playback in Firefox myself so I'm not sure.

In Firefox enter "about:support" in the address bar and check the Graphics section to see if "HARDWARE_VIDEO_DECODING" has been detected as "available". You can check if the drivers are loaded with the "vainfo" command in a terminal window, which also requires the libva2-utils.tcz extension to be loaded.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15782
Re: I'm a beginner. Can I play videos using the iGPU on Tiny Core Linux?
« Reply #2 on: August 19, 2026, 06:47:43 AM »
I gave this a try on a machine with Mesa Intel(R) HD Graphics 4400 (HSW GT2).

Loading xf86-video-intel, Xorg-7.7-3d, intel-vaapi-driver and libva22-utils

I needed to copy this to /usr/local/share/X11/xorg.conf.d:
Code: [Select]
cat 20-intel.conf
Section "Device"
        Identifier "Intel Graphics"
        Driver "intel"
        Option "DRI" "crocus"
EndSection

Then:
Code: [Select]
vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
i.e. H264 is supported.

In firefox about:support I got:
Code: [Select]
GPU #1
Active Yes
Description Mesa Intel(R) HD Graphics 4400 (HSW GT2)
...
Codec Support Information
Codec Name Software Decoding Hardware Decoding
H264 Supported Supported

Offline sakusaku

  • Newbie
  • *
  • Posts: 5
Re: I'm a beginner. Can I play videos using the iGPU on Tiny Core Linux?
« Reply #3 on: August 19, 2026, 08:22:50 AM »
Thank you. I can't do it right now, but I'd like to try it when I'm able to!

Offline sakusaku

  • Newbie
  • *
  • Posts: 5
It was a training camp, but I’ve managed to figure it out now. I’m sorry—I’m a beginner. What should I install, and what steps do I need to take? I’d appreciate it if you could explain it clearly, step by step.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15782
Boot to the console prompt (or exit to the console prompt if you are already running a gui).

Load the required extensions and start the gui:
Code: [Select]
tce-load -i xf86-video-intel Xorg-7.7-3d flwm aterm wbar intel-vaapi-driver intel-media libva22-utils
startx
Note that we are loading both intel-vaapi-driver and intel-media to check which driver you need.

If the gui starts, run these commands and paste the results in this thread:
Code: [Select]
grep EE /var/log/Xorg.0.log
vainfo

Offline sakusaku

  • Newbie
  • *
  • Posts: 5
Thank you so much.

Code: [Select]
tc@box:~$ grep EE /var/log/Xorg.0.log
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.589] (EE) AIGLX error: dlopen of /usr/local/lib/dri/i965_dri.so failed (/usr/local/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[     6.589] (EE) AIGLX error: unable to load driver i965
[     6.589] (EE) Initializing extension MIT-SCREEN-SAVER
[     7.256] (EE) AIGLX error: dlopen of /usr/local/lib/dri/i965_dri.so failed (/usr/local/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[     7.256] (EE) AIGLX error: unable to load driver i965

Code: [Select]
tc@box:~$ vainfo
Trying display: x11
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22.0 (libva 2.22.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSlice
      VAProfileVP9Profile2            : VAEntrypointVLD
tc@box:~$
« Last Edit: Today at 09:25:32 AM by Rich »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15782
So it looks like your GPU supports h264, hevc, vp8 and vp9 acceleration.

You could also try creating a file containing this:
Code: [Select]
Section "Device"
        Identifier "Intel Graphics"
        Driver "intel"
        Option "DRI" "crocus"
EndSection
..naming it 20-intel.conf, copying it to /usr/local/share/X11/xorg.conf.d, exiting to the console prompt and "startx" again - this might get rid of the 965_dri.so error you saw in /var/log/Xorg.0.log.

You can now look under "about:support" in firefox and scroll down to "Codec Support Information" to check if hardware decoding is supported.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12962
Hi sakusaku

Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Offline sakusaku

  • Newbie
  • *
  • Posts: 5
Got it. Thank you. I'll keep that in mind.
Code: [Select]
command