Google Groups Home
Help | Sign in
VRPC on Linux with WINE
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Theo Markettos  
View profile
 More options 18 Mar, 11:15
Newsgroups: comp.sys.acorn.misc
From: Theo Markettos <theom+n...@chiark.greenend.org.uk>
Date: 18 Mar 2008 11:15:29 +0000 (GMT)
Local: Tues 18 Mar 2008 11:15
Subject: VRPC on Linux with WINE
I haven't seen it reported anywhere, so I thought I'd relate that I've got
Virtual RiscPC Adjust working on WINE in Linux (Ubuntu Gutsy).  

It was fairly straightforward to do, though helped by the fact that I
already had it installed in a Windows XP Tablet partition on the same
machine.  I just symlinked the start of that partition to ~/.wine/drive_c
and then did:
$ wine c:/RISCOS/VirtualRiscPC-Adjust/VirtualRPC-Adjust.exe
which is the path on the Windows partition with \ replaced by /

and it ran.  Seemed to be a bit slow at starting up (spends ages at the RISC
OS splashscreen), but once it's running I get between 20-70 MIPS (Centrino
1.6GHz, NVidia GEForce 5200 with closed-source drivers).  Generally the
scheduling is much better than Windows (sometimes when VRPC is running
Windows slows to a crawl, which doesn't happen on Linux+WINE).  VRPC still
crashes on exit, just as it does in Windows (WINE tells me there's a page
fault, if anyone from VA is interested in the log)

There are a few bits of display corruption where WINE doesn't draw the top
and bottom of the window correctly but they don't affect RISC OS usage too
much.  Audio kind-of works, but is a bit distorted.

On boot I get some errors about Shared C Library out of date (don't know
what's causing that, the same VRPC install works on Windows) and the battery
being low (I suspect WINE doesn't emulate the battery monitoring calls) but
otherwise it's fine.  It manages to run Firefox (1.5) successfully so that's
a fairly good workout.

Gratuitous screenshots:
http://www.markettos.org.uk/ephemeral/vrpc-ubuntu-wine.png
http://www.markettos.org.uk/ephemeral/vrpc-ubuntu-wine-tw.png

I did try to run it without the Windows partition - WINE started claiming it
wanted things like MFC42.DLL.  These things are usually fixable by fiddling
around with WINE and downloading various DLLs from Microsoft, but I just
took the easy option and used my existing Windows install.  Interestingly
the copy protection didn't kick in, so evidently WINE's emulating the
network MAC address correctly.

Theo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Kendrick  
View profile
 More options 18 Mar, 13:07
Newsgroups: comp.sys.acorn.misc
From: Rob Kendrick <n...@rjek.com>
Date: Tue, 18 Mar 2008 13:07:17 GMT
Local: Tues 18 Mar 2008 13:07
Subject: Re: VRPC on Linux with WINE

On Tue, 18 Mar 2008 11:49:28 +0000, Paul Vigay wrote:
> In a dim and distant universe <jsv*uK...@news.chiark.greenend.org.uk>,
>    Theo Markettos <theom+n...@chiark.greenend.org.uk> enlightened us
>    thusly:
> [Snippety snip]

>> around with WINE and downloading various DLLs from Microsoft, but I
>> just took the easy option and used my existing Windows install.
>> Interestingly the copy protection didn't kick in, so evidently WINE's
>> emulating the network MAC address correctly.

> It's easy enough to customise the MAC address anyway under Linux.

It's easy enough to change the MAC address under Windows, too.  Using the
MAC as the "hardware key" is a completely ineffective way of doing copy
prevention - it doesn't stop the people who actually want to rip you off,
it just annoys the legitimate users.  Much like most DRM.

B.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cfer...@freeremoveuk.com.invalid  
View profile
 More options 18 Mar, 13:12
Newsgroups: comp.sys.acorn.misc
From: cfer...@freeRemoveuk.com.invalid
Date: Tue, 18 Mar 2008 13:12:51 GMT
Local: Tues 18 Mar 2008 13:12
Subject: Re: VRPC on Linux with WINE
In message <jsv*uK...@news.chiark.greenend.org.uk>
          Theo Markettos <theom+n...@chiark.greenend.org.uk> wrote:

> I haven't seen it reported anywhere, so I thought I'd relate that I've got
> Virtual RiscPC Adjust working on WINE in Linux (Ubuntu Gutsy).  

[snip]

How does this compare in speed etc with 'RPCemu' v0.7 run on Linux?

http://b-em.bbcmicro.com/arculator/    

--
Colin Ferris Cornwall UK


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Theo Markettos  
View profile
 More options 18 Mar, 19:13
Newsgroups: comp.sys.acorn.misc
From: Theo Markettos <theom+n...@chiark.greenend.org.uk>
Date: 18 Mar 2008 19:13:39 +0000 (GMT)
Local: Tues 18 Mar 2008 19:13
Subject: Re: VRPC on Linux with WINE

cfer...@freeremoveuk.com.invalid wrote:
> How does this compare in speed etc with 'RPCemu' v0.7 run on Linux?
> http://b-em.bbcmicro.com/arculator/    

I don't have a full RISC OS disc image to test with RPCemu, but a very quick
test running TwinWorld at the opening screen (ie playing the game but not
moving the player around, just watching things animate) gave:

RPCemu (SVN 124) with no sound: 13.5 MIPS
(I don't know if sound works or it's turned off)

VRPC 1.3 with sound: 44 MIPS

Both are with RISC OS Adjust, and counts taken from each app's cycle count.
Note that VRPC under WINE obscures its count most of the time in the mode
TwinWorld uses and it only flickers up occasionally, so I could be sampling
it at a time that isn't representative.

RPCemu is slicker - the mouse pointer works seamlessly from Linux to RISC
OS, while under VRPC there's the same split-pointers as under Windows (you
either have a RISC OS pointer which doesn't follow the Windows pointer well,
and have some points on the RO screen you can't reach because the RO pointer
stops moving once the Windows pointer has left the VRPC window.  Or there's
a capture-pointer mode where the Windows pointer disappears and you need to
press a key to get it back).  RPCemu supports left+right button=Menu click,
which doesn't work for me under either Windows or WINE (I have it set up as
the third button press on both Windows and X, but VRPC uses DirectInput and
so gets in below this configuration on Windows).

VRPC is better at ceding the processor when RISC OS isn't busy - RPCemu
makes my laptop hotter.  RPCemu just about has networking, but I haven't
played with it.  VRPC's networking is fine under WINE as far as I can see.

Something I should have mentioned in the original article is that you need
to be in the VRPC directory before running it, otherwise it can't find the
config file:
$ cd /windows/RISCOS/VirtualRiscPC-Adjust/
$ wine c:/RISCOS/VirtualRiscPC-Adjust/VirtualRPC-Adjust.exe

Theo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Theo Markettos  
View profile
 More options 18 Mar, 20:39
Newsgroups: comp.sys.acorn.misc
From: Theo Markettos <theom+n...@chiark.greenend.org.uk>
Date: 18 Mar 2008 20:39:35 +0000 (GMT)
Local: Tues 18 Mar 2008 20:39
Subject: Re: VRPC on Linux with WINE

Paul Vigay <invalid-email-addr...@invalid-domain.co.uk> wrote:
> It's easy enough to customise the MAC address anyway under Linux.

That's not the point, though.  The point is the WINE supports reading the
MAC address and does indeed serve up the MAC address of the first network
card (eth0, which happens to be my fixed ethernet port - the same one as
VRPC is bound to in Windows).  It could easily not support reading the MAC
address (it doesn't read the battery state, for example), or return some
dummy value like 01:23:45:67:89:AB instead.  Such support means it's
possible to run a previously-registered VRPC under WINE.

Theo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Timothy Baldwin  
View profile
 More options 19 Mar, 00:38
Newsgroups: comp.sys.acorn.misc
From: Timothy Baldwin <T.E.Baldwi...@members.leeds.ac.uk>
Date: Wed, 19 Mar 2008 00:38:04 +0000
Local: Wed 19 Mar 2008 00:38
Subject: Re: VRPC on Linux with WINE
In message <lsv*yu...@news.chiark.greenend.org.uk>, Theo Markettos

<theom+n...@chiark.greenend.org.uk> wrote:
> cfer...@freeremoveuk.com.invalid wrote:
>> How does this compare in speed etc with 'RPCemu' v0.7 run on Linux?
>> http://b-em.bbcmicro.com/arculator/

> I don't have a full RISC OS disc image to test with RPCemu, but a very
> quick test running TwinWorld at the opening screen (ie playing the game
> but not moving the player around, just watching things animate) gave:

> RPCemu (SVN 124) with no sound: 13.5 MIPS
> (I don't know if sound works or it's turned off)

> VRPC 1.3 with sound: 44 MIPS

That isn't a useful benchmark as is not necessarily running flat out. for a
measure of CPU emulation speed, "REPEAT UNTIL FALSE" at the BASIC prompt
would be more useful.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Theo Markettos  
View profile
 More options 19 Mar, 11:04
Newsgroups: comp.sys.acorn.misc
From: Theo Markettos <theom+n...@chiark.greenend.org.uk>
Date: 19 Mar 2008 11:04:54 +0000 (GMT)
Local: Wed 19 Mar 2008 11:04
Subject: Re: VRPC on Linux with WINE

Timothy Baldwin <T.E.Baldwi...@members.leeds.ac.uk> wrote:
> That isn't a useful benchmark as is not necessarily running flat out. for a
> measure of CPU emulation speed, "REPEAT UNTIL FALSE" at the BASIC prompt
> would be more useful.

Fair point, it was more an attempt to test video etc speed.  Doing REPEAT
UNTIL FALSE:

RPCemu out of the box: 15 MIPS
VRPC: 10 MIPS but it could be 100MIPS and the last digit is
getting truncated by the icon being too small
RPCemu compiled with --enable-dynarec: 55MIPS

I also tried this:
a%=TIME:b%=0:REPEAT:b%+=1:UNTIL TIME>a%+3000:PRINT b%

Which returned:
VRPC: 5099959 and took about 32s (based on my watch)
RPCemu out of the box: 1213293 and took 30s
RPCemu with --enable-dynarec: 4630151 and took 30s

I'm lazy so I couldn't be bothered to average the results over many runs,
but empirically I'd suggest there's at most two significant figures in those
numbers.

The reason for testing by my watch is that these tests depend on the
emulated timers, which aren't always synced properly with the host machine -
that's why there are sometimes double-click or auto-repeat problems on
emulators.

Theo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pitt  
View profile
 More options 19 Mar, 12:41
Newsgroups: comp.sys.acorn.misc
From: David Pitt <pit...@pittdj.co.uk>
Date: Wed, 19 Mar 2008 12:41:33 GMT
Local: Wed 19 Mar 2008 12:41
Subject: Re: VRPC on Linux with WINE
In message <ksv*vZ...@news.chiark.greenend.org.uk>
  Theo Markettos <theom+n...@chiark.greenend.org.uk> wrote:

I have tried the same test here.

VRPC on XP    OS6.06 4516921
RPCemu 0.7    OS4.04 4940326

RPCemu is from the website http://b-em.bbcmicro.com/arculator/

RPCemu, OS4.04, was unstable on XP here, stiffing itself during copies.

Just to prove it is impossible to prove anything, I tried bogomips, the
UnixLib command line tool, I just double clicked on it.

VRPC on XP  216
RPCemu 0.7   54

I do have RPCemu running on Vista but is is missing some keystrokes
and neither does it survive hibernation, VRPC also fails in the same
ways here.

The next job is to try the Linux version.

--
David Pitt

Using a Castle Iyonix running RISC OS 5.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Theo Markettos  
View profile
 More options 22 Mar, 13:11
Newsgroups: comp.sys.acorn.misc
From: Theo Markettos <theom+n...@chiark.greenend.org.uk>
Date: 22 Mar 2008 13:11:41 +0000 (GMT)
Local: Sat 22 Mar 2008 13:11
Subject: Re: VRPC on Linux with WINE

Theo Markettos <theom+n...@chiark.greenend.org.uk> wrote:
> I haven't seen it reported anywhere, so I thought I'd relate that I've got
> Virtual RiscPC Adjust working on WINE in Linux (Ubuntu Gutsy).  

Looks like I've been Drobed:
http://www.drobe.co.uk/riscos/artifact2253.html

If anyone wants to suggest some more comprehensive benchmarks I'm happy to
try them when I get home after Easter.

Theo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google