The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Problem on Linux: Couldn't set 1920x1200x32 video mode: No v
Ryan C. Gordon
Guest

Quote:
So I am the first to try SDL on 1920x1200 with this over 1 year old
computer...

Almost certainly with fbcon. Most people use the X11 driver (which _can_
do 1920x1200).

Quote:
Adds what? Will there be a patch?

Beats me, I'm not sure what the numbers that need to be filled in mean.
I'll add it to the TODO list if no one else wants to look at this.

--ryan.
Problem on Linux: Couldn't set 1920x1200x32 video mode: No v
Sam Lantinga
Guest

Quote:
Quote:
So I am the first to try SDL on 1920x1200 with this over 1 year old
computer...

Quote:
Almost certainly with fbcon. Most people use the X11 driver (which _can_
do 1920x1200).

Quote:
Quote:
Adds what? Will there be a patch?

Quote:
Beats me, I'm not sure what the numbers that need to be filled in mean.
I'll add it to the TODO list if no one else wants to look at this.

Remind me, I've got a Radeon 9200, and I can see if I can set that video
mode. I've not tried setting up the framebuffer driver on this system yet.
(I don't know if my monitor can support that res though...)

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
Problem on Linux: Couldn't set 1920x1200x32 video mode: No v
Sam Lantinga
Guest

I added support for parsing /etc/fb.modes to CVS, based on Stephane Marchesin's
old patch (thanks! :)

Please try it out, and let me know if there are any problems!
http://www.libsdl.org/cvs/SDL-1.2.tar.gz

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
Problem on Linux: Couldn't set 1920x1200x32 video mode: No v
Sam Lantinga
Guest

Quote:
I have a small test program using SDL. It works in X11 on Linux. I run
xorg in 1920x1200, which is the resolution of my display. I can run the
test program in a window or fullscreen at 1920x1200. When I switch to a
virtual terminal (Ctrl+Alt+F3) and try to run my test program I get this
error:
Couldn't set 1920x1200x32 video mode: No video mode large enough for
1920x1200

By the way, if you want to just get it working without waiting for the
next SDL library release, you can set the SDL_FB_BROKEN_MODES environment
variable to 1, and it'll pretend that the current framebuffer console mode
is the only one available.

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment