Eman108
Posts: 3
Joined: Tue Jun 15, 2021 2:27 pm

Is there an Xbox 360 emulator for raspberry pi

Tue Jun 15, 2021 2:37 pm

Could there possibly be an Xbox 360 emulator for pi?
I have been looking and can't find anything.
Please help me.

Update: The Main Reason I wanted to get an Xbox 360 emulator on the pi was to play portal.
Do you think pi 4 can handle that?
Last edited by Eman108 on Wed Aug 04, 2021 11:45 pm, edited 1 time in total.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 14138
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Is there an Xbox 360 emulator for raspberry pi

Tue Jun 15, 2021 6:14 pm

No, there is no XBOX (360) emulator for the current Power levels of the PI. The PI4 can barely emulate an N64, all later game consoles are too much to ask for.

So its not strange you could not find it as it was just a pipe dream that this was possible, maybe later generations can pull this off.
for a PI to be able to emulate an XBOX360 its hardware must be about ten time as powerful as the emulated system, that is the CPU must be 10 times as fast. plus all the rest (GPU etc ) must also be laboriously emulated


User avatar
Gavinmc42
Posts: 6078
Joined: Wed Aug 28, 2013 3:31 am

Re: Is there an Xbox 360 emulator for raspberry pi

Sun Aug 01, 2021 2:02 am

RetroPie and Twister OS are good places to check for Emulation on Pi's
https://retropie.org.uk/
https://twisteros.com/

Dolphin works?
https://dolphin-emu.org/

Those Game Boxes are serious hardware, you are expecting a $35 to emulate a $350 box?
If Moore's law still works, a Pi in 10 years might be able to do it.
Looks at 10+ year old games? Ok maybe 20 year old games :lol:
I'm still waiting for something like Battlefield 2 to make it to Pi's ;)

Hmm Xbox 360 came out in 2005, could the Pi run those games if source was ported and recompiled, not emulated?
Are there any open source Xbox 360 games?

Interesting, will this compile on Pi's yet.
https://xqemu.com/
Something to watch or to contribute too.

Just this morning I was running 7 x QEMU VM's on a Pi 400.
Not the same but VM's do run on Pi's now.
Turns out to be CPU limited not memory limited.

Aarch64 and Vulkan can get a few more FPS, that's where I spend a lot of time.
Vulkan 1.1/1.2 on Pi4 should be out this year or early next year.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
RasPiGaming
Posts: 181
Joined: Mon Jul 26, 2021 1:06 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Sun Aug 01, 2021 2:06 am

mahjongg wrote:
Tue Jun 15, 2021 6:14 pm
No, there is no XBOX (360) emulator for the current Power levels of the PI. The PI4 can barely emulate an N64, all later game consoles are too much to ask for.

So its not strange you could not find it as it was just a pipe dream that this was possible, maybe later generations can pull this off.
for a PI to be able to emulate an XBOX360 its hardware must be about ten time as powerful as the emulated system, that is the CPU must be 10 times as fast. plus all the rest (GPU etc ) must also be laboriously emulated
The RPi can run newer console emulators than N64. Dolphin can even run on it.
An RPi can be a gaming PC. As long as you have the right packages and software anyway.
Using a RPi4 8GB with Ubuntu Desktop 21.04, main interests are gaming and programming. Also occasionally uses two RPi3B+ and a RPi3B.

User avatar
Gavinmc42
Posts: 6078
Joined: Wed Aug 28, 2013 3:31 am

Re: Is there an Xbox 360 emulator for raspberry pi

Sun Aug 01, 2021 9:59 am

Did not realise the Xbox 360 was that old, there had to be an emulator being done by someone.
https://github.com/xenia-project/xenia

64bit Linux, try with the Beta version of Raspberry OS?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
leilei
Posts: 49
Joined: Wed Jun 26, 2019 2:26 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 1:00 am

