User(s) browsing this thread: 1 Guest(s)

Post Reply 
 
Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PCSX2 for Archlinux
Author Message
josephg Offline
Translator for pt_BR
****

Posts: 159
Joined: Dec 2010
Location: Brazil
Reputation: 3
Post: #1
PCSX2 for Archlinux
Hi Archlinux users!

This thread is for you! Here you can get information, support, patches, scripts, feedbacks etc. and provide as well!

PCSX2 packages available for Archlinux


pcsx2 - Provides latest official stable release of PCSX2 in Archlinux official repositories, currently in version 1.2.1; package provided in binary built by archlinux Trusted Users;

pcsx2-git - Provides latest development revision from GIT repository. This package auto-updates its version every time you install it, without any further edit in the package. Useful for those who want to be up-to-date with PCSX2 Dev Team changes in source code.


NOTE: The use of AUR Helper is recommended, mainly for Arch64 users because some dependencies and the pcsx2-git package itself are available in the Archlinux User Repository (AUR).

How to build pcsx2-git locally

Excl ATTENTION: The procedure might be slightly out-of-date. Please view the PKGBUILD of pcsx2-git to see latest changes.

This topic will show how you can have all pcsx2-git sources set in your computer for a local build, without having to download it from PCSX2's Github repository all over again each time you want to rebuild it. (e.g. in case of a failure in build)

Please notice that all this procedure of building packages does not need to be done as root and should not! All this topic will be done in user's home folder.

For each step below, I'll give the description of the action and then I'll show at least one example of command. In some steps I'll use the AUR Helper yaourt, but you can always use the default package manager Pacman - except for downloading AUR packages. Wink

1. Create a build directory at your home folder.
Code:
$ mkdir ~/build

2. Enter build folder
Code:
$ cd ~/build

3. Download pcsx2-git source tarball from AUR. This could be done, for example, with "yaourt -G" or "wget".
Code:
$ yaourt -G pcsx2-git
==> Download pcsx2-git sources
x pcsx2-git.install
x PKGBUILD

or
Code:
$ wget https://aur.archlinux.org/packages/pc/pcsx2-git/pcsx2-git.tar.gz
tar xvf pcsx2-git.tar.gz

4. Now, if this your first build/installation of pcsx2-git, you need to have some devel packages installed, to be able to compile packages.
  • For 32-bit users:
    Code:
    $ pacman -S base-devel
  • For 64-bit users, do as mentioned in Archwiki Arch64 page:
    • have [multilib] repository enabled in /etc/pacman.conf
    • gcc-multilib and its dependencies installed

5. PCSX2 dependencies must be installed before trying to build. Verify if you have all dependencies installed with "pacman -Q" (or yaourt -Q)
  • Hint: Depedencies for pcsx2-git are listed in depends=() array in its PKGBUILD file.
  • For 32-Bit users:
    Code:
    $ pacman -Q glew libaio libcanberra libjpeg-turbo nvidia-cg-toolkit portaudio soundtouch wxgtk2.8
  • For 64-Bit users:
    Code:
    $ pacman -Q lib32-glew lib32-libaio lib32-libcanberra lib32-libjpeg-turbo lib32-nvidia-cg-toolkit lib32-portaudio lib32-soundtouch lib32-wxgtk2.8

If you don't have all of them installed, you must install now (root permission required). You can do this using the option "-S" - I advise to use an AUR Helper (e.g.: yaourt) for this task, as many packages might be from AUR. So, let's say you want to install lib32-wxgtk and lib32-soundtouch:
Code:
$ yaourt -S lib32-soundtouch lib32-wxgtk2.8

6. After all dependencies above are installed, enter in pcsx2-git folder in your build directory
Code:
$ cd pcsx2-git

7. Compile PCSX2. This step might take several minutes be done.
Code:
$ makepkg
  • Hint: you can add "-L" to "makepkg" create a log file, just in case you have error during the compilation.
  • Hint 2: if you built once, but want to rebuild, you can use "-f" to force rebuilding and overwrite a compiled package.
  • Hint 3: use "-s" for installing dependencies right before building the package

8. Now you can install pcsx2-git, using "-U" to install package from file (root permission required).
Code:
$ ls
pcsx2-git-1.2.2.r5131.70d1719-1-x86_64.pkg.tar.xz   pkg/  src/  pcsx2-git.install PKGBUILD
$ yaourt -U pcsx2-git-1.2.2.r5131.70d1719-1-x86_64.pkg.tar.xz

Now you can run 'pcsx2' to test your local build.

Archlinux user and need help with PCSX2? Consider asking it in the Archlinux specific forum at http://forums.pcsx2.net/Thread-PCSX2-for-Archlinux Tongue
(This post was last modified: 07-22-2014 03:01 AM by josephg.)
05-31-2011 02:24 AM
Find all posts by this user Quote this message in a reply

Sponsored links

