[mythtv-users] VAAPI support on newer Intel iGPUs

Adam Stylinski kungfujesus06 at gmail.com
Sun Sep 21 17:28:19 UTC 2025


I recently upgraded my frontend hardware but for whatever reason, vaapi support does not seem to be working.
It works just fine from mpv (though it _wants_ to use x11vk as the output, I can force it to be vaapi and it works
by using an env var that forces libva to not use DRI3).

I'm using the modesetting DDX if that's at all relevant, and the GPU is on a Raptor Lake CPU.  The verbose output
for playback tells me:

2025-09-21 13:23:07.626928 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
2025-09-21 13:23:07.632384 I  VideoProfile: Resetting decoder/render support
2025-09-21 13:23:07.637696 I  MythCodecContext: Created hardware device 'vaapi' (/dev/dri/renderD128)
2025-09-21 13:23:07.637697 I  Creating dummy interop
2025-09-21 13:23:07.637703 I  VAAPIDec: Supported/available VAAPI decoders:
2025-09-21 13:23:07.639447 I  MythCodecContext: Created hardware device 'vaapi' (/dev/dri/renderD128)
2025-09-21 13:23:07.639448 I  Creating dummy interop
2025-09-21 13:23:07.639892 I  MythCodecContext: vaapi device context finished
2025-09-21 13:23:07.639893 I  MythCodecContext: Calling default device context free
2025-09-21 13:23:07.640161 I  VAAPIDec: MPEG2 Simple (Max size: 2048x2048)
2025-09-21 13:23:07.640163 I  VAAPIDec: MPEG2 Main (Max size: 2048x2048)
2025-09-21 13:23:07.640164 I  VAAPIDec: H264 Main (Max size: 4096x4096)
2025-09-21 13:23:07.640165 I  VAAPIDec: H264 High (Max size: 4096x4096)
2025-09-21 13:23:07.640166 I  VAAPIDec: VC1 Simple (Max size: 3840x3840)
2025-09-21 13:23:07.640167 I  VAAPIDec: VC1 Main (Max size: 3840x3840)
2025-09-21 13:23:07.640168 I  VAAPIDec: VC1 Advanced (Max size: 3840x3840)
2025-09-21 13:23:07.640169 I  VAAPIDec: H264 Constrained (Max size: 4096x4096)
2025-09-21 13:23:07.640170 I  VAAPIDec: HEVC Main (Max size: 16384x16384)
2025-09-21 13:23:07.640171 I  VAAPIDec: HEVC Main10 (Max size: 16384x16384)
2025-09-21 13:23:07.640172 I  VAAPIDec: VP9 Level 0 (Max size: 16384x16384)
2025-09-21 13:23:07.640173 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640174 I  VAAPIDec: VP9 Level 2 (Max size: 16384x16384)
2025-09-21 13:23:07.640175 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640176 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640177 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640178 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640179 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640179 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640180 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640181 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640182 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640183 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640184 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640185 I  VAAPIDec: Unknown/Unsupported (Max size: 16384x16384)
2025-09-21 13:23:07.640186 I  MythCodecContext: vaapi device context finished
2025-09-21 13:23:07.640187 I  MythCodecContext: Calling default device context free
2025-09-21 13:23:07.640774 I  V4L2_M2M: Device: /dev/video0 Driver: 'cx23885' Capabilities: 0x85230011
2025-09-21 13:23:07.640789 I  V4L2_M2M: Device: /dev/video1 Driver: 'cx23885' Capabilities: 0x85230011
2025-09-21 13:23:07.640904 I  V4L2_M2M: Device: /dev/video0 Driver: 'cx23885' Capabilities: 0x85230011
2025-09-21 13:23:07.640913 I  V4L2_M2M: Device: /dev/video1 Driver: 'cx23885' Capabilities: 0x85230011
2025-09-21 13:23:07.640917 I  V4L2_M2M: No V4L2 decoders found
2025-09-21 13:23:07.641036 I  DRMPRIMECtx: DRM PRIME codecs supported: None 
2025-09-21 13:23:07.641072 I  VideoProfile: Available GPU interops: None
2025-09-21 13:23:07.641075 I  VideoProfile: Decoder/render support: ffmpeg      null opengl opengl-yv12
2025-09-21 13:23:07.641076 I  VideoProfile: Decoder/render support: vaapi       opengl-hw
2025-09-21 13:23:07.641077 I  VideoProfile: Decoder/render support: vaapi-dec   null opengl opengl-yv12
2025-09-21 13:23:07.647604 I  Current MythTV Schema Version (DBSchemaVer): 1384
2025-09-21 13:23:07.655295 N  VideoProfile: Ignoring profile 433 (decoder vdpau is not available)
2025-09-21 13:23:07.655303 N  VideoProfile: Ignoring profile 434 (decoder vdpau is not available)
2025-09-21 13:23:07.655308 N  VideoProfile: Ignoring profile 435 (decoder nvdec is not available)
2025-09-21 13:23:07.660277 N  VideoProfile: Ignoring profile 403 (decoder nvdec is not available)
2025-09-21 13:23:07.668562 N  VideoProfile: Ignoring profile 400 (decoder v4l2 is not available)
2025-09-21 13:23:07.673839 N  VideoProfile: Ignoring profile 270 (decoder vdpau is not available)
2025-09-21 13:23:07.673855 N  VideoProfile: Ignoring profile 271 (decoder vdpau is not available)
2025-09-21 13:23:07.673867 N  VideoProfile: Ignoring profile 352 (decoder vdpau is not available)
2025-09-21 13:23:07.673878 N  VideoProfile: Ignoring profile 353 (decoder vdpau is not available)
2025-09-21 13:23:07.673889 N  VideoProfile: Ignoring profile 402 (decoder vdpau is not available)
2025-09-21 13:23:07.673896 N  VideoProfile: Ignoring profile 436 (decoder nvdec is not available)
2025-09-21 13:23:07.673902 N  VideoProfile: Ignoring profile 437 (decoder nvdec is not available)
2025-09-21 13:23:07.675807 N  VideoProfile: Ignoring profile 399 (decoder vdpau is not available)
2025-09-21 13:23:07.675818 N  VideoProfile: Ignoring profile 440 (decoder nvdec is not available)
2025-09-21 13:23:07.675832 N  VideoProfile: Ignoring profile 441 (decoder nvdec is not available)
2025-09-21 13:23:07.677556 N  VideoProfile: Ignoring profile 222 (decoder vdpau is not available)
2025-09-21 13:23:07.677559 N  VideoProfile: Ignoring profile 269 (Need a decoder and renderer)
2025-09-21 13:23:07.679256 N  VideoProfile: Ignoring profile 224 (decoder vdpau is not available)
2025-09-21 13:23:07.744157 I  InputHandler: Locking input devices
2025-09-21 13:23:07.744160 N  Suspending idle timer
2025-09-21 13:23:08.202351 N  Registering Internal as a media playback plugin.
2025-09-21 13:23:08.246007 W  No plugins directory /usr/lib64/mythtv/plugins
2025-09-21 13:23:08.257885 I  Listening on TCP 0.0.0.0:6546
2025-09-21 13:23:08.260107 E  Failed listening on TCP [::]:6546 - Error 10: Protocol type not supported
2025-09-21 13:23:08.260113 I  IPv6 support failed for this port.
2025-09-21 13:23:08.280542 N  Found mainmenu.xml for theme 'Mythbuntu'
2025-09-21 13:23:08.291321 I  Checking for theme updates every hour
2025-09-21 13:23:08.291386 I  Registering HouseKeeperTask 'HardwareProfiler'.
2025-09-21 13:23:08.293872 I  Starting HouseKeeper.
2025-09-21 13:23:08.322034 I  HTTPPool: Using maximum 32 threads
2025-09-21 13:23:08.324028 I  InputHandler: Unlocking input devices
2025-09-21 13:23:08.324029 N  Resuming idle timer
2025-09-21 13:23:08.328673 W  SSL: SSL Host key file (/home/mythtv/.mythtv/certificates/key.pem) does not exist or is not readable
2025-09-21 13:23:08.332546 I  Listening on TCP 0.0.0.0:6547
2025-09-21 13:23:08.333252 E  Failed listening on TCP [::]:6547 - Error 10: Protocol type not supported
2025-09-21 13:23:08.333258 I  IPv6 support failed for this port.
2025-09-21 13:23:08.676084 E  Failed to mount /dev/sdf1.
2025-09-21 13:23:11.430848 N  Found a handler for MEDIATYPE_MVIDEO|MEDIATYPE_MGALLERY - 'MythImage Media Handler 2/2'
2025-09-21 13:23:16.764451 I  Qt: failed to create compose table
2025-09-21 13:23:22.529654 I  TV::TV(): Creating TV object
2025-09-21 13:23:22.538979 N  Suspending idle timer
2025-09-21 13:23:22.538993 I  TV::TV(): Finished creating TV object
2025-09-21 13:23:22.539222 I  BrowseHelper: Helper thread starting
2025-09-21 13:23:22.544293 I  TV::Init(): Created TvPlayWindow.
2025-09-21 13:23:22.558541 I  TV::HandleStateChange(): Attempting to change from None to WatchingPreRecorded
2025-09-21 13:23:22.560398 I  FileRingBuf(/mnt/mythdrives/myth6/storage/16440_20250919043700.ts): OpenFile(/mnt/mythdrives/myth6/storage/16440_20250919043700.ts, 2000 ms)
2025-09-21 13:23:22.594121 E  Overlay: Failed to create window osd_status
2025-09-21 13:23:22.594162 E  Overlay: Failed to create window osd_status
2025-09-21 13:23:22.598565 I  PlayerUI: Initialising player state
2025-09-21 13:23:22.598568 I  Editor: Initialising editor
2025-09-21 13:23:22.598571 I  PlayerVis: Initialising visualiser
2025-09-21 13:23:22.598576 I  PlayerCaptions: Initialising captions
2025-09-21 13:23:22.598581 I  PlayerAudio: Initialising audio
2025-09-21 13:23:22.711243 N  AudioPlayer: Enabling Audio
2025-09-21 13:23:22.711254 I  PlayerBase: Player state ready
2025-09-21 13:23:22.711269 I  Player(0): Opening '/mnt/mythdrives/myth6/storage/16440_20250919043700.ts'
2025-09-21 13:23:22.725787 I  VideoProfile: Accepting: cmp() w() h() framerate() codecs( ) dec(vaapi) cpus(6) skiploop(enabled) rend(opengl-hw) deint(high:shader:driver,high:shader:driver) upscale(bilinear)
2025-09-21 13:23:22.728209 I  AFD: PlayerFlags: 0x20, AudioReadAhead: 600 msec
2025-09-21 13:23:22.728231 I  Player(0): Stretch Factor 1, allow passthru 
2025-09-21 13:23:22.729561 I  AFD: Buffer size: 32768 Streamed 0 Seekable 1 Available 458752
2025-09-21 13:23:22.776049 I  AFD: Stream #0: ID: 0x51 Program ID: 1 Codec ID: mpeg2video Type: Video(1920x1080) Bitrate: 0
2025-09-21 13:23:22.776051 I  AFD: Stream #1: ID: 0x54 Program ID: 1 Codec ID: ac3 Type: Audio Bitrate: 384000
2025-09-21 13:23:22.776052 I  AFD: codec ac3 has 6 channels
2025-09-21 13:23:22.776053 I  AFD: Looking for decoder for ac3
2025-09-21 13:23:22.776099 I  AFD: Opened codec 0x56302752e0c0, id(ac3) type(Audio)
2025-09-21 13:23:22.776101 I  AFD: Stream #2: ID: 0x56 Program ID: 1 Codec ID: ac3 Type: Audio Bitrate: 128000
2025-09-21 13:23:22.776101 I  AFD: codec ac3 has 2 channels
2025-09-21 13:23:22.776102 I  AFD: Looking for decoder for ac3
2025-09-21 13:23:22.776131 I  AFD: Opened codec 0x5630274fda40, id(ac3) type(Audio)
2025-09-21 13:23:22.776132 I  AFD: Trying to select best video track
2025-09-21 13:23:22.776138 I  AFD: Selected track #0: ID: 0x51 Codec ID: mpeg2video Profile: Main Type: Video(1920x1080) Bitrate: 1000000
2025-09-21 13:23:22.776142 I  VideoProfile: LoadBestPreferences(1920x1080, 29.970, mpeg2video)
2025-09-21 13:23:22.776146 I  VideoProfile: LoadBestPreferences result: priority:1 width: height: fps: codecs: 
2025-09-21 13:23:22.776147 I  VideoProfile: decoder:vaapi renderer:opengl-hw deint0:high:shader:driver deint1:high:shader:driver cpus:6 upscale:bilinear
2025-09-21 13:23:22.776154 I  AFD: Unavailable decoders: vaapi
2025-09-21 13:23:22.776155 I  VideoProfile: LoadBestPreferences(1920x1080, 29.970, mpeg2video)
2025-09-21 13:23:22.776158 I  VideoProfile: No useable profile. Using defaults.
2025-09-21 13:23:22.776161 I  VideoProfile: LoadBestPreferences result: priority: width: height: fps: codecs:
2025-09-21 13:23:22.776162 I  VideoProfile: decoder:ffmpeg renderer:opengl-yv12 deint0:low deint1:low cpus:4 upscale:bilinear
2025-09-21 13:23:22.776163 I  AFD: Using 4 CPUs for decoding
2025-09-21 13:23:22.776164 I  AFD: InitVideoCodec ID:mpeg2video Type:Video Size:1920x1080
2025-09-21 13:23:22.776171 I  Player(0): SetFrameInterval Interval:33366 Speed:1 Scan:Progressive Scan (Multiplier: 1)
2025-09-21 13:23:22.776174 I  ScanTracker: DetectInterlace(Detect Scan, Interlaced Scan, 29.97, 1080) ->Interlaced Scan
2025-09-21 13:23:22.776182 I  AFD: Using ffmpeg for video decoding
2025-09-21 13:23:22.776252 I  AFD: Opened codec 0x563027510a40, id(mpeg2video) type(Video)
2025-09-21 13:23:22.776253 I  Removing streams not in Program 1 from track selection.
2025-09-21 13:23:22.778620 I  AOBase: Opening audio device 'hdmi:CARD=PCH,DEV=0' ch 2(6) sr 48000 sf signed 16 bit reenc 0
2025-09-21 13:23:22.787994 I  Dec: Resyncing position map. posmapStarted = 0 livetv(0) watchingRec(0)
2025-09-21 13:23:22.797421 I  Dec: Position map filled from DB to: 102014
2025-09-21 13:23:22.798435 I  Dec: Duration map filled from DB to: 102014
2025-09-21 13:23:22.798634 I  Dec: SyncPositionMap prerecorded, from DB: 1832 entries
2025-09-21 13:23:22.798641 I  Dec: SyncPositionMap, new totframes: 102014, new length: 3403, posMap size: 1832
2025-09-21 13:23:22.800285 I  AFD: Position map found
2025-09-21 13:23:22.800292 I  AFD: Successfully opened decoder for file: "/mnt/mythdrives/myth6/storage/16440_20250919043700.ts". novideo(0)
2025-09-21 13:23:22.804717 I  Using last position @ 77806
2025-09-21 13:23:22.806506 I  VidOutGPU: Allowed renderers for MPEG-2 ffmpeg (Decoder: ffmpeg): 'opengl,opengl-yv12'
2025-09-21 13:23:22.806519 I  VideoProfile: Safe renderers for 'ffmpeg': null,opengl,opengl-yv12
2025-09-21 13:23:22.806530 I  VidOutGPU: Allowed renderers (filt: ffmpeg): opengl,opengl-yv12
2025-09-21 13:23:22.812259 I  VideoProfile: Accepting: cmp() w() h() framerate() codecs( ) dec(vaapi) cpus(6) skiploop(enabled) rend(opengl-hw) deint(high:shader:driver,high:shader:driver) upscale(bilinear)
2025-09-21 13:23:22.812276 I  VideoProfile: LoadBestPreferences(1920x1080, 29.970, mpeg2video)
2025-09-21 13:23:22.812288 I  VideoProfile: LoadBestPreferences result: priority:1 width: height: fps: codecs: 
2025-09-21 13:23:22.812297 I  VideoProfile: decoder:vaapi renderer:opengl-hw deint0:high:shader:driver deint1:high:shader:driver cpus:6 upscale:bilinear
2025-09-21 13:23:22.812307 I  VidOutGPU: No preferred renderer for decoder 'ffmpeg' - profile renderer: 'opengl-hw'
2025-09-21 13:23:22.812313 I  VidOutGPU: Trying video renderer: 'opengl-yv12'
2025-09-21 13:23:22.834510 I  VideoGPU: Discard stereoscopic fields: Yes
2025-09-21 13:23:22.835364 I  GLVid: Chroma upsampling filter enabled
2025-09-21 13:23:22.835374 I  Clearing OpenGL painter cache.
2025-09-21 13:23:22.840518 I  VideoBounds: Window using screen 'HDMI-2' 1920x1080
2025-09-21 13:23:22.840525 I  VideoBounds: Window Rect:  1920x1080+0+0
2025-09-21 13:23:22.840538 I  VideoBounds: Display Rect: 1920x1080+0+0 Aspect: 1.77778
2025-09-21 13:23:22.840547 I  VideoBounds: Video Rect:   1920x1080+0+0 Aspect: 1.77778
2025-09-21 13:23:22.840565 I  ColourSpace: PictureAttributes: Brightness,Contrast,Colour,Hue,Range
2025-09-21 13:23:22.840582 I  Display: Trying to match best refresh rate 29.970Hz
2025-09-21 13:23:22.840595 E  Display: Trying mode 1920x1080 at 29.970Hz
2025-09-21 13:23:23.017197 I  Display: Switched to 1920x1080 at 59.940Hz for video 1920x1080
2025-09-21 13:23:23.018794 I  Display: Pausing 200ms for video mode switch
2025-09-21 13:23:23.229649 I  VidOutGPU: Aspect ratio: 1.7777 (Override)
2025-09-21 13:23:23.232188 I  VidOutGPU: Display aspect ratio: 1.7777 (Override)
2025-09-21 13:23:23.252802 I  Created 16 YUV420P (1920x1080) video buffers
2025-09-21 13:23:23.257273 I  DecThread: Decoder thread starting.
2025-09-21 13:23:23.257281 I  AFD: DoFastForward(77805 (0), do discard frames)
2025-09-21 13:23:23.257284 I  Dec: DoFastForward(77805 (0), do discard frames)
2025-09-21 13:23:23.257294 I  Dec: FindPosition(77805, search not adjusted) --> 
			[1382:77799(2336708964),1383:77871(2339582356)]
2025-09-21 13:23:23.257329 I  AFD: SeekReset(77799, 6, do flush, do discard)
2025-09-21 13:23:23.257344 I  VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAA
2025-09-21 13:23:23.257354 I  VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAA -- done

Here's the trace log from vaapi:
https://bpa.st/CLCQ

Any idea what I'm doing wrong here?  


More information about the mythtv-users mailing list