User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

ssh xsession & VG

Wed Oct 30, 2013 4:45 am

I am using Raspbian with a 7" LCD screen connected to the RCA video port.
I develop VG by using a MobaXterm xsession on a Win7 machine.

When ever I execute the VG program on the ssh xsession, it always shows up
on the RCA video port of the Raspbian.

How do I get the VG to show up on the remote xsession that I am developing from?

Thanks - jz
Last edited by jwzumwalt on Wed Oct 30, 2013 4:11 pm, edited 1 time in total.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: ssh xsession & VG

Wed Oct 30, 2013 8:34 am

Anything using hardware-acceleration is not drawn via X , but
directly via the GPU "on top" of X or the console.
Use dispmanx-VNC to view any output from your program
remotely.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

Re: ssh xsession & VG

Wed Oct 30, 2013 4:08 pm

>Anything using hardware-acceleration is not drawn via X , but directly via the GPU "on top" of X or the console.
jz - Sorry, I do not understand what you are saying. Would you please elaberate?

> Use dispmanx-VNC to view any output from your program remotely.
jz - When I Google "dispmanx-VNC" no relevant information is found.
What is it and why do I need it for this problem?
Shouldn't ssh xsession be able to show a graphics program running?

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: ssh xsession & VG

Wed Oct 30, 2013 8:38 pm

The hardware-acceleration on the Pi is completely independent
of X.

dispmanx_vnc is here :
http://www.raspberrypi.org/phpBB3/viewt ... 67&t=49707


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
jwzumwalt
Posts: 44
Joined: Sun Aug 04, 2013 4:00 pm

Re: ssh xsession & VG

Sat Nov 02, 2013 1:20 am

Thanks,

It took an evening of thinking about your reply before I realized what was being said.
I understand the issues now :)

It stumped me for a little while because I was thinking that because I was using a
graphical interface the result should stay within the graphics system - then it hit me
that the hardware acceleration is probably doing DMA to the video memory and X
does not even know it exists.

Thanks for the help

Return to “OpenVG”