gregory Offline
Linux PCSX2 coder
******

Posts: 2.301
Joined: May 2010
Location: Grenoble, France
Reputation: 45
Post: #2
RE: PCSX2 for Archlinux
nice jobs Laugh. A minor typoe, there are some redundancy on step 5.
(This post was last modified: 09-06-2011 12:12 PM by gregory.)
09-06-2011 12:11 PM
Find all posts by this user Quote this message in a reply
josephg Offline
Translator for pt_BR
****

Posts: 159
Joined: Dec 2010
Location: Brazil
Reputation: 3
Post: #3
RE: PCSX2 for Archlinux
(09-06-2011 12:11 PM)gregory Wrote:  nice jobs Laugh. A minor typoe, there are some redundancy on step 5.

Step 5 edited, thanks!

Archlinux user and need help with PCSX2? Consider asking it in the Archlinux specific forum at http://forums.pcsx2.net/Thread-PCSX2-for-Archlinux Tongue
09-06-2011 12:34 PM
Find all posts by this user Quote this message in a reply
nrujac Offline
Newbie

Posts: 1
Joined: Sep 2011
Location:
Reputation: 0
Post: #4
RE: PCSX2 for Archlinux
There's a few issues with the current builds available. As you've noted elsewhere, the official 0.9.8 release doesn't work very well. However, the pcsx2-svn package is (currently) installing a broken zzogl plugin that causes a segfault on loading a game (throws a BadMatch X error: serial 29 error_code 8 request_code 136 minor_code 5).

Of course, this may be related to my setup. When I run your patched version of 0.9.8, I get a similarly defective zzogl plugin, though in that case its because it can't load my direct renderer. I know for a fact direct rendering works because the output of glxinfo tells me that I do in fact have direct rendering, and because I've written opengl code that utilizes it. So it seems like that version of the plugin is loading the wrong gl libraries. In fact, the extension that it claims is missing (GLX_EXT_framebuffer_object) is definitely available.

For the record, my video card is an ATI/AMD 5850, and I'm using the catalyst drivers.

Let me know if you'd like any other information. I'm not sure if this a packaging issue (or current svn) issue, and I just need to wait for a fix or if I need to adjust my setup. I suspect that I need to expose the libgl binaries provided by catalyst to pcsx2, but because of the 64bit -> 32bit issues, I'm not sure how to proceed.

That said, I can run the games via the software renderer. I'm just wholly disappointed by the performance, and I'm hoping the opengl plugin is faster. My machine should be more than capable of handling this emulator, though I'd hate to have to install windows just to check.

System specs:
Phenom II x6
12gb ram
ATI 5850
09-12-2011 05:31 AM
Find all posts by this user Quote this message in a reply
josephg Offline
Translator for pt_BR
****

Posts: 159
Joined: Dec 2010
Location: Brazil
Reputation: 3
Post: #5
RE: PCSX2 for Archlinux
I'm a little out of time right now, but I have some thoughts on this subject:

1- Yes, your hardware is more than enough.

2- I suppose you have installed catalyst-utils. Do you have lib32-catalyst-utils as well? Make sure you don't have lib32-libgl or lib32-nvidia-utils installed.

3- Run `ldd /usr/lib32/pcsx2/libzzogl-?.?.?.so` and look for missing library.

4- Run `pcsx2` from the command line and put the output (including the aforementioned error) in a text file and attach to this thread. Maybe we can find more from that.

Verify the above topics and let me know,

Cheers

UPDATE: Just came across with the following phrase in ATI Catalyst Archwiki page:
Quote:For x86_64 users [catalyst] provides lib32-catalyst-utils package needed to run 32-bit opengl applications and wine games.

Archlinux user and need help with PCSX2? Consider asking it in the Archlinux specific forum at http://forums.pcsx2.net/Thread-PCSX2-for-Archlinux Tongue
(This post was last modified: 09-13-2011 01:30 AM by josephg.)
09-12-2011 09:03 AM
Find all posts by this user Quote this message in a reply
Theon144 Offline
Newbie

Posts: 6
Joined: Feb 2012
Location:
Reputation: 0
Post: #6
RE: PCSX2 for Archlinux
I also have some trouble related to GL_EXT_framebuffer_object - I've got a NVidia GeForce 7600 GT, and when I run pcsx2, zzogl crashes with:

Code:
ZZogl: ERROR: Need GL_EXT_framebuffer_object for multiple render targets

I've already started a thread here: http://forums.pcsx2.net/Thread-ZZogl-ERR...r-targets, sorry.

edit: Also, apparently, pcsx2-svn doesn't build the binaries, just these files (this is at the end of output of `yaourt -S pcsx2-svn`):

