#
✕ nick:sofus
#asahi · 2026-11-17 08:33
sofusalmost no applications will use it (even through our vaapi wrapper)
#asahi · 2026-11-17 08:32
sofusoh did not see the msr driver was merged?! It does stuff like scaling and color conversion (mostly related to video proccesing)
#asahi · 2026-11-15 12:05
sofusApple basicly sends a giant block of addresses and codec syntax elements and lets the fw figure out where each thing should go
#asahi · 2026-11-15 12:01
sofusyeah im proud of how 'simply' i managed to make the driver/fw
#asahi · 2026-11-15 12:00
sofusthe whole driver writes to like two/tree registers :p
#asahi · 2026-11-15 11:59
sofusyeah, and its much nicer
#asahi · 2026-11-15 11:59
sofusin the kernel submitted version we do things closer to how apple does it, though its a lot simpler
#asahi · 2026-09-16 20:34
sofusi did that
#asahi · 2026-09-16 20:33
sofusoh ok, thats not it then
#asahi · 2026-09-16 20:32
sofuswhat kernel are you on? The newer ones have a bug
#asahi · 2026-09-16 20:32
sofusthat must mean its working :p
#asahi · 2026-09-16 20:28
sofusits in the readme
#asahi · 2026-09-16 20:27
sofusYes and yes. You need to set some env variable
#asahi · 2026-09-16 20:26
sofusfor better hevc support, yes
#asahi · 2026-09-16 20:00
sofushttps://github.com/nix-community/nixos-apple-silicon/pull/544
#asahi · 2026-09-16 20:00
sofusi would guess the comment meant the vaapi wrapper
#asahi · 2026-07-13 08:00
sofusi would assume so since isp works without disabling
#asahi · 2026-07-13 07:49
sofusis HEVC entry point offsets not possible? Our driver needs that for hevc support
#asahi · 2026-07-13 07:49
sofusPaulFertser: thats great! Did some simple testing and it works for vp9. Not including the nal header byte breaks h264, could be related to us using start_code_none?
#asahi · 2026-07-10 13:53
sofusyou did also build and install the firmware for avd right?
#asahi · 2026-07-10 13:46
sofusif you try to load it does anything happen? (sudo modprobe apple-avd)
#asahi · 2026-07-10 13:37
sofuswhats the output of "lsmod | grep avd" ?
#asahi · 2026-07-10 13:32
sofushmm, anything in dmesg? Since its the same error im guessing the driver does not load
#asahi · 2026-07-10 12:39
sofuswould still be cool to get it merged, i remember having less battery usage when enabling it
#asahi · 2026-07-10 12:37
sofuschaos_princess: vrr is not merged right?
#asahi · 2026-07-10 11:57
sofusmaybe i should have looked there first
#asahi · 2026-07-10 11:57
sofus# CONFIG_VIDEO_APPLE_AVD is not set
#asahi · 2026-07-10 11:57
sofuswait lol...
#asahi · 2026-07-10 11:43
sofuscan you enable both CONFIG_V4L2_H264 and CONFIG_V4L2_VP9 and try to rebuild?
#asahi · 2026-07-10 11:30
sofus* not be able to run
#asahi · 2026-07-10 11:29
sofusthats weird, i would think you would not be able to build it then
#asahi · 2026-07-10 11:28
sofusyou dont have CONFIG_V4L2_H264
#asahi · 2026-07-10 11:20
sofuswould you mind sharing your .config?
#asahi · 2026-07-10 11:07
sofusits not, huh
#asahi · 2026-07-10 11:05
sofusi wonder if thats the isp
#asahi · 2026-07-10 11:03
sofushuh: "Device /dev/video0 is missing mem2mem capability"
#asahi · 2026-07-10 10:59
sofuscan you try adding "-loglevel trace" to the ffmpeg command?
#asahi · 2026-07-10 10:50
sofusi would guess there is some feature in the video avd does not support, have you tried another video?
#asahi · 2026-07-10 10:32
sofuswhats the issue?