- Posts: 501
- Joined: Sat Jan 30, 2021 6:15 pm
- Real Name: Sylvain Munaut
Hi,
So before I get screamed at :
* Yes, I know this is not a supported configuration
* Yes, I know that the linux drivers are missing the required CL/GL interop for it to have a hope of working.
Now that this is out of the way : I have been working on fixing that second point.
I have an experimental branch of both the MESA GL drivers and the intel-compute stack that improve the support for the CL/GL interop under linux, fixing bugs, removing texture format limitations and adding support for it under GLX contexts.
It got to the point where I can finally launch resolve and it shows video in the viewer port https://i.imgur.com/qyfOARh.png and also I don't get any errors in the logs about not being able to create the CL context or not being able to share textures or stuff like that.
Unfortunately I only was able to get that far by running resolve in valgrind which makes it unusably slow. Without it, it crashes early on with what I believe is some memory corruption somewhere (even before CL really get initialized / used).
Valgrind does report a lot of "Conditional jump or move depends on uninitialised value" so those probably should be fixed in resolve but of course there is no way I can check those out myself to see what they stem from.
So my hope is that a Blackmagic engineer can take a look and help me figure out what/where things are going wrong.
Please get in touch if that's in the realm of possibility.
Cheers,
Sylvain
So before I get screamed at :
* Yes, I know this is not a supported configuration
* Yes, I know that the linux drivers are missing the required CL/GL interop for it to have a hope of working.
Now that this is out of the way : I have been working on fixing that second point.
I have an experimental branch of both the MESA GL drivers and the intel-compute stack that improve the support for the CL/GL interop under linux, fixing bugs, removing texture format limitations and adding support for it under GLX contexts.
It got to the point where I can finally launch resolve and it shows video in the viewer port https://i.imgur.com/qyfOARh.png and also I don't get any errors in the logs about not being able to create the CL context or not being able to share textures or stuff like that.
Unfortunately I only was able to get that far by running resolve in valgrind which makes it unusably slow. Without it, it crashes early on with what I believe is some memory corruption somewhere (even before CL really get initialized / used).
Valgrind does report a lot of "Conditional jump or move depends on uninitialised value" so those probably should be fixed in resolve but of course there is no way I can check those out myself to see what they stem from.
So my hope is that a Blackmagic engineer can take a look and help me figure out what/where things are going wrong.
Please get in touch if that's in the realm of possibility.
Cheers,
Sylvain
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux