maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Palm Pre gets SDL! native gaming (https://talk.maemo.org/showthread.php?t=39809)

garen 2010-10-31 22:20

Re: Palm Pre gets SDL! native gaming
 
How can i make NFSU's music and videos not show up in the media player? I tried renaming one of the folders to Private but then the game wouldn't start.

SavageD 2010-10-31 22:49

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by garen (Post 859000)
How can i make NFSU's music and videos not show up in the media player? I tried renaming one of the folders to Private but then the game wouldn't start.

Make copies of the mp3 files and pics in Your MyDocs directory, or your favourite music folder. I don't think tracker watches the /home/user/ directory...well at least it doesn't on my device.

garen 2010-10-31 23:01

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by SavageD (Post 859025)
Make copies of the mp3 files and pics in Your MyDocs directory, or your favourite music folder. I don't think tracker watches the /home/user/ directory...well at least it doesn't on my device.

Sorry, I'm kinda bad at this. I'm supposed to move the music and video files to /home/user/?

Aranel 2010-10-31 23:40

Re: Palm Pre gets SDL! native gaming
 
See: tracker-cfg

Get it from repos. Add NFSU directory to NoWatch list, then run this command via XTerm: tracker-processes -r

realmic 2010-11-01 00:09

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by windows7 (Post 858344)
is your power cable connected? if yes try without it

I*ve try without it, but no improvement :( the CPU has 100% utilization and I hear a *clack-clack-clack* sound :eek:... it's very very quietly!
When I stop one of the pulseaudio processes, it's gone and the CPU utilization is 40-70%, now.

It seems this is a pulseaudio problem. Can anyone confirm? Please.

garen 2010-11-01 00:12

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Aranel (Post 859065)
See: tracker-cfg

Get it from repos. Add NFSU directory to NoWatch list, then run this command via XTerm: tracker-processes -r

Ok, I did this and now all of my videos and songs are gone.
EDIT: Nevermind, they came back :P
thanks for all the help.

The Arsonist 2010-11-01 03:17

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by realmic (Post 859093)
I*ve try without it, but no improvement :( the CPU has 100% utilization and I hear a *clack-clack-clack* sound :eek:... it's very very quietly!
When I stop one of the pulseaudio processes, it's gone and the CPU utilization is 40-70%, now.

It seems this is a pulseaudio problem. Can anyone confirm? Please.

Can say I've had the same issue. Is it possibly the versions of any software you're using? Maybe an outdated OS, Preenv, or NFS is causing the issue, because you're the only person I've seen with this issue. Maybe trying deleting the installation of NFS you're currently using, deleting the current files you're using, and try starting from scratch to possibly isolate your issue.

fuyoh 2010-11-01 08:19

Re: Palm Pre gets SDL! native gaming
 
hey guys, i have a problem.

video cutscenes wont play on need for speed, it works fine before..

the error i got is "GStreamer Pipeline Error : Resource Not Found"

The Arsonist 2010-11-01 12:47

Re: Palm Pre gets SDL! native gaming
 
I've read the Wiki for compatibility and some of them aren't descriptive or correct, so I was wondering if there was a recommended place for discussions on particular games and if not, where exactly should I make the thread? I'm thinking that if I were to simply put it under games, the wrong people would be looking at because the games on there are Maemo specific. Should I just ask questions here or should we begin some new threads on the specifics experiences people are having on certain games?

realmic 2010-11-01 14:27

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by The Arsonist (Post 859191)
Can say I've had the same issue. Is it possibly the versions of any software you're using? Maybe an outdated OS, Preenv, or NFS is causing the issue, because you're the only person I've seen with this issue. Maybe trying deleting the installation of NFS you're currently using, deleting the current files you're using, and try starting from scratch to possibly isolate your issue.

My Nokia N900 has currently PR1.3 firmware installed. I've updated from PR1.2 with NSU. The Preenv version ist 0.1.1, NFS version is com.ea.app.nfsuc_20.0.29 - with the old 20.0.28 I had the same issues. I've try uninstalling and deleting all of the NFS folders, but it doesn't help. :mad:

UPDATE:
I've solved it!!!:D

If i start the game via xterm with sudo gainroot and preenv, the CPU has 100% utilization:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # preenv


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd nfsuc/
/home/user/nfsuc # ./nfsuc
SDLGL: called sdl_init with flags = 0x100231
Home directory /home/user not ours.
X11: PID is 24250
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Requested GL minor version 0 (ignored)
PDL: Init: Service name is com.javispedro.preenv.nfsuc
PDL: Failed to initialize libosso
PDL: Init: Service name is com.javispedro.preenv.nfsuc
PDL: Failed to initialize libosso
PDL: Switch orientation to 3
PDL: Application handles pause events
PDL: Init: Service name is com.javispedro.preenv.nfsuc
PDL: Failed to initialize libosso
SDLGL: Called SetVideoMode(320, 480, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
CINEMA: Init; window xid is 0x340000c
ACCEL: Application will poll accelerometer by itself
SDLGL: called sdl_init with flags = 0x200
ACCEL: Opening accelerometer
ACCEL: Application will poll accelerometer by itself
Home directory /home/user not ours.
PDL: Init: Service name is com.javispedro.preenv.nfsuc
PDL: Failed to initialize libosso
SDLGL: Sending lose focus event
10982 - processSDLEvents::SDL_ACTIVEEVENT-gain:0
11002 - Card/Sleep.
SDLGL: Sending gain focus event
28351 - processSDLEvents::SDL_ACTIVEEVENT-gain:1
28351 - Uncard/Wakeup.
PDL: Init: Service name is com.javispedro.preenv.nfsuc
PDL: Failed to initialize libosso
SDLGL: Sending lose focus event
37021 - processSDLEvents::SDL_ACTIVEEVENT-gain:0
37021 - Card/Sleep.
CINEMA: DeInit
ACCEL: Closing accelerometer
SDLGL: Called SDL_Quit
SDLGL: Called SDL_Quit
Segmentation fault
/home/user/nfsuc #



But with xterm run as user and preenv, the CPU utilization is normal:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ preenv


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ cd /home/user/nfsuc/
~/nfsuc $ ./nfsuc
SDLGL: called sdl_init with flags = 0x100231
X11: PID is 24320
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Requested GL minor version 0 (ignored)
PDL: Init: Service name is com.javispedro.preenv.nfsuc
PDL: Screen dimming prevention ON
PDL: Set do_not_disturb flag to true
PDL: Switch orientation to 3
PDL: Application handles pause events
PDL: Music is playing
SDLGL: Called SetVideoMode(320, 480, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
CINEMA: Init; window xid is 0x320000c
ACCEL: Application will poll accelerometer by itself
SDLGL: called sdl_init with flags = 0x200
ACCEL: Opening accelerometer
ACCEL: Application will poll accelerometer by itself
PDL: Music is playing
SDLGL: Sending lose focus event
PDL: Readjusting dimming prevention timer
50796 - processSDLEvents::SDL_ACTIVEEVENT-gain:0
51142 - Card/Sleep.
CINEMA: DeInit
ACCEL: Closing accelerometer
SDLGL: Called SDL_Quit
~/nfsuc $



Greetings
Michael


All times are GMT. The time now is 05:55.

vBulletin® Version 3.8.8