Git Product home page Git Product logo

lg4k-linux's Introduction

Live Gamer 4K Linux driver

Based on the Linux driver for the CL511HN which can be downloaded here: Generic_Ubuntu_CL511HN_Drv_1.0.0031.zip

The CL511HN and GC573 (Live Gamer 4K) are very similar and their drivers are mostly interchangable. Though the firmware differences mean that some modes won't work on the LG4K.

This was tested on Ubuntu 20.04 LTS and Fedora 32. Linux distributions other than Ubuntu (such as Fedora) might require the patches found on the fedora branch.

Caveats:

  • Driver needs to be recompiled/installed manually every time there's a kernel update
  • RGB LEDs are not supported and will keep flashing red
  • Scaler doesn't seem to work so selected resolution has to match input resolution

How to

  • clone git repository
  • run ./build.sh
    • Note: switch to fedora branch if it doesn't compile and try again
  • run sudo ./install.sh
  • run sudo modprobe cx511h or reboot

ToDo

  • Make driver load automatically
  • Maybe see if we can send a signal to turn off the LEDs by looking at the Windows driver
  • Check some audio issues in OBS and see why RGB24 doesn't work in there either

lg4k-linux's People

Contributors

cdorn0 avatar derrod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lg4k-linux's Issues

VFL_TYPE_VIDEO error occurs on build.sh

I am encountering an error on Linux Mint 20.3 Cinnamon when running the build.sh script. I am assuming that the master branch is what I should be using given that I am on Mint.

I am unsure if this error could be from previously installing the drivers from the base repository, or if it could be due to installing drivers on Windows, as I saw in a previous thread that downgrading the firmware was involved in getting things to work.

Here is the error I am receiving:

/home/user/Downloads/lg4k-linux-master-update/driver//utils/v4l2/v4l2_model_device.c:155:28: error: ‘VFL_TYPE_VIDEO’ undeclared (first use in this function); did you mean ‘VFL_TYPE_RADIO’?
  155 |               devicetype = VFL_TYPE_VIDEO;
      |                            ^~~~~~~~~~~~~~
      |                            VFL_TYPE_RADIO
/home/user/Downloads/lg4k-linux-master-update/driver//utils/v4l2/v4l2_model_device.c:155:28: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:270: /home/user/Downloads/lg4k-linux-master-update/driver//utils/v4l2/v4l2_model_device.o] Error 1
make[1]: *** [Makefile:1762: /home/user/Downloads/lg4k-linux-master-update/driver/] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-122-generic'
make: *** [Makefile:66: build] Error 2
make: Leaving directory '/home/user/Downloads/lg4k-linux-master-update/driver'
cp: cannot stat 'driver/gc573.ko': No such file or directory

The driver that this version was forked from accepts the captured audio at 41000kz, when 48000kz is expected, causing audio to be slowed down and lower pitched. I am looking forward to trying this updated driver to see if it would fix this audio bug. Any help appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.