Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Giving pcsx2 a try (Debian / Sandy Bridge)
#1
Oioyo,

I'm trying to understand all the requisites to make pcsx2 work. Actually, my problem seems to be the GL plugin (libGSdx-0.1.16.so ?) doesn't seem to load.

Starting pcsx2:
Code:
PCSX2 1.0.0.r0  - compiled on Jul 22 2012
Savestate version: 0x9a080000

Host Machine Init:
    Operating System =  Linux 3.11-2-amd64 x86_64
    Physical RAM     =  3873 MB
    CPU name         =  Intel(R) Pentium(R) CPU B940 @ 2.00GHz
    Vendor/Model     =  GenuineIntel (stepping 07)
    CPU speed        =  1.995 ghz (2 logical threads)
    x86PType         =  Standard OEM
    x86Flags         =  bfebfbff 0dbae39f
    x86EFlags        =  28100000

x86 Features Detected:
    MMX.. SSE.. SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2

Installing POSIX SIGSEGV handler...
Reserving memory for recompilers...

Loading plugins...
    Binding   GS: /home/fab/jeux/playstation2/plugins/libGSnull.so
    Binding  PAD: /home/fab/jeux/playstation2/plugins/libonepad-1.1.0.so
    Binding SPU2: /home/fab/jeux/playstation2/plugins/libSPU2null.so
    Binding CDVD: /home/fab/jeux/playstation2/plugins/libCDVDiso.so
    Binding  USB: /home/fab/jeux/playstation2/plugins/libUSBnull-0.7.0.so
    Binding   FW: /home/fab/jeux/playstation2/plugins/libFWnull-0.7.0.so
    Binding DEV9: /home/fab/jeux/playstation2/plugins/libdev9null-0.5.0.so
Plugins loaded successfully.

(GameDB) 9640 games on record (loaded in 314ms)

When opening the plugins configuration window, I have this more:
Code:
[wx] libportaudio.so.2: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Path: /home/fab/jeux/playstation2/plugins/libspu2x-2.0.0.so
File is not a valid dynamic library.
[wx] libCg.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Path: /home/fab/jeux/playstation2/plugins/libzzogl-0.4.0.so
File is not a valid dynamic library.
Some kinda plugin failure: /home/fab/jeux/playstation2/plugins/libspu2x-2.0.0.so
Some kinda plugin failure: /home/fab/jeux/playstation2/plugins/libzzogl-0.4.0.so
[wx] libGLEW.so.1.7: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Path: /home/fab/jeux/playstation2/plugins/libGSdx-0.1.16.so
File is not a valid dynamic library.
Some kinda plugin failure: /home/fab/jeux/playstation2/plugins/libGSdx-0.1.16.so

I'm reading on this page: http://pcsx2.net/download/releases/linux.html
Quote:Dependencies:
gtk2, opengl, libbz2, libjpeg, glew-dev, libxxf86vm-dev, x11proto-xf86vidmodeautomake and autoconf (version >= 1.9) Nvidia Cg-Toolkit (link), libasound-dev, joystick
If I'm not wrong, these deps are for compiling, not for running. Since the page itself distributes the build, it is a bit misleading.

However I understand I might need a few libs, including 32 bits ones (I have multi-arch enabled), like:

Code:
# apt-cache policy libglew1.10
libglew1.10:
  Installé : 1.10.0-3
  Candidat : 1.10.0-3
Table de version :
*** 1.10.0-3 0
        500 http://ftp.fr.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status

Code:
# apt-cache policy libglew1.10:i386
libglew1.10:i386:
  Installé : 1.10.0-3
  Candidat : 1.10.0-3
Table de version :
*** 1.10.0-3 0
        500 http://ftp.fr.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status

This doesn't seem to help however, what am I missing ?

Since I'm trying to run pcsx2 on some low-end Sandy Bridge, I'm also attaching some MESA related infos I have.


Attached Files
.txt   glxinfo.txt (Size: 14,38 KB / Downloads: 55)
.txt   lspci.txt (Size: 149 bytes / Downloads: 71)
.txt   cpuinfo.txt (Size: 1,69 KB / Downloads: 81)
Reply

Sponsored links

#2
yes you need the 32bits libs and get a newer version (at least of gsdx)
Reply
#3
You need at least Mesa 10. Also don't expect a playable speed with that cpu.
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#4
Okay, I had libglew1.10 but libglew1.7 was necessary, and only available on Wheezy.

Code:
# apt-file search libportaudio.so.2
libportaudio2: /usr/lib/x86_64-linux-gnu/libportaudio.so.2
libportaudio2: /usr/lib/x86_64-linux-gnu/libportaudio.so.2.0.0

# apt-file search libCg.so
libcg: /usr/lib/x86_64-linux-gnu/libCg.so

# apt-file search libSoundTouch.so.0
libsoundtouch0: /usr/lib/x86_64-linux-gnu/libSoundTouch.so.0
libsoundtouch0: /usr/lib/x86_64-linux-gnu/libSoundTouch.so.0.0.0

# apt-file search libCgGL.so        
libcggl: /usr/lib/x86_64-linux-gnu/libCgGL.so