Highly doubt Xenia is looking into any ARM64 recompilers at this current state (and if any, it'd be Apple M1 in mind)

Also a reminder that Xbox360 is a 7th gen console (along with the PS3). Gamecube falls into the 6th (with PS2, Xbox, Dreamcast) and we haven't even had all of that generation perfectly emulated yet on the mainstream x86 desktop Windows PCs. A pi4 can *barely* handle Dolphin and that's the fastest, bestest of the bunch.

User avatar
Gavinmc42
Posts: 6078
Joined: Wed Aug 28, 2013 3:31 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 1:57 am

A pi4 can *barely* handle Dolphin and that's the fastest, bestest of the bunch.
Not really into games but a 2GHz overclocked Pi400 might be better than Pi4.

Warzone2100, 0AD and FlightGear have been my Pi benchmark testers for years.
Have not tried FG on my Pi400, too busy playing WZ.
These are not emulated but recompiled for Armhf.
Saw Serious Sam 2 on a Pi4, not bad.

Wish I had that in my old PC game collection.
Having fun learning how to compile open source games on Pi's.

Apple M1 is 64bit ARM.
Trickle down to Pi's one day?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cleverca22
Posts: 4405
Joined: Sat Aug 18, 2012 2:33 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 3:40 am

Gavinmc42 wrote:
Mon Aug 02, 2021 1:57 am
Not really into games but a 2GHz overclocked Pi400 might be better than Pi4.
the C0T rev from the pi400 is starting to go into the pi4 line, so with a proper heatsink, the pi4 should now be able to get the same overclocks as a pi400

but you have the usual issues of flushing the old revisions out of the resellers first, so you cant be sure which pi4 rev your going to get

User avatar
Gavinmc42
Posts: 6078
Joined: Wed Aug 28, 2013 3:31 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 4:41 am

My Pi400 does not seem hard worked at 2.0GHz.
Runs cooler than the Pi4's, I only have the one so I have not pushed it hard.
but you have the usual issues of flushing the old revisions out of the resellers first, so you cant be sure which pi4 rev your going to get
I put my Pi4's into metal heatsink cases.
I suspect my 1.1 and 1.2 versions are BO, they are old now.
Probably pointless to heatsink them much as they cannot overclock as well.

Pi4 PCB rev 1.4 is needed for C0?
Any way to tell if the newer 8GB is C0 without opening up again?

Emulation on 2.2+GHz has to be better than 1.5GHz, if it works at all ;)
Once all the B0's are flushed, will the specs/default speeds change?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cleverca22
Posts: 4405
Joined: Sat Aug 18, 2012 2:33 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 5:07 am

Gavinmc42 wrote:
Mon Aug 02, 2021 4:41 am
Any way to tell if the newer 8GB is C0 without opening up again?
Once all the B0's are flushed, will the specs/default speeds change?
dont have any confirmations, but i would assume it could get a new revision# to identify it
and if the firmware detects that newer revision, it could (in theory) just change the default speed, no need for the resellers to be flushed out first

User avatar
Gavinmc42
Posts: 6078
Joined: Wed Aug 28, 2013 3:31 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 5:33 am

https://www.raspberrypi.org/documentati ... /README.md
No info on the BCM2711C0 like the BCM2837B0
And the revision numbers don't spell it out either.
Not sure how the software can tell.
The boot eprom must know as the PCIe stuff is different on the CM4?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cleverca22
Posts: 4405
Joined: Sat Aug 18, 2012 2:33 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 6:55 am

Gavinmc42 wrote:
Mon Aug 02, 2021 5:33 am
https://www.raspberrypi.org/documentati ... /README.md
No info on the BCM2711C0 like the BCM2837B0
And the revision numbers don't spell it out either.
Not sure how the software can tell.
The boot eprom must know as the PCIe stuff is different on the CM4?
there are 2 pieces of revision info available on any pi based system (except the original pi1 rev)

Code: Select all

root@pi400:~# hexdump -C /proc/device-tree/system/linux,revision
00000000  00 c0 31 12                                       |..1.|
00000004
root@pi400:~# vcgencmd otp_dump | grep 30:
30:00c03112    
this first one, is just a 32bit int programmed into OTP at the factory, so they can tag something as being a pi4/cm4/pi400, based on what they installed the bcm2711c0 into, after fabbing the chip

https://www.raspberrypi.org/documentati ... /README.md
we know that every CM4 and pi400 has a C0 rev, because they had that from launch day, and that will only cease to be true when either a new rev comes out, or some pre-launch alpha units leak into the market

the pi4 is the iffy one, there are currently 4 revs out (1.1, 1.2, 1.3, and 1.4), and RPF would need to assign pi4 1.5 to the bcm2711C0 variant, to make it more obvious

Code: Select all

STATIC_COMMAND("whatareyou", "print the cpu arch", &cmd_what_are_you)
static int cmd_what_are_you(int argc, const console_cmd_args *argv) {
#ifdef ARCH_VPU
  uint32_t cpuid;
  __asm__("version %0" : "=r"(cpuid));
  printf("i am VPU with cpuid 0x%08x\n", cpuid);
#else
  puts("i am arm");
#endif
  return 0;
}

Code: Select all

] whatareyou
i am VPU with cpuid 0x04000161
the VPU side also has its own cpuid opcode, that returns a constant baked into the silicon when the raw chip was being fabbed up
that code isnt easily visible to linux (had to use a custom start4.elf in this example), but shoud probably have the B0/C0 encoded into it somewhere
its just a matter of documenting what codes map to what

here is a list of vpu id's ive found on my own models:

Code: Select all

rpi1:
0x4000104 rpi0 with wifi and headers
0x4000104 rpi1 with composite video
0x4000104 rpi1 with composite video and i2s header

rpi2:
0x4000140 rpi2 model b v1.1 2014 no composite, no wifi

rpi3:
0x4000140 rpi3 with wifi


rpi4:
0x4000160  mentioned in bootcode 2020-05-15
0x4000161  mentioned in bootcode 2020-05-15, potentially has 2 different mask roms
0x4000161  found on a B0T pi4b
0x4000162  bootcode-2020-05-15 checks for this cpuid, if present, .text.firmware_rev[0] bit 0 must be set 
0x4000162  found on a C0 pi400

