Next Generation Emulation banner

PCSX2 0.9.3 Question

4.3K views 10 replies 4 participants last post by  Surkow  
#1 · (Edited)
I am running Ubuntu Linux 7.04 and the initial configuration shows like normal (first time being run) but nothing shows up in the Graphics drop down box. Also, the configure button under Sound doesn't work for some reason when PEOpS SPU2 plugin is selected. All the other drop down boxes and are fine and the plugins in them function normally. How can I fix this problem? Could it be that I need to configure a hardware problem in Linux?
 
#4 ·
Thanks to avox I fixed the GS problem as you can see from the thumbnail below but the SPU2 configuration still doesn't work. Also, "Run CD" and "Execute" don't work, once it resets to start the game/bios, it crashes. You can see from the PCSX2 emulog.txt that it crashes after "GIF reset" What will fix this problem?
 
#5 · (Edited)
Thanks to avox I fixed the GS problem as you can see from the thumbnail below but the SPU2 configuration still doesn't work. Also, "Run CD" and "Execute" don't work, once it resets to start the game/bios, it crashes. You can see from the PCSX2 emulog.txt that it crashes after "GIF reset" What will fix this problem?
Currently I have Ubuntu 7.04 installed and suffered from exactly the same problems. I was able to run the GS plugin by compiling it myself. Odin Sphere would boot when I used the CDVDisoEFP plugin. I'm now able to start games with "Run CD". Sadly when compiling it myself (from SVN) the "PeopsSPU2" does not compile at all. I get the following error:
Code:
------------------
Building PeopsSPU2
------------------
gcc -fPIC -c -Wall -O3 -ffast-math -fomit-frame-pointer -DUSEALSA  alsa.c
alsa.c:40:28: error: alsa/asoundlib.h: No such file or directory
alsa.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
alsa.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘buffer_size’
alsa.c: In function ‘SetupSound’:
alsa.c:68: error: ‘snd_pcm_hw_params_t’ undeclared (first use in this function)
alsa.c:68: error: (Each undeclared identifier is reported only once
alsa.c:68: error: for each function it appears in.)
alsa.c:68: error: ‘hwparams’ undeclared (first use in this function)
alsa.c:69: error: ‘snd_pcm_sw_params_t’ undeclared (first use in this function)
alsa.c:69: error: ‘swparams’ undeclared (first use in this function)
alsa.c:70: error: ‘snd_pcm_status_t’ undeclared (first use in this function)
alsa.c:70: error: ‘status’ undeclared (first use in this function)
alsa.c:82: error: ‘SND_PCM_FORMAT_S16_LE’ undeclared (first use in this function)
alsa.c:86: warning: implicit declaration of function ‘snd_pcm_open’
alsa.c:86: error: ‘handle’ undeclared (first use in this function)
alsa.c:87: error: ‘SND_PCM_STREAM_PLAYBACK’ undeclared (first use in this function)
alsa.c:87: error: ‘SND_PCM_NONBLOCK’ undeclared (first use in this function)
alsa.c:89: warning: implicit declaration of function ‘snd_strerror’
alsa.c:89: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:93: warning: implicit declaration of function ‘snd_pcm_nonblock’
alsa.c:95: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:99: warning: implicit declaration of function ‘snd_pcm_hw_params_alloca’
alsa.c:100: warning: implicit declaration of function ‘snd_pcm_sw_params_alloca’
alsa.c:101: warning: implicit declaration of function ‘snd_pcm_hw_params_any’
alsa.c:103: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:107: warning: implicit declaration of function ‘snd_pcm_hw_params_set_access’
alsa.c:107: error: ‘SND_PCM_ACCESS_RW_INTERLEAVED’ undeclared (first use in this function)
alsa.c:109: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:113: warning: implicit declaration of function ‘snd_pcm_hw_params_set_format’
alsa.c:115: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:119: warning: implicit declaration of function ‘snd_pcm_hw_params_set_channels’
alsa.c:121: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:125: warning: implicit declaration of function ‘snd_pcm_hw_params_set_rate_near’
alsa.c:127: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:131: warning: implicit declaration of function ‘snd_pcm_hw_params_set_buffer_time_near’
alsa.c:133: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:137: warning: implicit declaration of function ‘snd_pcm_hw_params_set_period_time_near’
alsa.c:139: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:143: warning: implicit declaration of function ‘snd_pcm_hw_params’
alsa.c:145: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:149: warning: implicit declaration of function ‘snd_pcm_status_alloca’
alsa.c:150: warning: implicit declaration of function ‘snd_pcm_status’
alsa.c:152: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:156: error: ‘buffer_size’ undeclared (first use in this function)
alsa.c:156: warning: implicit declaration of function ‘snd_pcm_status_get_avail’
alsa.c: In function ‘RemoveSound’:
alsa.c:165: error: ‘handle’ undeclared (first use in this function)
alsa.c:167: warning: implicit declaration of function ‘snd_pcm_drop’
alsa.c:168: warning: implicit declaration of function ‘snd_pcm_close’
alsa.c: In function ‘SoundGetBytesBuffered’:
alsa.c:181: error: ‘handle’ undeclared (first use in this function)
alsa.c:183: warning: implicit declaration of function ‘snd_pcm_avail_update’
alsa.c:185: error: ‘buffer_size’ undeclared (first use in this function)
alsa.c: In function ‘SoundFeedVoiceData’:
alsa.c:198: error: ‘handle’ undeclared (first use in this function)
alsa.c:200: warning: implicit declaration of function ‘snd_pcm_state’
alsa.c:200: error: ‘SND_PCM_STATE_XRUN’ undeclared (first use in this function)
alsa.c:201: warning: implicit declaration of function ‘snd_pcm_prepare’
alsa.c:202: warning: implicit declaration of function ‘snd_pcm_writei’
make: *** [alsa.o] Error 1
Error with building plugins
I was convinced that I could run it pretty well with the following specs:

  • Asus A8N32-SLI Deluxe
  • Kingston Value RAM 2GB
  • AMD Opteron 148 (S939, 2,2GHz, 1MB)
  • Asus GeForce 7800 GTX 256MB DDR3
