Page 1 of 2

Vnc dos emulation

Posted: Tue Sep 09, 2014 8:33 pm
by cornpie
Hi, I am trying to play dos games via rpix86 over vnc. My vnc server is on tightvncserver and my client is vnc viewer on ios. When using rpix86 over vnc the window has 2 small screens in the larger window ( the rest of the window is see through-aside from the border of the window ) that have completely messed up colors. For example when I try to run wasteland everything is a shade of green or is black kind of like a gameboy, but the console it's self has very colorful letters. Can anyone tell me how to fix this?

Re: Vnc dos emulation

Posted: Tue Sep 09, 2014 9:05 pm
by redhawk
Use Xming instead of Vnc (search forum for setup guide).

Just out of curiosity why are you trying to play DOS games on the Pi with a remote display wouldn't it be much easier to run DOSBox or Virtual Box on your PC??

Richard S.

Re: Vnc dos emulation

Posted: Tue Sep 09, 2014 9:09 pm
by cornpie
I am using it on ios. I have a vnc setup that allows me to use it offline. Isn't Ming just x11, another vnc server, would it really make the difference. I kind of figured it was something with the client. Also keep in mind I am using ios.

Re: Vnc dos emulation

Posted: Tue Sep 09, 2014 9:35 pm
by redhawk
Xming is an X11 server it let lets you run X11 apps remotely thus using the PC to manage the graphics while sparing the Pi's RAM and CPU.
While it's not as fast as running X11 apps via startx it performs better than VNC because VNC is constantly taking snapshots of the desktop, hammering the CPU and feeding this over the network.

Now I don't know much a bout Macs but you should be able to get an X11 server running.

What version of iOS are you running??

Richard S.

Re: Vnc dos emulation

Posted: Tue Sep 09, 2014 10:59 pm
by cornpie
It's not really about the speed. It's more about the problems translating over. I might try the x11 but you said it shows x, can I run rpix86 via x11 and if I can, how. I am running 7.1.1

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 8:25 pm
by cornpie
So I tried x11vnc ( sudo apt-get install x11vnc ) which functions like x11 but over vnc and that made the files work fine but the the speed tanked. So I'm open to new things and if anyone has any suggestions on optimizing the speed that would be wonderful. Thank you!

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 8:28 pm
by redhawk
Can't you get a DOSBox version that runs natively on the Mac??

Richard S.

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 8:42 pm
by fruitoftheloom
redhawk wrote:Can't you get a DOSBox version that runs natively on the Mac??

Richard S.
He is using the "" vnc viewer on ios"" which suggests an Apple iPad, iPod or iPhone not an Apple Desktop or Laptop !

Yes there is DOSpad for iOS http://www.litchie.com/?page_id=123

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 8:47 pm
by redhawk
I'm well aware of that but it's also a fact that DOSBox supports more than the x86 platform after all it runs on the Pi's crappy ARM processor.
I would imagine that DOS emulation does exist on the Mac probably not as DOSBox but definitely as some kind of open source / paid program.

Richard S.

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 8:49 pm
by fruitoftheloom
cornpie wrote:Hi, I am trying to play dos games via rpix86 over vnc. My vnc server is on tightvncserver and my client is vnc viewer on ios. When using rpix86 over vnc the window has 2 small screens in the larger window ( the rest of the window is see through-aside from the border of the window ) that have completely messed up colors. For example when I try to run wasteland everything is a shade of green or is black kind of like a gameboy, but the console it's self has very colorful letters. Can anyone tell me how to fix this?
Maybe try FastBOX a special build of DOSBox for the Pi http://gaming.capsule-sa.co.za/?gamepre ... nd-risc-os

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 8:50 pm
by fruitoftheloom
redhawk wrote:I'm well aware of that but it's also a fact that DOSBox supports more than the x86 platform after all it runs on the Pi's crappy ARM processor.
I would imagine that DOS emulation does exist on the Mac probably not as DOSBox but definitely as some kind of open source / paid program.