User avatar
Gavinmc42
Posts: 6078
Joined: Wed Aug 28, 2013 3:31 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 7:04 am

"cat /proc/cpuinfo" does the same thing.
Revision d03114, which just means Pi4 8GB rev 1.4 PCB
That's documented in the revision pages.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cleverca22
Posts: 4405
Joined: Sat Aug 18, 2012 2:33 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 7:12 am

Gavinmc42 wrote:
Mon Aug 02, 2021 7:04 am
"cat /proc/cpuinfo" does the same thing.
Revision d03114, which just means Pi4 8GB rev 1.4 PCB
That's documented in the revision pages.
when running the rpi fork of linux, yeah

there is a recent thread about it being missing, due to running mainline linux instead

User avatar
Gavinmc42
Posts: 6078
Joined: Wed Aug 28, 2013 3:31 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 7:37 am

Rev 1.1, 1.2 1.4 is printed on the PCB.
No idea if the B0/C0 are pin for pin?
Unsolder a C0 and put it on rev 1.4 PCB?
Once it's buried under a heatsink or in a case, how to tell it's a C0?
One day there might be a D0 part that's speced to 2.5GHz?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29348
Joined: Sat Jul 30, 2011 7:41 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 8:33 am

They are pin compatible, so the C0 can go on the 1.4 rev no problem, and does.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

cleverca22
Posts: 4405
Joined: Sat Aug 18, 2012 2:33 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 8:37 am

Gavinmc42 wrote:
Mon Aug 02, 2021 7:37 am
Once it's buried under a heatsink or in a case, how to tell it's a C0?
jamesh wrote:
Mon Aug 02, 2021 8:33 am
They are pin compatible, so the C0 can go on the 1.4 rev no problem, and does.
does that mean that the C0's are still rev 1.4?, how do you tell the difference from a purely software perspective?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29348
Joined: Sat Jul 30, 2011 7:41 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 9:17 am

cleverca22 wrote:
Mon Aug 02, 2021 8:37 am
Gavinmc42 wrote:
Mon Aug 02, 2021 7:37 am
Once it's buried under a heatsink or in a case, how to tell it's a C0?
jamesh wrote:
Mon Aug 02, 2021 8:33 am
They are pin compatible, so the C0 can go on the 1.4 rev no problem, and does.
does that mean that the C0's are still rev 1.4?, how do you tell the difference from a purely software perspective?
Dunno, probably an ID register in the chip somewhere. Will ask around.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29348
Joined: Sat Jul 30, 2011 7:41 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 9:23 am

We interrogate the VPU, which has a C0 flag, then patch the device tree to reflect it.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

cleverca22
Posts: 4405
Joined: Sat Aug 18, 2012 2:33 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 9:28 am

ah, that might be the 2nd rev i pasted above, 0x04000161

related, will the official firmware have a higher default arm_freq for C0 pi4's, like the pi400? (but obviously not as high, due to a lack of heatsink)

what is patched in the DT, so a user can detect it?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29348
Joined: Sat Jul 30, 2011 7:41 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 9:48 am

cleverca22 wrote:
Mon Aug 02, 2021 9:28 am
ah, that might be the 2nd rev i pasted above, 0x04000161

related, will the official firmware have a higher default arm_freq for C0 pi4's, like the pi400? (but obviously not as high, due to a lack of heatsink)

what is patched in the DT, so a user can detect it?
Don't know and don't know.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

User avatar
leilei
Posts: 49
Joined: Wed Jun 26, 2019 2:26 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 5:03 pm

Gavinmc42 wrote:
Mon Aug 02, 2021 1:57 am
A pi4 can *barely* handle Dolphin and that's the fastest, bestest of the bunch.
Not really into games but a 2GHz overclocked Pi400 might be better than Pi4.
I was referring to the current maturity and speed of the 6th gen console emulators that are out there (xqemu/cxbx, pcsx2, dolphin).
Gavinmc42 wrote:
Mon Aug 02, 2021 1:57 am
Warzone2100, 0AD and FlightGear have been my Pi benchmark testers for years.
Have not tried FG on my Pi400, too busy playing WZ.
These are not emulated but recompiled for Armhf.
Saw Serious Sam 2 on a Pi4, not bad.
All of which aren't good signs of granting emulation for a 3-core 3.2ghz PowerPC console (and that's not even touching on the GPU)

User avatar
RasPiGaming
Posts: 181
Joined: Mon Jul 26, 2021 1:06 pm

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 7:24 pm

Perhaps you could try emulating a XBOX 360 emulator with box86/64?
box86.org
An RPi can be a gaming PC. As long as you have the right packages and software anyway.
Using a RPi4 8GB with Ubuntu Desktop 21.04, main interests are gaming and programming. Also occasionally uses two RPi3B+ and a RPi3B.

User avatar
leilei
Posts: 49
Joined: Wed Jun 26, 2019 2:26 am

Re: Is there an Xbox 360 emulator for raspberry pi

Mon Aug 02, 2021 9:42 pm

Xenia needs a CPU with AVX. so most likely no.

Return to “Gaming”