On Thursday, 19 January 2017 16:32:56 UTC+11, Eric Shelton wrote:
>
> On Thursday, January 19, 2017 at 12:25:23 AM UTC-5, [email protected] 
> wrote:
>>
>> On Thursday, 19 January 2017 14:47:32 UTC+11, [email protected] wrote:
>>>
>>> VNC? 
>>>
>>
>>
>> What I want to do is read directly from the vGPU and write directly to 
>> the HID as well.
>>
>> But if I can't get the data from the vGPU then it's going to be quite 
>> pointless going further with that task/interface.
>>
>> That's why I'm trying to find out how to achieve it. Once it is achieved, 
>> I can build the interface accurately.
>>
>
> Depending on what you are trying to achieve, you likely need to write a 
> program that can tap into the shared memory and vchan based inter-vm 
> protocol.  For example, you might look at
>
> https://github.com/QubesOS/qubes-gui-daemon/blob/master/gui-daemon/xside.c
>
> and how handle_shmimage() and do_shm_update() get invoked and what they 
> do.  HID stuff is in there too.  Maybe modify gui-daemon to do what you 
> want to do, or to pass frames along to, and receive input from, another 
> process.
>
> Eric 
>

Problem is, I read that, and it tells me nothing.
Doesn't tell me how I can access the Video Chanel to get access to the 
guests display.

(Not using C)

I'll keep working on it to try to find a way to interact with it.
Thanks for the tip on the VChan and SHM.

 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/12f7c05f-f0a9-49ca-825a-2757ee068c11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to