Code:
-- Install configuration: "Debug"                                                                                                                                                
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/pcsx2/GameIndex.dbf
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/applications/pcsx2.desktop
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/pixmaps/pcsx2.xpm
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/doc/pcsx2/PCSX2_FAQ_0.9.8.pdf
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/doc/pcsx2/PCSX2_Readme_0.9.8.pdf
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/man/man1/pcsx2.man
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/cs_CZ/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/pl_PL/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/hu_HU/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/es_ES/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/tr_TR/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/it_IT/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/pt_BR/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/de_DE/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/zh_CN/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/ru_RU/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/zh_TW/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/ja_JP/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/sv_SE/LC_MESSAGES/pcsx2_Iconized.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/cs_CZ/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/pl_PL/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/hu_HU/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/es_ES/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/tr_TR/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/it_IT/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/pt_BR/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/de_DE/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/zh_CN/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/ru_RU/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/zh_TW/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/ja_JP/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/share/locale/sv_SE/LC_MESSAGES/pcsx2_Main.mo
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libCDVDiso.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libCDVDlinuz.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libCDVDnull.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libdev9null-0.5.0.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libFWnull-0.7.0.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libGSdx-0.1.16.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libGSnull.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libonepad-1.1.0.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libPADnull.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libSPU2null.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libUSBnull-0.7.0.so
-- Installing: /tmp/yaourt-tmp-theon/aur-pcsx2-svn/pkg/usr/lib/pcsx2/libzerospu2.so
(This post was last modified: 02-12-2012 06:44 PM by Theon144.)
02-12-2012 06:40 PM
Find all posts by this user Quote this message in a reply
josephg Offline
Translator for pt_BR
****

Posts: 159
Joined: Dec 2010
Location: Brazil
Reputation: 3
Post: #7
RE: PCSX2 for Archlinux
@Theon144: Ok, let's discuss your issue in this thread you started.


UPDATE: Fixed in 5096-1. Any problem, please let me know.

Archlinux user and need help with PCSX2? Consider asking it in the Archlinux specific forum at http://forums.pcsx2.net/Thread-PCSX2-for-Archlinux Tongue
(This post was last modified: 02-14-2012 03:43 AM by josephg.)
02-12-2012 10:10 PM
Find all posts by this user Quote this message in a reply
ilkyest Offline
Newbie

Posts: 1
Joined: Mar 2012
Location:
Reputation: 0
Post: #8
RE: PCSX2 for Archlinux
I'm having an annoying trouble. I've installed pcsx2 via yaourt. Everything done, but, when I start a game, my X restarts. It's the same that happens on VLC when I use other render than opengl.

I think it's a issue with ati drivers. I'm using a hd5670 in crossfire. In the command line, nothing are shown of issues, but my X restarts. Just try start a game, restarts X
03-07-2012 03:06 AM
Find all posts by this user Quote this message in a reply
josephg Offline
Translator for pt_BR
****

Posts: 159
Joined: Dec 2010
Location: Brazil
Reputation: 3
Post: #9
RE: PCSX2 for Archlinux
(03-07-2012 03:06 AM)ilkyest Wrote:  I'm having an annoying trouble. I've installed pcsx2 via yaourt. Everything done, but, when I start a game, my X restarts. It's the same that happens on VLC when I use other render than opengl.

I think it's a issue with ati drivers. I'm using a hd5670 in crossfire. In the command line, nothing are shown of issues, but my X restarts. Just try start a game, restarts X

I suggest that you read log files: /var/log/messages, /var/log/boot, /var/log/Xorg.0.log and PCSX2 specific logs at $HOME/.config/PCSX2/logs/ (mainly 'emulog.txt')

Archlinux user and need help with PCSX2? Consider asking it in the Archlinux specific forum at http://forums.pcsx2.net/Thread-PCSX2-for-Archlinux Tongue
03-07-2012 03:12 AM
Find all posts by this user Quote this message in a reply
OCmylife Offline
Newbie

Posts: 7
Joined: Mar 2012
Location:
Reputation: 0
Post: #10
RE: PCSX2 for Archlinux
I even have a problem with my new installed PCSX2:

Setup complete, but when I try to launch the iso, I get the following error-message:

Code:
(pcsx2:10984): Pango-CRITICAL **: pango_layout_set_width: assertion `layout != NULL' failed

(pcsx2:10984): Pango-CRITICAL **: pango_layout_get_extents: assertion `layout != NULL' failed

(pcsx2:10984): Pango-CRITICAL **: pango_layout_get_line_count: assertion `layout != NULL' failed
Floating point exception


Edit: Oh forgot my system specs Laugh

2500k
8GB Ram
GTX 560 ti
Do you have any clue, what`s going on here, or what I could try to fix it?

Oh I`m so sorry after a reboot it`s working fine Smile

Edit: Ok now I get other errors, but I think I could eliminate them
(This post was last modified: 03-27-2012 02:49 PM by OCmylife.)
03-27-2012 02:16 PM
Find all posts by this user Quote this message in a reply
Post Reply 





Current time: 11-29-2014, 01:44 AM