1.51 can't set video mode 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
wasiliy
New Member
Posts: 4
Joined: Thu Aug 30, 2007 11:44 pm

1.51 can't set video mode on Linux.

Post by wasiliy »

Hi,

this problem seems to affect a lot of people and all distributions. When I search for

Code: Select all

zsnes Could not set 512x448 video mode: No available video device
on Google I find several topics on Linux forums where people have the same problem, and can't set any video mode and no one has a solution to it.

Well, I also couldn't get any video mode to work. 1.42 works perfectly, so you might want to check the changes and track the bug down.

1.51 also couldn't find any pointer device until I gave it root privileges.
Last edited by wasiliy on Fri Aug 31, 2007 2:30 pm, edited 1 time in total.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

http://www.libsdl.org/faq.php?action=li ... egory=3#25

This is a problem of SDL and X, not ZSNES. It helps to google for this info since the answer is right there in front of you.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
wasiliy
New Member
Posts: 4
Joined: Thu Aug 30, 2007 11:44 pm

Post by wasiliy »

This didn't help and I didn't build SDL from source. And why should it work anyway, since everything else that's using SDL works?
tvtoon
Rookie
Posts: 18
Joined: Sun Dec 26, 2004 8:15 pm
Location: Brasil

Post by tvtoon »

Really really, you people must learn to post details...

Likewise, which distro?
Are you running from X?
Which card do you use?
Using the official driver from NVidia or ATI?
Did you try to set another resolutions in the command line or config file?

Awaiting answers :) !
[url=http://s131.photobucket.com/albums/p308/tvtoon/Avatares/th_tvlogo.png]GO LOGO, GO![/url]
<Renze> "IRC, where men are men, women are men, and 14 year old girls are FBI agents"
wasiliy
New Member
Posts: 4
Joined: Thu Aug 30, 2007 11:44 pm

Post by wasiliy »

Likewise, which distro?
Ubuntu 7.04... as if you couldn't have guessed =p
Are you running from X?
Umm, what do you mean? Well, I'm inside a window manager, yes. Tried on KDE and GNOME.
Which card do you use?
Ati Mobility Radeon x700
Using the official driver from NVidia or ATI?
I'm using fglrx (this is my suspect)
Did you try to set another resolutions in the command line or config file?
Yes, I've tried every single mode.

Thank you.

P.S.: Still it's weird that 1.42 has no such problems.
tvtoon
Rookie
Posts: 18
Joined: Sun Dec 26, 2004 8:15 pm
Location: Brasil

Post by tvtoon »

You also mentioned about using root to find the pointer device, so I must assume two things, after reading everything...

First and ever, you must be lacking some privilegies for users in your device file system, if you are using udev, try some of its graphical tools to help you set the correct privilegies for users (recommended "chmod 666 && chown root:root", if you are not paranoic).

Second, you are using ATi under GNU / Linux... I never had an ATi but experience, from a thousand of people, tells me it is a PRETTY BAD IDEA to use it under such system!
If you don't need, try almost never using GLX extensions, almost never using the the official driver (it just sucks as the one from X, so don't bother), and NEVER using DRI.
You can set those under "xorg.conf"...

If you have a spare, and ( don't want to / can't change ) system, consider buying a Nvidia, as it will perform better for the time being...
[url=http://s131.photobucket.com/albums/p308/tvtoon/Avatares/th_tvlogo.png]GO LOGO, GO![/url]
<Renze> "IRC, where men are men, women are men, and 14 year old girls are FBI agents"
wasiliy
New Member
Posts: 4
Joined: Thu Aug 30, 2007 11:44 pm

Post by wasiliy »

Hi,

finally got it to work. Downloaded it from here:
http://www.getdeb.net/release.php?id=804

About ATI: yea, when I was buying my notebook (I needed something mobile at that time), I was standing in the store and was fighting with myself. On the one hand it had to be a Fujitsu Siemens because they have the best service and what not, but on the other hand every Fujitsu Siemens has an ATI in it. I still decided to buy one =) Usually I also go for nvidia.

I guess I didn't compile it correctly. Maybe my SDL is too old (1.2.11). 1.2.12 seems to be newest.
Post Reply