25 Mar 2024 |
shinyquagsire | oh | 17:50:36 |
shinyquagsire | yeah H265 is was less picky which is why I mostly used that instead | 17:50:53 |
shinyquagsire | * yeah H265 is way less picky which is why I mostly used that instead | 17:51:04 |
ckie | oh are there two codepaths? | 17:51:08 |
shinyquagsire | at least for HW accelerated encoding with VideoToolbox | 17:51:18 |
ckie | i'm on nixos | 17:51:32 |
ckie | /mesa/radv/6700xt/vaapi | 17:51:45 |
shinyquagsire | yeah I didn't actually fix the code to swap between the two, grep for H265 and there's a config struct that gets sent | 17:51:59 |
shinyquagsire | with an enum to select which will get sent | 17:52:08 |
ckie | yeah no need now though :P | 17:52:26 |
ckie | do you have the h264 nal somewhere? | 17:52:33 |
ckie | great work btw | 17:52:51 |
shinyquagsire | ohhhh somewhere, I'd have to dig around | 17:52:51 |
ckie | oh I mean the one you're using | 17:52:59 |
ckie | to encode | 17:53:02 |
shinyquagsire | that'd be under the wivrn driver code, the libx264 software encoder | 17:53:26 |
ckie | so dirty XD | 17:53:36 |
| @gcvvfg:matrix.org joined the room. | 17:53:48 |
shinyquagsire | I never quite got the hw accelerated encoding to work | 17:54:22 |
shinyquagsire | just software encoded h264, and hw accelerated H265 on macOS | 17:54:36 |
ckie | /* Cropping Rectangle parameters: added to those implicitly defined by
non-mod16 video resolutions. */
struct
{
int i_left;
int i_top;
int i_right;
int i_bottom;
} crop_rect;
x264.h:475 | 17:54:59 |
ckie | well that's an easy fix i guess | 17:55:16 |
ckie | …
WARN [comp_renderer_draw] Compositor probably missed frame by 8.26ms
WARN [wait_for_scheduled_free] 10209695.146ms: Dropping old missed frame in favour for completed new frame
WARN [comp_renderer_draw] Compositor probably missed frame by 3.74ms
INFO [comp_ql_calc_frame_pacing] Avg: tx 1.440771ms, encode 5.000000ms, add 0.000000ms
WARN [comp_renderer_draw] Compositor probably missed frame by 7.35ms
WARN [wait_for_scheduled_free] 10209720.904ms: Dropping old missed frame in favour for completed new frame
*** buffer overflow detected ***: terminated
Aborted (core dumped) | 18:18:12 |
ckie | oh nevermind it didnt switch to 265 | 18:21:29 |
ckie | DEBUG [fill_in_results] Selected 0 with uuid: 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00
DEBUG [fill_in_results] Suggest 0 with uuid: 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 to clients
DEBUG [render_shaders_load] Shaders loaded!
DEBUG [compositor_try_window] Target backend (null) initialized!
DEBUG [renderer_ensure_images_and_renderings] Creating images and renderings (force_recreate: false).
DEBUG [create_images] Creating 3 images.
[hevc_vaapi @ 0x1f89500] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[in @ 0x1f36100] Filters must be initialized before linking.
[AVFilterGraph @ 0x1fadf00] Error processing filtergraph: Invalid argument
ERROR [comp_ql_create_images] Failed to create video encoder: avfilter_graph_parse_ptr failed: Invalid argument
Aborted (core dumped)
further and further… | 18:50:16 |
ckie | xytovl any idea what's up with the above? | 19:39:26 |
ckie | Download VideoEncoderVA.cpp | 19:41:55 |
ckie | current state | 19:41:55 |
ckie | * current state (questlink has not put wivrn's encoders in a common dir yet) | 19:42:24 |
ckie | i figured it out! | 20:22:22 |