Can't set video mode?

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

Moderator: ZSNES Mods

Post Reply
Noether

Can't set video mode?

Post by Noether »

Output of "sudo zsnes "<romname>":

Code: Select all

ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.

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.TXT' thoroughly before doing so.

Use ZSNES -? for command line definitions.

Starting Mouse detection.
ManyMouse: 2 mice detected.
Using ManyMouse for:
Mouse 0: ImPS/2 Generic Wheel Mouse
Mouse 1: Macintosh mouse button emulation
File opened successfully !
Could not set 512x448 video mode: No available video device
How do I fix this? (Running on Ubuntu 9.04, installed from synaptic)

(Also, I don't have 2 mice, so I don't know what's going on there.)
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

It sounds like you're missing a lib or two or you need to close an app or two.

Edit:

Start here

http://www.google.com/search?hl=en&q=No ... oq=&aqi=g3

http://www.google.com/search?hl=en&q=No ... f&oq=&aqi=

It's not a ZSNES issue, but something you need to do on your end.

Your mice "issue" is probably that you are using a laptop or something where the touchpad mouse is detected as well.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Re: Can't set video mode?

Post by Nach »

Noether wrote:Output of "sudo zsnes "<romname>":

Code: Select all

ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.

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.TXT' thoroughly before doing so.

Use ZSNES -? for command line definitions.

Starting Mouse detection.
ManyMouse: 2 mice detected.
Using ManyMouse for:
Mouse 0: ImPS/2 Generic Wheel Mouse
Mouse 1: Macintosh mouse button emulation
File opened successfully !
Could not set 512x448 video mode: No available video device
How do I fix this? (Running on Ubuntu 9.04, installed from synaptic)

(Also, I don't have 2 mice, so I don't know what's going on there.)
Why are you using sudo?

I'm not even sure if root via sudo can access video cards.
You may have to run "xhost +" first.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Noether

Main problem solved

Post by Noether »

Okay, the main problem has been solved. I completely removed zsnes and libsdl, installed libsdl from source, and installed zsnes via synaptic. It appears to work fine.

Still getting the two-mouse thing; I'm not on a laptop. It doesn't appear to cause any problems, though; it's just weird.
odditude
Official tech support dood
Posts: 2118
Joined: Wed Jan 25, 2006 7:57 am

Re: Can't set video mode?

Post by odditude »

Noether wrote:

Code: Select all

Mouse 1: Macintosh mouse button emulation
mmm, that magic word "emulation"

you have a software mouse emulator installed, and it's behaving as designed.
Why yes, my shift key *IS* broken.
Post Reply