PCSX2 Documentation/Chroot and 64-bit Linux: Difference between revisions

 
(9 intermediate revisions by the same user not shown)
Line 41: Line 41:
A few links that could help:
A few links that could help:
*Ubuntu:
*Ubuntu:
**chroot -> [https://help.ubuntu.com/community/DebootstrapChroot]
**chroot -> https://help.ubuntu.com/community/DebootstrapChroot
**chroot + [PCSX2 -> http://ubuntuforums.org/showthread.php?t=1712017]
**chroot + PCSX2 -> http://ubuntuforums.org/showthread.php?t=1712017
*Gentoo:
*Gentoo:
**chroot + [PCSX2 -> http://www.tatsh.net/2011-06-18/how-build-pcsx2-64-bit-gentoo-linux]
**chroot + PCSX2 -> http://www.tatsh.net/2011-06-18/how-build-pcsx2-64-bit-gentoo-linux
''TODO: add other distributions : Archlinux / Mandriva / Opensuse / Slackware''
''TODO: add other distributions : Archlinux / Mandriva / Opensuse / Slackware''


===Proprietary Driver===
===Proprietary Driver===
NVIDIA
NVIDIA
Do not know ^^ (arcum42 -- I've got an nvidia card, so I'll have to check some time...)
*Do not know ^^ (arcum42 -- I've got an nvidia card, so I'll have to check some time...)
ATI/AMD (Note: library paths depend on distributions)
ATI/AMD (Note: library paths depend on distributions)
Use the 32bits glxinfo to check that direct rendering is enabled
#Use the 32bits glxinfo to check that direct rendering is enabled
You need to overwrite the libGL.so.* libraries provided by mesa with the 32bits version in fglrx.
#You need to overwrite the libGL.so.* libraries provided by mesa with the 32bits version in fglrx.
You must add the 32bits fglrx_dri.so
#You must add the 32bits fglrx_dri.so
IA32 libs / Multi-arch
 
==IA32 libs / Multi-arch==
Some distributions give you the ability to install 32 bit libraries in an amd64 architecture. Note: it is still necessary to install the 64 bit development packages, and some distributions miss some of the required libraries:
Some distributions give you the ability to install 32 bit libraries in an amd64 architecture. Note: it is still necessary to install the 64 bit development packages, and some distributions miss some of the required libraries:
Debian / Ubuntu:
 
ia32-libs-dev and ia32-libs-gtk. DEPRECATED, don't use them
===Debian / Ubuntu===
multi-arch which allow to install any architecture library in any architecture system (ease also cross-compilation). You need to add :i386 suffix when you install a package. For example apt-get install pcsx2:i386
''ia32-libs-dev and ia32-libs-gtk are DEPRECATED, don't use them.''
Ubuntu: Upgrade to 12.04.
 
Debian: expected in Wheezy and later.
Multi-arch which allow to install any architecture library in any architecture system (ease also cross-compilation). You need to add :i386 suffix when you install a package. For example  
Archlinux. Status, seem working for some users.
<source lang="bash">
apt-get install pcsx2:i386
</source>
*Ubuntu: Upgrade to 12.04.
*Debian: expected in Wheezy and later.
 
===Arch Linux===
''Seem to be working for some users.''
 
Some of the required packages to build PCSX2 are available only in AUR unsupported. So, the use of an AUR helper (ex: yaourt) is highly advised! Hopefully all 32 bits package can be found.
Some of the required packages to build PCSX2 are available only in AUR unsupported. So, the use of an AUR helper (ex: yaourt) is highly advised! Hopefully all 32 bits package can be found.
<source lang="bash">
# update /etc/pacman.conf
# update /etc/pacman.conf
[Multilib]
[Multilib]
Line 68: Line 78:
# Refresh package
# Refresh package
pacman -Sy
pacman -Sy
Fedora 14: Status, compile and run OK (fedora 14).
</source>
 
===Fedora 14: Status, compile and run OK (fedora 14).===
search for packages ending with ".i686"
search for packages ending with ".i686"
<source lang="bash">
yum install cmake bzip2.i686 bzip2-devel.i686 glew.i686 glew-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686 mesa-libGLU.i686 mesa-libGLU-devel.i686 mesa-libGLw.i686 mesa-libGLw-devel.i686 mesa-libOSMesa.i686 mesa-libOSMesa-devel.i686 alsa-lib.i686 alsa-lib-devel.i686 Cg Cg.i686 libXxf86vm.i686 libXxf86vm-devel.i686 xorg-x11-proto-devel libX11.i686 libX11-devel.i686 xorg-x11-xtrans-devel libCg.i686 SDL.i686 SDL-devel.i686 sparsehash-devel freetype.i686 freetype-devel.i686 gtk2.i686 gtk2-devel.i686 zlib.i686 zlib-devel.i686 libjpeg-devel libjpeg libjpeg-static wxGTK-devel.i686 libCg.i686 portaudio.i686 portaudio-devel.i686 glib2-devel.i686 gdk-pixbuf2-devel.i686 gdk-pixbuf gdk-pixbuf-devel gdk-pixbuf.i686 gdk-pixbuf-devel.i686 atk-devel.i686 pango-devel.i686 cairo-devel.i686 libjpeg-turbo.i686 libjpeg-turbo-devel.i686
yum install cmake bzip2.i686 bzip2-devel.i686 glew.i686 glew-devel.i686 mesa-libGL.i686 mesa-libGL-devel.i686 mesa-libGLU.i686 mesa-libGLU-devel.i686 mesa-libGLw.i686 mesa-libGLw-devel.i686 mesa-libOSMesa.i686 mesa-libOSMesa-devel.i686 alsa-lib.i686 alsa-lib-devel.i686 Cg Cg.i686 libXxf86vm.i686 libXxf86vm-devel.i686 xorg-x11-proto-devel libX11.i686 libX11-devel.i686 xorg-x11-xtrans-devel libCg.i686 SDL.i686 SDL-devel.i686 sparsehash-devel freetype.i686 freetype-devel.i686 gtk2.i686 gtk2-devel.i686 zlib.i686 zlib-devel.i686 libjpeg-devel libjpeg libjpeg-static wxGTK-devel.i686 libCg.i686 portaudio.i686 portaudio-devel.i686 glib2-devel.i686 gdk-pixbuf2-devel.i686 gdk-pixbuf gdk-pixbuf-devel gdk-pixbuf.i686 gdk-pixbuf-devel.i686 atk-devel.i686 pango-devel.i686 cairo-devel.i686 libjpeg-turbo.i686 libjpeg-turbo-devel.i686
Opensuse: Status unknown
</source>
search for packages ending with "-32bit"
 
TODO complete other distributions : Mandriva(still exists ?) / Gentoo / Slackware
===Opensuse: Status unknown===
*search for packages ending with "-32bit"
 
''TODO complete other distributions : Mandriva(still exists ?) / Gentoo / Slackware''




{{PCSX2 Documentation Navbox}}
{{PCSX2 Documentation Navbox}}
ninja
782

edits