performance problems on linux

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
vr-hunter
New Member
Posts: 3
Joined: Wed Sep 29, 2004 11:42 am

performance problems on linux

Post by vr-hunter »

Hi there,

how can it be that turning on any of the "engines" (Like the 2x sai engine) in zsnes on linux (opengl 800x600) makes the games unplayably slow while on windows (dd 1280x1024) everything runs fine with all effects enabled? All other opengl applications run perfectly fine.

I'm using zsnes 1.36 on SuSE 9.1 (Linux vr-hunter 2.6.5-7.108-smp #1 SMP Wed Aug 25 13:34:40 UTC 2004 i686 i686 i386 GNU/Linux).
XFree: XFree86-4.x-
CPU: Intel 3.2Ghz Prescott HT
Memory: 1024 Mb DDR CL2 Dual Channel
Graphics: Radeon 9700 Pro

pjung@vr-hunter:~> fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9500 Pro Generic
OpenGL version string: 1.3 (X4.3.0-3.11.1)
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

I run zsnesl using hq2x *and* bilinear filter (openGL 1024*768) at 60/60 most of the time, some slowdowns at 55.

Try this: Config -> Options : Autoframeskip ON, Max frameskip 9
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
vr-hunter
New Member
Posts: 3
Joined: Wed Sep 29, 2004 11:42 am

Post by vr-hunter »

doesn't work for me :( I get full frames (60/60 or 50/50) without and about 25 with the regular 2xsai. bilinear filtering doesn't seem to have any effect. thanks anyway.
i'm running my X-Server at 24bpp... could that have anything to do with my problem??
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

That could be it.

2xSai and hq2x work best either in 16 or 32 bpp modes.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Misogynist
New Member
Posts: 9
Joined: Mon Sep 20, 2004 6:10 pm

Post by Misogynist »

grinvader wrote:2xSai and hq2x work best either in 16 or 32 bpp modes.
There is no "32bpp" mode in XFree86/X.org, since X without the Composite extension has no concept of alpha blending. 24-bit mode uses a 32-bit framebuffer for OpenGL (which SDL is using to provide scaling in ZSNES).

Back to the original poster, while I can't imagine the difference being quite so tangible with a 3.2 GHz CPU, are you running with a preemptible kernel? I've had all kinds of stuttering issues in ZSNES with it enabled.
vr-hunter
New Member
Posts: 3
Joined: Wed Sep 29, 2004 11:42 am

Post by vr-hunter »

nope... nothing worked...
any more ideas?
Post Reply