-
Notifications
You must be signed in to change notification settings - Fork 20
New Drivers Released - Might fix issue with latest firmware #2
Comments
Thanks for the heads up, my main machine is on Windows so I haven't checked if this still works since originally publishing the repo. Also the AverMedia website currently doesn't work from Europe for some reason so I couldn't check for new drivers either... Edit: also just for the record, there's no downgrade protection on the firmware. I might have to add a guide on how to downgrade it in case that's needed. |
Seems like the |
Hmm, that is annoying. I have a repo with the upstream changes merged in here: https://github.com/XertroV/lg4k-linux/tree/patched_20201104-merge I've tested this and the device doesn't even show up for me anymore, so I might try with the old board code quickly to see if that works.
Good to know! If the old board code doesn't work I'll try downgrading (I guess there's an .exe in the drivers installer/unzipper-thing) Update: not looking good on replacing |
I have it working! However, I think that the firmware update doesn't complete if you don't fully power down (a reboot isn't good enough). When I logged back into windows to downgrade the firmware, the avermedia program told me I was still on 2018 firmware. So none of my earlier results were valid. I patched to 2019.12.xx (whatever it was) and powered down fully. Then powered up to confirm, rebooted to Ubuntu, and recompiled the drivers as they are in master -- they still work. I'm going to test the new firmware now b/c if that works it should fix the pixel mode issues. |
Yeah based on the changelog it appears that RGB was only fixed with the new driver. Try applying this patch (with That's still missing the stuff to load the driver automatically, but see if that works at least. The other parts of the driver haven't really been modified by me anyway. |
Cool, will do now. dumping some useful commands here to make them easy to find later to update readme
Firmware upgrade / downgrade - run the driver installer for the version respective firmware version, then run |
Should I be using https://github.com/delphidabbler/bdiff to apply the patch btw? I didn't find anything looking for an appropriate linux package (and (Rebooting to windows now) |
At least on Debian/Ubuntu there should be the |
Thanks - I'm now running into some compiler errors with AverMediaLib_64.o I tried applying the patch in a few ways. One thing I noticed just now, though, it looks like the cl511_20201104 drivers just work on their own. (Though BGR3 still isn't working -- note I typo'd it as BGR12 before) Sample of some compiler errors:
|
I'm not sure I'm applying the patch to the right files. Going to dump some configurations here with details. applying to vanilla 20201104 drivers Error:
Applying patch to master: Applying patch to patched_20201104-merged: Applying patch to patched_20201104-merged w/ patched version of AverMediaLib_64.a copied from cl511_20201104 More of:
One thing I just thought of: I uncommented some lines in driver/Makefile about board sources b/c I had some errors about missing files before. That might be the source of multiple definitions. Update: ahh, after fixing that I get |
So given that I have things working with the current master on the latest firmware (20200811) and I'm not getting anywhere with the above, I'm going to close this issue. Thanks @derrod for being responsive. Hope the above notes help you or someone else down the road. |
I'm going to keep this open since getting the new driver to work is still something I want. I was able to make it work (turns out I had to patch Before properly updating to the new driver I'll have to figure out why it doesn't work in OBS, and maybe create another patch to silence the debug output a little bit. |
Cool, glad to hear you got it working! I had some problems in OBS, particularly with outdated configs and needing to remove and re-add video capture devices. I think it always worked when ffplay or gst-launch-1.0 did. |
So... Any update on this so far? |
Hi, I've managed to get the latest driver compiled with the supplied board object files extracted from the a file. I modified the binary files to allow the gc573 card to be detected. (Used Ghidra to find the location in the file where the check was happening) @ cdorn0's pull request was really helpful in getting the object files back in etc. So I used his branch as the base. Mine isn't good enough yet for a PR but here it is in case anyone else can have a look and see what's going on. https://github.com/antpk/lg4k-linux/tree/devwithlatestdriver So the driver loads and I can get video to work from gst-launch. As far as I can tell RGB3, NV12 and YV12 are working. Weirdly YUYV is misbehaving. If you set these before starting OBS, it sometimes works in OBS. Audio is not working at all at the moment. When the driver is loaded it actually kills all audio on my machine. I'm trying to figure out why that is but it seems to be something in the new supplied compiled files that is causing the issue. This audio issue I think causes OBS to be particularity prone to crashing. I think changing the video settings in OBS isn't working as expected. Finally, I'm running on Arch so I am using a fairly recent kernel. 5.11.12 to be exact. I am experiencing these issues:
Loads to investigate. |
your repository is the only one that compiles for me, but unfortunatly i cant get anything on my screen, its eeither black, green or grey/green gradient: can anyone help me? |
So after making it work with @antpk repository o was able to compile it and run it with command line, but a couple of things to note are:
|
i found the error that is causing my crashes:
i just have no idea what i can do to fix this |
Hi! I did some work over Christmas and adapted the driver to the new version. I tried to get all pixelformats to work and OBS should work now, too. Unfortunately I could not stop the LEDs from blinking, as this uses custom software on the FPGA and the Windows driver is not easy to understand - at least for someone without any windows driver knowledge. Check my repo or my pull request for the update ;) |
New drivers: https://storage.avermedia.com/web_release_www/CL511HN/Generic_Ubuntu_CL511HN_Drv_2.0.1.zip
Note: the drivers were "published" on https://www.avermedia.com/professional/download/cl511hn#ans_part except that the link to download them is the same as 1.0.0031
I'm going to try and replicate your patches now. I flashed my gc573 with the latest firmware this evening and I can't get the current master to work (I'm using ubuntu 20.04). I noticed the latest firmware was released after the 1.0.0031 drivers were released.
The text was updated successfully, but these errors were encountered: