..:: PCSX2 Forums ::..

Full Version: PCSX2 for Arch Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Sorry, I've been too strict in my first search concerning the sRGB profile.

Code:
[anxest@XXXXXXXX]$ pcsx2 --console

(pcsx2:2322): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « adwaita »

(pcsx2:2322): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « adwaita »
Gtk-Message: Failed to load module "canberra-gtk-module"
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Loading language translation databases for 'French' [fr_FR]
Command line parsing...
Command line parsed!
glX-Version 1.4 with Direct Rendering
Supported Opengl version: 3.3.0 NVIDIA 319.32
GL_ARB_shading_language_420pack is not supported
convert.glsl (entry vs_main, prog 2) :

convert.glsl (entry gs_main, prog 3) :

convert.glsl (entry ps_main0, prog 4) :

convert.glsl (entry ps_main1, prog 5) :

convert.glsl (entry ps_main2, prog 6) :

convert.glsl (entry ps_main3, prog 7) :

convert.glsl (entry ps_main4, prog 8) :

convert.glsl (entry ps_main5, prog 9) :

convert.glsl (entry ps_main6, prog 10) :

convert.glsl (entry ps_main7, prog 11) :

merge.glsl (entry ps_main0, prog 12) :

merge.glsl (entry ps_main1, prog 13) :

interlace.glsl (entry ps_main0, prog 14) :

interlace.glsl (entry ps_main1, prog 15) :

interlace.glsl (entry ps_main2, prog 16) :

interlace.glsl (entry ps_main3, prog 17) :

shadeboost.glsl (entry ps_main, prog 18) :
#define SB_SATURATION 50
#define SB_BRIGHTNESS 50
#define SB_CONTRAST 50

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/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
* SPU2-X: Enumerating PortAudio devices:
*** Device 0: 'HDA ATI SB: ALC892 Analog (hw:0,0)' (ALSA)
*** Device 1: 'HDA ATI SB: ALC892 Digital (hw:0,1)' (ALSA)
*** Device 2: 'HDA NVidia: HDMI 0 (hw:1,3)' (ALSA)
*** Device 3: 'HDA NVidia: HDMI 1 (hw:1,7)' (ALSA)
*** Device 4: 'HDA NVidia: HDMI 2 (hw:1,8)' (ALSA)
*** Device 5: 'HDA NVidia: HDMI 3 (hw:1,9)' (ALSA)
*** Device 6: 'sysdefault' (ALSA)
*** Device 7: 'front' (ALSA)
*** Device 8: 'surround40' (ALSA)
*** Device 9: 'surround41' (ALSA)
*** Device 10: 'surround50' (ALSA)
*** Device 11: 'surround51' (ALSA)
*** Device 12: 'surround71' (ALSA)
*** Device 13: 'iec958' (ALSA)
*** Device 14: 'spdif' (ALSA)
*** Device 15: 'dmix' (ALSA)
The program 'pcsx2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 3667 error_code 3 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
terminate called without an active exception


Abandon (core dumped)

After several trials and resintall of alsa and pulse, I got for the first time this mention about Xorg. I can't go deeper for the moment, I'll try tonight.

Thanks a lot for your help. Leading would still be welcome Smile

[edit]

