Hi guys,
A while ago, I tried installing and running PCSX2 on Ubuntu on my machine. It did not run great, so I just gave up at the time. However, since I changed my CPU heatsink from the stock one to a decent one, I tried overclocking a bit my custom-build machine in order to achieve a better performance in various emulators including PCSX2.
My computer is running Ubuntu 11.04, up to date, with the Gnome 2 “classic” desktop instead of Unity and Compiz still running. There's a dual boot on the machine, too. I have a minimal Windows XP SP3 installation on a secondary partition, with limited disk space and close to nothing installed on it since I'm not really using it.
Both OSes uses the proprietary drivers for my graphic card, which is running great for what it's worth.
I installed PCSX2 in Ubuntu thanks to Gregory's PPA. There was a dependency issue though, which I solved by manually installing libsoundtouch from Lucid (was removed from Ubuntu's repositories later on for some reason). Windows has the r4861 version from Orphis.
To my dismay, when running Shadow of the Colossus (PAL, 50Hz), I noticed that the performance was so abysmal that it was unplayable. This surprised me, since this YouTube video seemed to prove that another user with a somewhat weaker CPU than mine could get the game running quite smoothly. So I fired up Windows XP to test it out, and, voilà - far from perfect without optimizations, but the game was totally playable on the system. How come?
I decided to bench the performance I obtained, aiming for speed, on this particular game. Here are my findings.
Hardware
My CPU's details can be seen in the Windows screenshots, thanks to CPU-Z. Since I do not have this tool in Linux, I used XSensors so at least the CPU VCore voltage could be seen.
Software
I'm aiming for speed, whatever the costs. That means: stealing a lot of VU cycles, reducing the EE rate, and disabling frame limiting. When asked by the GS plugin, I chose to render the game at the native PS2 resolution with no filters. I also set the sound plugin (SPU2X) to 3-Hermite mode.
Here is the configuration in Windows:
Same stuff here in Linux:
GS plugins details:
[See this as a Imgur album]
Procedure
I chose to note down the FPS obtained:
Benchmarking
W = Windows, L = Linux.
I hope you have a large screen to see this as a table. I don't.
![[Image: z3Nts.jpg]](https://i.imgur.com/z3Nts.jpg)
![[Image: FplwD.jpg]](https://i.imgur.com/FplwD.jpg)
![[Image: ilypK.jpg]](https://i.imgur.com/ilypK.jpg)
![[Image: EEBlN.jpg]](https://i.imgur.com/EEBlN.jpg)
![[Image: Sh8hO.jpg]](https://i.imgur.com/Sh8hO.jpg)
![[Image: ZlEru.jpg]](https://i.imgur.com/ZlEru.jpg)
![[Image: O6zG1.jpg]](https://i.imgur.com/O6zG1.jpg)
![[Image: ilypK.jpg]](https://i.imgur.com/ilypK.jpg)
![[Image: eIWWc.jpg]](https://i.imgur.com/eIWWc.jpg)
![[Image: 3Z8hn.jpg]](https://i.imgur.com/3Z8hn.jpg)
![[Image: ycH0Q.jpg]](https://i.imgur.com/ycH0Q.jpg)
![[Image: 5nkLC.jpg]](https://i.imgur.com/5nkLC.jpg)
![[Image: fFnMG.jpg]](https://i.imgur.com/fFnMG.jpg)
![[Image: QzirF.jpg]](https://i.imgur.com/QzirF.jpg)
![[Image: TPBDb.jpg]](https://i.imgur.com/TPBDb.jpg)
![[Image: VO9Hw.jpg]](https://i.imgur.com/VO9Hw.jpg)
![[Image: Bi5ds.jpg]](https://i.imgur.com/Bi5ds.jpg)
![[Image: 1bVuf.jpg]](https://i.imgur.com/1bVuf.jpg)
![[Image: DJJjT.jpg]](https://i.imgur.com/DJJjT.jpg)
![[Image: FSHTD.jpg]](https://i.imgur.com/FSHTD.jpg)
Click on the thumbnails for bigger pictures, with performance details in the window borders. Click on a ligne title to see them as an album.
One can immediately notice some rendering issues in ZeroGL (weird white bar at the top of the latter screenshots) and in ZZ OpenGL (screens are almost totally white). Also, the ZZ OpenGL plugin draws a very… fugly picture sometimes, which does not happen with the other renderers - see the second row.
Results
But my OS of choice is still Linux (and I'd wish to seamlessly integrate PCSX2 in my XBMC setup).
… so, any way of running PCSX2 faster in Linux?
A while ago, I tried installing and running PCSX2 on Ubuntu on my machine. It did not run great, so I just gave up at the time. However, since I changed my CPU heatsink from the stock one to a decent one, I tried overclocking a bit my custom-build machine in order to achieve a better performance in various emulators including PCSX2.
My computer is running Ubuntu 11.04, up to date, with the Gnome 2 “classic” desktop instead of Unity and Compiz still running. There's a dual boot on the machine, too. I have a minimal Windows XP SP3 installation on a secondary partition, with limited disk space and close to nothing installed on it since I'm not really using it.
Both OSes uses the proprietary drivers for my graphic card, which is running great for what it's worth.
I installed PCSX2 in Ubuntu thanks to Gregory's PPA. There was a dependency issue though, which I solved by manually installing libsoundtouch from Lucid (was removed from Ubuntu's repositories later on for some reason). Windows has the r4861 version from Orphis.
To my dismay, when running Shadow of the Colossus (PAL, 50Hz), I noticed that the performance was so abysmal that it was unplayable. This surprised me, since this YouTube video seemed to prove that another user with a somewhat weaker CPU than mine could get the game running quite smoothly. So I fired up Windows XP to test it out, and, voilà - far from perfect without optimizations, but the game was totally playable on the system. How come?
I decided to bench the performance I obtained, aiming for speed, on this particular game. Here are my findings.
Hardware
- CPU: Intel Core 2 Duo E4600 @ ~2,9Ghz (stock: 2,4Ghz)
- GPU: TwinTech Nvidia 8500GS, 512Mb memory, 16 CUDA cores
- RAM: 1x 2Gb Kingston Value RAM DDR2-6400 @ 800Mhz/2 (5-5-5-5, me thinks)
- Motherboard: Asus P5K/SE-EPU
My CPU's details can be seen in the Windows screenshots, thanks to CPU-Z. Since I do not have this tool in Linux, I used XSensors so at least the CPU VCore voltage could be seen.
Software
I'm aiming for speed, whatever the costs. That means: stealing a lot of VU cycles, reducing the EE rate, and disabling frame limiting. When asked by the GS plugin, I chose to render the game at the native PS2 resolution with no filters. I also set the sound plugin (SPU2X) to 3-Hermite mode.
Here is the configuration in Windows:
Same stuff here in Linux:
GS plugins details:
[See this as a Imgur album]
Procedure
I chose to note down the FPS obtained:
- When the game displays a splash screen before the first loading
- During the introduction sequence (twice, to show off a graphic issue)
- As soon as the player can actually interact with the game
Benchmarking
W = Windows, L = Linux.
I hope you have a large screen to see this as a table. I don't.
![[Image: z3Nts.jpg]](https://i.imgur.com/z3Nts.jpg)
![[Image: FplwD.jpg]](https://i.imgur.com/FplwD.jpg)
![[Image: ilypK.jpg]](https://i.imgur.com/ilypK.jpg)
![[Image: EEBlN.jpg]](https://i.imgur.com/EEBlN.jpg)
![[Image: Sh8hO.jpg]](https://i.imgur.com/Sh8hO.jpg)
![[Image: ZlEru.jpg]](https://i.imgur.com/ZlEru.jpg)
![[Image: O6zG1.jpg]](https://i.imgur.com/O6zG1.jpg)
![[Image: ilypK.jpg]](https://i.imgur.com/ilypK.jpg)
![[Image: eIWWc.jpg]](https://i.imgur.com/eIWWc.jpg)
![[Image: 3Z8hn.jpg]](https://i.imgur.com/3Z8hn.jpg)
![[Image: ycH0Q.jpg]](https://i.imgur.com/ycH0Q.jpg)
![[Image: 5nkLC.jpg]](https://i.imgur.com/5nkLC.jpg)
![[Image: fFnMG.jpg]](https://i.imgur.com/fFnMG.jpg)
![[Image: QzirF.jpg]](https://i.imgur.com/QzirF.jpg)
![[Image: TPBDb.jpg]](https://i.imgur.com/TPBDb.jpg)
![[Image: VO9Hw.jpg]](https://i.imgur.com/VO9Hw.jpg)
![[Image: Bi5ds.jpg]](https://i.imgur.com/Bi5ds.jpg)
![[Image: 1bVuf.jpg]](https://i.imgur.com/1bVuf.jpg)
![[Image: DJJjT.jpg]](https://i.imgur.com/DJJjT.jpg)
![[Image: FSHTD.jpg]](https://i.imgur.com/FSHTD.jpg)
Click on the thumbnails for bigger pictures, with performance details in the window borders. Click on a ligne title to see them as an album.
One can immediately notice some rendering issues in ZeroGL (weird white bar at the top of the latter screenshots) and in ZZ OpenGL (screens are almost totally white). Also, the ZZ OpenGL plugin draws a very… fugly picture sometimes, which does not happen with the other renderers - see the second row.
Results
Code:
FPS | A | B | C | D
=============|=====|=====|=====|=====
Win / GSdx | 101 | - | 72 | 70
Win / ZeroGS | 44 | - | 25 | 21
Win / ZZOgl | 109 | 29 | 29 | 28
Lin / ZZOgl | 38 | 20 | 18 | 25
But my OS of choice is still Linux (and I'd wish to seamlessly integrate PCSX2 in my XBMC setup).
… so, any way of running PCSX2 faster in Linux?