LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ZSNES question (https://www.linuxquestions.org/questions/linux-software-2/zsnes-question-46214/)

DMBand8700 02-19-2003 05:31 PM

ZSNES question
 
Hi everyone, I have a question about ZSNES

I compiled it and everything works fine however it only fully runs while i'm in root. If i run it as user i receive:

ZSNES v1.36 (c) 1997-2002, ZSNES Team (zsKnight & _Demo_)

Be sure to check http://www.zsnes.com/ for the latest version.
Please report crashes to zsnes-devel@lists.sourceforge.net.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE' thoroughly before using it.

Use ZSNES -? for command line definitions.

MMX support found and enabled.

Could not set 512x448 video mode.



however if I run it as root things work perfectly. I was wondering if any of you knew I coult get that video set thing to work when i try to open it as a user. Any help would be greatly appreciated

Thanks,
DMBand8700

wapcaplet 02-19-2003 05:44 PM

This is just a very wild guess, since I haven't tried ZSnes for Linux yet (going to soon though :) ) - if it is running full-screen, then maybe it needs some kind of access permission to restricted memory (like to /dev/mem or something like that, which is why it'd work for root but not normal users).

Maybe if you run it windowed, rather than full-screen (so it doesn't actually have to change video mode), it would work? See if there's a command-line option or config setting to do windowed mode (just make it a really big window)

However, if you already are running in a window, then I am clueless...

DMBand8700 02-19-2003 05:56 PM

i am running fullscreen but i couldn't seem to find a switch to run windowed.

Thanks for your help though

wapcaplet 02-19-2003 06:10 PM

I don't know if this applies, but I found this snippet in one of the documents that came with the zsnes source:

When you run ZSNES, make sure to set the environment variable
MESA_GLX_FX to either w or f (window/full screen). E.g. use

export MESA_GLX_FX=f

if you use a bash shell. Theoretically using the w option
should work, but it not only is slow (5fps) but seems
broken. Voodoo Rush users might be able to get by.


All times are GMT -5. The time now is 08:18 AM.