If you, like me, ever wanted to get an output of the guest system (Windows for example) on the host machine (OpenSUSE fe ) in PCIe passthrough scenario you might be excited after looking at this:
Thatās simply amazing - I had hoped for this in a while. No more fiddling with streaming and thus latency, compression and all the other troubles. That how it should be in the first place (only sriov hitting the regular gpus market would in theory be better).
Would be awesome to see this project supported on OpenSUSE. Currently it is in alpha stage, but already what has been achieved is awesome.
Some further links: https://looking-glass.hostfission.com/
Iāll be happy to - but Iāll need help. Iād need someone to show me howto do it - just the basics, enough to get me started (I can fill in the blanks by reading manuals). The reason is I have basically no experience compiling and packaging (not to mention programming). The docs and the whole infrastructure surrounding it (obs fe) are a bit confusing without a bit of introduction.
So far I did it only the dumbest way possible - pull the code from github, install all the required -dev packages (and thus crapify my syste a bit), launch make ā¦
As my hardware is 3d rendering oriented (dual xeon workstation) handling compiling shouldnāt be a hassle once set up.
So for me no matter someone packages this for OpenSUSE or teaches me howto do it Iāll be happy :).
That makes it more complicated. Unless there are already RPM packages that could be adapted this means you will need to understand Makefiles at least to find out needed libraries (i.e .development packages).
Iād start with ensuring it compiles. It will likely give you at least some missing development libraries and some experience in how to interpret errors. Skip host part for now, cross-compiling will be too complicated for beginner (and pre-compiled host binaries are available anyway). Look in client/Makefile, it has list of LIBS; you will need to find packages that provide them. Brute force approach is to try naive zypper search, like āzypper se sdl2ā ā libSDL2-devel, libSDL2_ttf-devel. Apply common sense Once development packages are installed, just try to compile by typing make. Post any errors you get ā¦
thx Arvidjaar - Iām not afraid about hunting for dependencies. In fact, as mentioned, I did the ādummyā compiling of quite a bit of packages (by dummy I mean using āmakeā and checking out output without really understanding how it works). As āmakeā usually tells whatās missing it is just a matter of finding how needed -dev packages are called in OpenSUSE.
But it leaves a mess - I can do an āinstallā this way, but it is not a nice RPM, so unless the author provided uninstall script I have no sensible means of removing files added to the system in case something is screwed. On top of that I quickly accumulate those -dev bundles (luckily usually theyāre not big).
So yeah , this I can do already (and it wasnāt actually difficult to figure it out). But Iād love to learn howto make it properly and as mentioned Iām willing to maintain those as it would help others. Part of the reason I moved to OpenSUSE (from CentOS) is its great package availability while still remaining a strong āenterpriseā system (thus usually proprietary apps I need for work do not cause issues).
Tutorials like this have one serious flaw - theyāre one way street, you canāt ask question and get feedback.
Donāt get me wrong , I really appreciate them - huge chunk of the things I can do with my PC is thx to them. But they are much better when you need to expand your knowledge, fill in the gaps rather than when you want to learn something from scratch (when you try to learn something you literally know nothing about).
If you know nothing (or close to nothing) even coming up with a proper search term to find tutorial is a challenge.
It would be awesome to see a video tutorial showing someone setting things up, explaining how OBS fits in this (and how to use it) , and doing it on a real project. Nothing complex, but something involved enough that would show how dependecies requirement is added to the package file.
Anyways Iāll dig through the link youāve provided - I have my fingers crossed.
I compiled LG using the ādummyā method. Finding out missing -dev packages I need to compile it was rather easy. LG works and wow, it makes a difference. The responsivness and image quality is miles ahead of other solutions Iāve tried. Iām still having some issues, but I think theyāre on my side - I need to configure renderer options and play with the settings. As LG is in alpha stage it is not idiot-proof . Iām sure that when Iāll play with it a bit Iāll sort it out.
Well, somehow I managed to learn what I know now using information available on the net, so it is possible. Anyway, if you have concrete questions you are welcome to ask - better to use forums dedicated for this (Development subforums).
If you already managed to compile your program, you may consider trying to create RPM as the first step without delving into OBS making it less steep. Again, the first random hit which gives you basic steps for building package: https://eureka.ykyuen.info/2009/12/28/opensuse-build-a-rpm-package/