After installing a missing alsa lib32 (don't remember wich one for the moment), I now get this issue wich seems more common, but not easier to resolve for me.

Code:
(pcsx2:3208): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « adwaita »

(pcsx2:3208): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « adwaita »
Gtk-Message: Failed to load module "canberra-gtk-module"
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Loading language translation databases for 'French' [fr_FR]
Command line parsing...
Command line parsed!
ZZOgl-PG:  Calling GSinit.
ZZOgl-PG:  GSinit finished.
ZZOgl-PG:  Calling GSopen2.
ZZOgl-PG:  Capturing ZZOgl window.
ZZOgl-PG:  Got Doublebuffered Visual!
ZZOgl-PG:  glX-Version 1.4 with Direct Rendering
ZZOgl-PG:  Supported Opengl version : 3.3.0 NVIDIA 319.32

ZZOgl-PG:  Using multitexturing.
ZZOgl-PG:  Maximum texture size is 16384 for Tex_2d and 16384 for Tex_NV.
ZZOgl-PG:  Disabling MRT depth writing.
ZZOgl-PG:  Use GL_RGBA32F for blockdata.
ZZOgl-PG:  Fill bilinear blocks OK.!
ZZOgl-PG:  Creating effects.
ZZOgl-PG:  Creating extra effects.
ZZOgl-PG:  Using full shaders.
ZZOgl-PG:  Initialization successful.
ZZOgl-PG:  Disabling MRT depth writing.
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 pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
* SPU2-X: Enumerating PortAudio devices:
*** Device 0: 'HDA ATI SB: ALC892 Analog (hw:0,0)' (ALSA)
*** Device 1: 'HDA ATI SB: ALC892 Digital (hw:0,1)' (ALSA)
*** Device 2: 'HDA NVidia: HDMI 0 (hw:1,3)' (ALSA)
*** Device 3: 'HDA NVidia: HDMI 1 (hw:1,7)' (ALSA)
*** Device 4: 'HDA NVidia: HDMI 2 (hw:1,8)' (ALSA)
*** Device 5: 'HDA NVidia: HDMI 3 (hw:1,9)' (ALSA)
*** Device 6: 'sysdefault' (ALSA)
*** Device 7: 'front' (ALSA)
*** Device 8: 'surround40' (ALSA)
*** Device 9: 'surround41' (ALSA)
*** Device 10: 'surround50' (ALSA)
*** Device 11: 'surround51' (ALSA)
*** Device 12: 'surround71' (ALSA)
*** Device 13: 'iec958' (ALSA)
*** Device 14: 'spdif' (ALSA)
*** Device 15: 'pulse' (ALSA)
*** Device 16: 'dmix' (ALSA)
terminate called after throwing an instance of 'Exception::CannotCreateStream'


Abandon (core dumped)

It looks like my former GC is not properly unistalled and something else occurs in sound config. So I'll keep on watching by my side. Thanks anyway Smile
Quote: terminate called after throwing an instance of 'Exception::CannotCreateStream
This one means it failed to open a file, for example bios file
(07-26-2013, 10:57 PM)gregory Wrote: [ -> ]Do you know where GSdx is located? If yes, can you do an "ldd" on it?

Here it is (latest svn) :
Code:
[quentin@VaioLaptop pcsx2]$ ldd libGSdx-0.1.16.so
        linux-gate.so.1 (0xf76e2000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf6e62000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf6d60000)
        libEGL.so.1 => /usr/lib32/libEGL.so.1 (0xf6d40000)
        libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf68de000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf68b8000)
        libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf6869000)
        libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6767000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf667e000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf663b000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6620000)
        libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf6605000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf6456000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf6434000)
        libdl.so.2 => /usr/lib32/libdl.so.2 (0xf642f000)
        libnvidia-tls.so.319.32 => /usr/lib32/libnvidia-tls.so.319.32 (0xf642a000)
        libnvidia-glcore.so.319.32 => /usr/lib32/libnvidia-glcore.so.319.32 (0xf4460000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf444d000)
        libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf444a000)
        libxcb-dri2.so.0 => /usr/lib32/libxcb-dri2.so.0 (0xf4444000)
        libxcb-xfixes.so.0 => /usr/lib32/libxcb-xfixes.so.0 (0xf443b000)
        libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf4430000)
        libxcb-shape.so.0 => /usr/lib32/libxcb-shape.so.0 (0xf442c000)
        libgbm.so.1 => /usr/lib32/libgbm.so.1 (0xf4425000)
        libglapi.so.0 => /usr/lib32/libglapi.so.0 (0xf440f000)
        libudev.so.1 => /usr/lib32/libudev.so.1 (0xf43fb000)
        libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf43ee000)
        libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf4340000)
        libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf433b000)
        libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf432e000)
        libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf4327000)
        libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf4305000)
        libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf41d1000)
        libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf406a000)
        libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf4055000)
        libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf400a000)
        libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf3fcf000)
        libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf3f96000)
        libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf3f29000)
        libffi.so.6 => /usr/lib32/libffi.so.6 (0xf3f21000)
        /usr/lib/ld-linux.so.2 (0xf76e3000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf3f1c000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf3f15000)
        librt.so.1 => /usr/lib32/librt.so.1 (0xf3f0c000)
        libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf3f01000)
        libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf3efd000)
        libXi.so.6 => /usr/lib32/libXi.so.6 (0xf3eeb000)
        libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf3ee0000)
        libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf3ed5000)
        libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf3ed1000)
        libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf3ecd000)
        libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf3ec9000)
        libharfbuzz.so.0 => /usr/lib32/libharfbuzz.so.0 (0xf3e76000)
        libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf3dd7000)
        libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf3d2d000)
        libxcb-shm.so.0 => /usr/lib32/libxcb-shm.so.0 (0xf3d29000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf3d11000)
        libresolv.so.2 => /usr/lib32/libresolv.so.2 (0xf3cf9000)
        libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf3cd0000)
        libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf3cc0000)