But sadly enough I could play Odin Sphere only with 8-10fps and no sound. I tried to mess with a few cpu functions and all games stopped working.

Edit: I recompiled version 0.9.3 from the main page (instead of the SVN version) and now Odin Sphere works again and a lot faster. Even though I now hear robotic sounds, the sound plugin configuration still fails to load. I also have a problem with not being able to use the controllers/gamepads I attached to my pc. The ZeroPAD plugin does not react to the input (I presume the other is for windows since the GUI is distorted and not reacting to input from the controller either). I currently use a Piranha gamepad because my Xbox360 controller won't be recognized at all by Ubuntu (It should according to various guides - but it does not create a device node in /dev/input).
 
#7 ·
"alsa.c:40:28: error: alsa/asoundlib.h: No such file or directory"

Install libasound-dev...
Thanks, already installed it afterwards reading the same in a thread in Ubuntuforums (that was before my edit of my previous post). I forgot to write down that part was already solved. I read that the robotic sounds problem would be solved with pcsx2 v0.9.4. That means the only thing I still have to focus on is making the connected controllers/gamepads work.
 
#8 ·
Thanks, already installed it afterwards reading the same in a thread in Ubuntuforums (that was before my edit of my previous post). I forgot to write down that part was already solved. I read that the robotic sounds problem would be solved with pcsx2 v0.9.4. That means the only thing I still have to focus on is making the connected controllers/gamepads work.
I see, cool. As for gamepads: there were threads here earlier where someone wrote a plugin for those. If you didn't see them, might want to search for them...
 
#11 ·
It seems this modification of official plugin is not capable of supporting my controllers. I'm going to read into getting the controllers work with SDL based plugins. The thing is that some controllers that others report to work in Ubuntu aren't recognized in my install of Ubuntu. And that the ones that are recognized create an entry in /dev/input but do not appear to work in the current PCSX2 input plugins.