Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsoleted by kernel fix #3

Closed
bdrung opened this issue Mar 25, 2021 · 12 comments · Fixed by #4
Closed

Obsoleted by kernel fix #3

bdrung opened this issue Mar 25, 2021 · 12 comments · Fixed by #4

Comments

@bdrung
Copy link

bdrung commented Mar 25, 2021

As your README.md explains, there is a bug in the firmware which breaks all pixel formats except the first one. I developed a quirk to fix the buggy firmware and submitted it to the upstream Linux: https://lore.kernel.org/lkml/20210325213458.51309-1-bdrung@posteo.de/

So once this patch is accepted, backported to older kernel released, and tribbled into the disto kernels this workaround script is not needed any more.

@AdamGleave
Copy link
Owner

Sweet, thanks for doing this! That is a much cleaner solution :) Let me know when it's accepted and I'll update the README to make it clear what kernel versions this script is not needed for.

@bdrung
Copy link
Author

bdrung commented Mar 25, 2021

I'll do.

BTW, even with that firmware bug fixed, Firefox on Ubuntu does not support any of the pixel formats: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1906454

The workaround until Firefox supports it: Use Chromium. That works fine with the firmware fix.

@bdrung
Copy link
Author

bdrung commented Mar 28, 2021

Since I have three computers that need this kernel patch, I started maintaining this patched linux kernel in my PPA for Ubuntu 20.10 (groovy): https://launchpad.net/~bdrung/+archive/ubuntu/ppa

I plan to maintain this linux kernel in the PPA until the patch is included in the latest Ubuntu release.

@LeoniePhiline
Copy link

@bdrung Thanks for your efforts! I hope these fixes get merged into the kernel as well as firefox soon. (Before the pandemic is over. :D)

Did you have a chance to report to upstream firefox? See https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1906454/comments/5

@ghost
Copy link

ghost commented May 28, 2021

Is it in 5.12?

@bdrung
Copy link
Author

bdrung commented Jun 4, 2021

Sadly not. I sent the patch four times, but got no response yet. You can follow the progress on https://lore.kernel.org/lkml/?q=Fix+pixel+format+change+for+Elgato+Cam+Link+4K

@bdrung
Copy link
Author

bdrung commented Jun 29, 2021

Good news: The fix is now merged upstream and will be part of v5.14:

The fix is also currently included in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1932367

@LeoniePhiline
Copy link

Fantastic! Thank you for your efforts!

@AdamGleave
Copy link
Owner

Nice, well done!

@bdrung
Copy link
Author

bdrung commented Jul 20, 2021

So, the fix was backported to the stable releases. The fix is included in:

  • 4.4.276
  • 4.9.276
  • 4.14.240
  • 4.19.198
  • 5.4.134
  • 5.10.52
  • 5.12.19
  • 5.13.4
  • 5.14-rc1

@LeoniePhiline
Copy link

Wow, big impact. Much better than expected!

@mcnaveen
Copy link

So, I can start using Camlink without any additional configuration? Like Plug and Play?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants