LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2003, 05:31 PM   #1
DMBand8700
LQ Newbie
 
Registered: Jan 2003
Distribution: Mandy 9.1, Slack 9.0
Posts: 16

Rep: Reputation: 0
Question 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
 
Old 02-19-2003, 05:44 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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...
 
Old 02-19-2003, 05:56 PM   #3
DMBand8700
LQ Newbie
 
Registered: Jan 2003
Distribution: Mandy 9.1, Slack 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
i am running fullscreen but i couldn't seem to find a switch to run windowed.

Thanks for your help though
 
Old 02-19-2003, 06:10 PM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Zsnes dudeman41465 Linux - Software 3 09-30-2005 02:13 AM
zsnes windowsrefugeeX Linux - Software 8 01-14-2005 12:37 AM
Zsnes and linux question c0rderr0y Slackware 0 03-01-2004 03:35 PM
Zsnes Ashandarel Linux - Software 4 04-27-2003 04:24 AM
ZSNES Help Scotty2435 Linux - General 18 09-28-2002 05:41 PM


All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration