cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Vnc dos emulation

Tue Sep 09, 2014 8:33 pm

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?

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Vnc dos emulation

Tue Sep 09, 2014 9:05 pm

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.

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Tue Sep 09, 2014 9:09 pm

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.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Vnc dos emulation

Tue Sep 09, 2014 9:35 pm

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.

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Tue Sep 09, 2014 10:59 pm

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

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Fri Sep 12, 2014 8:25 pm

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!

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Vnc dos emulation

Fri Sep 12, 2014 8:28 pm

Can't you get a DOSBox version that runs natively on the Mac??

Richard S.

fruitoftheloom
Posts: 20903
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Vnc dos emulation

Fri Sep 12, 2014 8:42 pm

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
Retired disgracefully.....

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Vnc dos emulation

Fri Sep 12, 2014 8:47 pm

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.

fruitoftheloom
Posts: 20903
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Vnc dos emulation

Fri Sep 12, 2014 8:49 pm

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
Retired disgracefully.....

fruitoftheloom
Posts: 20903
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Vnc dos emulation

Fri Sep 12, 2014 8:50 pm

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
Retired disgracefully.....

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Fri Sep 12, 2014 9:12 pm

It's not the file itself that runs slowly, it's the entire thing, sorry I wasn't clear.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Vnc dos emulation

Fri Sep 12, 2014 9:29 pm

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.

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Fri Sep 12, 2014 9:45 pm

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.

User avatar
Jessie
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA

Re: Vnc dos emulation

Fri Sep 12, 2014 10:16 pm

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.

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Fri Sep 12, 2014 11:36 pm

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.

User avatar
Jessie
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA

Re: Vnc dos emulation

Sat Sep 13, 2014 1:25 am

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.

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Sat Sep 13, 2014 10:13 am

You said I could run it from the command line, but I am, at best learning what is the command to do this?

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Sat Sep 13, 2014 4:36 pm

Update: I have just tried to run it from the terminal and it didn't help anything.

User avatar
Jessie
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA

Re: Vnc dos emulation

Sun Sep 14, 2014 5:34 am

Is your R Pi Overclocked?

If so what is it set at?

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Sun Sep 14, 2014 5:22 pm

It's not overclocked. I think the reason x11vnc is slow is just a quirk of the server.

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Sun Sep 14, 2014 7:07 pm

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!

fruitoftheloom
Posts: 20903
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Vnc dos emulation

Sun Sep 14, 2014 7:09 pm

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
Retired disgracefully.....

cornpie
Posts: 92
Joined: Sun Aug 18, 2013 6:09 pm

Re: Vnc dos emulation

Sun Sep 14, 2014 7:38 pm

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!

User avatar
Jessie
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA

Re: Vnc dos emulation

Sun Sep 14, 2014 7:43 pm

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.

Return to “Gaming”