Richard S.
He is not using a MAC that was my point :D

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 9:12 pm
by cornpie
It's not the file itself that runs slowly, it's the entire thing, sorry I wasn't clear.

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 9:29 pm
by redhawk
DOSBox emulation on the Pi is slow this is because it must emulate x86 processor on a non-x86 platform using equivalent code on the fly (and time consuming).
If you want better speed then you should run DOS emulation natively on your current hardware.

Richard S.

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 9:45 pm
by cornpie
Again, sorry if I wasn't clear it is not the file it is the whole thing. As in it takes time to even use the terminal.

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 10:16 pm
by Jessie
Does Wasteland have a config or setup.exe? Many games did back then. There is a chance you don't have VGA or EGA selected.

Edit: Looks like it was EGA for dos.

Re: Vnc dos emulation

Posted: Fri Sep 12, 2014 11:36 pm
by cornpie
It's not just wasteland it's the entire rpix86 even the terminal is all strange it seems to work via x11vnc but as I have stated the entire raspberry pi runs incredibly slow on it. I also tried it (x11vnc) over an ad-hoc network to see if it was just internet traffic, but it didn't seem to matter.

Re: Vnc dos emulation

Posted: Sat Sep 13, 2014 1:25 am
by Jessie
cornpie wrote:It's not just wasteland it's the entire rpix86 even the terminal is all strange it seems to work via x11vnc but as I have stated the entire raspberry pi runs incredibly slow on it. I also tried it (x11vnc) over an ad-hoc network to see if it was just internet traffic, but it didn't seem to matter.
The color issues are probably due to the fact the Open Gl apps (Rpix86 does use a gl framebuffer) don't do well with vnc. I'm surprised you didn't get a solid black screen. If you are running rpix within lxde well it doesn't work well on that level it works best from the command line.

Finally, the speed issue is likely to do with the CPU being pegged. Rpix peggs the cpu not leaving much left for the vnc client.

Do you have any overclocks on your R Pi. It may help.

Re: Vnc dos emulation

Posted: Sat Sep 13, 2014 10:13 am
by cornpie
You said I could run it from the command line, but I am, at best learning what is the command to do this?

Re: Vnc dos emulation

Posted: Sat Sep 13, 2014 4:36 pm
by cornpie
Update: I have just tried to run it from the terminal and it didn't help anything.

Re: Vnc dos emulation

Posted: Sun Sep 14, 2014 5:34 am
by Jessie
Is your R Pi Overclocked?

If so what is it set at?

Re: Vnc dos emulation

Posted: Sun Sep 14, 2014 5:22 pm
by cornpie
It's not overclocked. I think the reason x11vnc is slow is just a quirk of the server.

Re: Vnc dos emulation

Posted: Sun Sep 14, 2014 7:07 pm
by cornpie
Update: I found this app called issh which would let me connect to x11 but I don't know how to,setup x11 on the raspberry pi. Cam anyone help me? If possible I would also like it to start at boot.
Thank you!

Re: Vnc dos emulation

Posted: Sun Sep 14, 2014 7:09 pm
by fruitoftheloom
cornpie wrote:Update: I found this app called issh which would let me connect to x11 but I don't know how to,setup x11 on the raspberry pi. Cam anyone help me? If possible I would also like it to start at boot.
Thank you!
http://codechief.wordpress.com/2013/07/ ... ith-x11vnc

Re: Vnc dos emulation

Posted: Sun Sep 14, 2014 7:38 pm
by cornpie
I've already tried x11vnc I was wondering if regular x11 might be faster. If you can provide any insight on that that would be awesome. Thanks!

Re: Vnc dos emulation

Posted: Sun Sep 14, 2014 7:43 pm
by Jessie
cornpie wrote:Update: I found this app called issh which would let me connect to x11 but I don't know how to,setup x11 on the raspberry pi. Cam anyone help me? If possible I would also like it to start at boot.
Thank you!
Have you tried to play the game local on a monitor or TV? To see if it is the VNC software or if the game is just slow.