I can't remember exactly when I discovered theses bugs in PCSX2 exactly...
One thing is sure : It worked perfectly (if emulation can ever be described as perfect ...) in early 2012.
In ~ Summer 2012, PCSX2 suddenly stopped to work for me. Maybe it was just GSdx (I don't think that I have tried to use zzogl instead) ... Was it before the 1.0.0 release ? It's quite possible ...
Today, I have tried the 1.0.0, Arch packaged release, GSdx doesn't work in it either.

I tried the 1.0.0 binary (downloaded on the pcsx2.net) while writing this post, GSdx works !

Summary (on my computer) :
GSdx doesn't work in pcsx AUR compiled svn.
GSdx doesn't work in 1.0.0 Arch build.
GSdx works in pcsx2.net binary.

edit : If I remember correctly, something didn't work with the Gumbo Fedora build on my computer. Maybe it was GSdx too ...
What gpu? What driver (open source or proprietary)?
Yama, are you sure your Nvidia driver is correctly installed.
@DatankAC
I'm using a Nvidia GeForce GT 540M with the 319.32 driver.

@Gregory
I don't see any problem ...
http://pix.toile-libre.org/?img=1375397937.png

And GSdx (software rendering) works fine with the pcsx2.net 1.0.0 binary : http://pix.toile-libre.org/?img=1375398877.png
I'm only encountering problems with GSdx in distro packages/builds. I can't even open the GSdx config dialog in theses. However Zzogl works fine (I can play and config the plugin).

Yes, it's hard to believe that I'm doing everything fine.
Download latest SVN. Do a cmake command in terminal...
cmake CMakeLists.txt -DCMAKE_BUILD_TYPE=Release

This should tell you what dependencies you are missing for latest GSdx (hence it doesn't show up as a choice). I had the same problem with compiling a couple weeks ago. I used my repos to install missing libs.

You are much better off using latest SVN as there has been lots of improvement. "Stable" version had lots of critical GSdx bugs.
Since I'm using the josephg package, I think that I have all the required dependencies.
Code:
[quentin@VaioLaptop pcsx2-read-only]$ cmake CMakeLists.txt -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning at CMakeLists.txt:48 (message):
  

          PCSX2 does not support a 64-bits environment and has no plan to support a 64-bits architecture in the future.
          It would need a complete rewrite of the core emulator and a lot of time.

  

          You can still run a 32-bits binary if you install all 32-bits libraries (runtime and dev).

  

          Ubuntu users, please upgrade to 12.04.


-- Enable the stripping by default in Release build !!!
-- Enable the building of po files by default in Release build !!!
-- Found Freetype: /usr/lib32/libfreetype.so (found version "2.5.0")
-- Found GTK2_GTK: /usr/lib32/libgtk-x11-2.0.so  
-- Looking for XOpenDisplay in /usr/lib32/libX11.so;/usr/lib32/libXext.so
-- Looking for XOpenDisplay in /usr/lib32/libX11.so;/usr/lib32/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib32/libX11.so
-- Found ALSA: /usr/lib32/libasound.so (found version "1.0.27.2")
-- Found BZip2: /usr/lib32/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib32/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib32/libbz2.so - found
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3")
-- Found JPEG: /usr/lib32/libjpeg.so  
-- Found OpenGL: /usr/lib32/libGL.so  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found SDL: /usr/lib32/libSDL.so (found version "1.2.15")
-- Found Subversion: /usr/bin/svn (found version "1.8.0")
-- Found wxWidgets: TRUE  
-- Found ZLIB: /usr/lib32/libz.so (found version "1.2.8")
-- Found AIO: /usr/lib32/libaio.so  
-- Found Cg: /usr/lib32/libCg.so;/usr/lib32/libCgGL.so  
-- Found EGL: /usr/lib32/libEGL.so  
-- Found GLESV2: /usr/lib32/libGLESv2.so  
-- Found GLEW: /usr/lib32/libGLEW.so  
-- Found Libc: /usr/lib32/librt.so;/usr/lib32/libdl.so;/usr/lib32/libm.so  
-- Found PortAudio: /usr/lib32/libportaudio.so  
-- Found SoundTouch: /usr/lib32/libSoundTouch.so  
-- Found SparseHash: /usr/include  
-- Found SparseHash_new: /usr/include  
-- Don't build zerospu2. It is super-seeded by spu2x
-- Configuring done
-- Generating done
-- Build files have been written to: /home/quentin/pcsx2-read-only
The problem is that GSdx is built but not usable : I can't configure it (freeze when I click on "configure") or use it (freeze when I launch a game with GSdx as GPU plugin).
This behavior only occurs with unofficially compiled packages (svn or stable releases). This behavior occurs with the Arch Linux 1.0.0 binary too (which is an unofficially compiled package too).
However, if I use the latest official pcsx2.net binary (the 1.0.0), It works well.
Did you check for the presence of Gsdx.ini?
Quote: The problem is that GSdx is built but not usable : I can't configure it (freeze when I click on "configure") or use it (freeze when I launch a game with GSdx as GPU plugin).

OK, I misunderstood. This sounds like a gpu driver issue. I have not kept up lately with Nvidia's gpu status. There have been lots of chanes lately regarding Linux and gpu drivers. Perhaps Gregory can tell you more when he gets a chance.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33