# apt-file search libGLEW.so.1.7
(no result because only available on Wheezy ( http://packages.debian.org/wheezy/libglew1.7 )

# apt-file search libGLEW.so    
libglew-dev: /usr/lib/x86_64-linux-gnu/libGLEW.so
libglew1.10: /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10
libglew1.10: /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10.0

Installing the required libs, except libGLEW:
Code:
aptitude install libportaudio2:i386 libcg:i386 libsoundtouch0:i386 libcggl:i386

And installed libglew1.7:i386 manually.

Now I have tried to run pcsx2 v.1.0,
- with libGSdx coming from the same package, pcsx2 freezes, and I have no control or no error message
- with libGSdx rev5752, I have this error message when starting the game (only tested with one):

Code:
/tmp/1.0.0/common/src/Utilities/Linux/LnxHostSys.cpp(64) : assertion failed:
    Function:  void SysPageFaultSignalFilter(int, siginfo_t*, void*)
    Thread:    MTGS
    Condition: false
    Message:   Unhandled page fault @ 0x00000020

Stacktrace:
[00] __kernel_rt_sigreturn                      
[01] GSDeviceOGL::SetupPS(GSDeviceOGL::PSSelector)
[02] GSRendererOGL::DrawPrims(GSTexture*, GSTexture*, GSTextureCache::Source*)
[03] GSRendererHW::Draw()                        
[04] GSState::FlushPrim()                        
[05] void GSState::GIFRegHandlerFRAME<0>(GIFReg const*)
[06] void GSState::Transfer<3>(unsigned char const*, unsigned int)
[07] GSgifTransfer

With an updated version of pcsx2 rev5705, I have:
Code:
[wx] libGLEW.so.1.9: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
... so it can't load the plugin.

Unfortunately, version 1.9 doesn't seem to be in Debian:
http://packages.debian.org/search?keywords=libglew

That's all for now. And yeah I know it could run like *****, but I wasn't intending to play the big games, if run at all.
Reply
#5
You need to use the SVN version. The so-called stable version is not stable at all, and pcsx2 has changes significantly on the Linux side since then.

Here is the command from the PCSX2 Google Code website. http://code.google.com/p/pcsx2/

svn checkout http://pcsx2.googlecode.com/svn/trunk/ pcsx2-read-only
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user)
CPU: Intel Pentium G3258
GPU: Nvidia GTX 650 Ti



Reply
#6
Get GSdx from this thread. It doesn't need glew (IIRC, normally I packed glew in the official tarball but you need to use the startup script) => http://forums.pcsx2.net/Thread-Unofficial-linux-build

Edit: sorry I didn't see the error message of GSdx.
So yes it crash but I don't know why, you have the same issue as a guy on this thread http://forums.pcsx2.net/Thread-Unofficial-linux-build

Edit2:Can you edit GSdx.ini and set all option that begin with "override_" to 0? And post it the output of the xterm terminal
Reply
#7
For the GSdx crash. Open GSdx configuration and select OGL renderer (by default it used internaly dx). Restart and it migth fix the crash
Reply
#8
Okay, there were no "override_*" options yet, but reselecting OpenGL (Hardware) as a renderer with pcsx2-svn-r5705 seem to have helped, now I can start a game Laugh
I haven't tested thourougly yet, but I think some ingame graphics were missing (cinematics were fine, but ingame environment was mainly black). I will test a bit more soon and with other games.
Other problem was sound playback was "slowed down", maybe related to PAL/NTSC ?

The output from the terminal revealed this:
Code:
Failed to create the opengl context. Check your drivers support openGL 3.3. Hint: opensource drivers don't
EGL: warning your driver doesn't suport advance openGL context attributes
EGL: Mesa Project : 1.4 (DRI2)
EGL: extensions supported: EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_context EGL_KHR_create_context EGL_NOK_swap_region EGL_NOK_texture_from_pixmap EGL_NV_post_sub_buffer
Supported Opengl version: 3.0 Mesa 9.2.2 on GPU: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2. Vendor: Intel Open Source Technology Center
Geometry shaders are not supported. Required openGL 3.2

INFO: GL_ARB_separate_shader_objects is not supported
INFO: GL_ARB_gpu_shader5 is not supported
INFO: GL_ARB_shader_image_load_store is not supported
INFO: GL_ARB_clear_texture is not supported
INFO: GL_ARB_buffer_storage is not supported
INFO: GL_ARB_shader_subroutine is not supported
INFO: GL_ARB_explicit_uniform_location is not supported
INFO: GL_ARB_multi_bind is not supported
INFO: GL_ARB_bindless_texture is not supported

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
* SPU2-X: Enumerating PortAudio devices:
*** Device 0: 'HDA Intel PCH: ALC269VB Analog (hw:0,0)' (ALSA)
*** Device 1: 'HDA Intel PCH: HDMI 0 (hw:0,3)' (ALSA)
*** Device 2: 'FastTrack Pro: USB Audio #1 (hw:1,1)' (ALSA)
*** Device 3: 'sysdefault' (ALSA)
*** Device 4: 'front' (ALSA)
*** Device 5: 'surround40' (ALSA)
*** Device 6: 'surround51' (ALSA)
*** Device 7: 'surround71' (ALSA)
*** Device 8: 'hdmi' (ALSA)
*** Device 9: 'default' (ALSA) (selected)
*** Device 10: 'dmix' (ALSA)
*** Device 11: '/dev/dsp' (OSS)
*** Device 12: 'system' (JACK Audio Connection Kit)

Does this explain the missing textures ?
I might also give a newer version of Mesa a chance if it can help.
Reply
#9
yes the crash was the renderer default value. Try latest svn it might fix most of your issue.
Reply




Users browsing this thread: 1 Guest(s)