SDL Failing to Set Video Mode

This particular forum is archives, bug reports should be made at https://github.com/visualboyadvance-m/v ... e-m/issues


Post Reply
Firejew
Junior Member
Posts: 1
Joined: Mon Jul 30, 2012 3:48 am

SDL Failing to Set Video Mode

Post by Firejew »

Hello VBA-M forums, unfortunately my first post is one asking for help.

 

I am running Crunchbang Linux 10 (Statler) - Kernel Version 2.6.32-5-686.

 

I had previously installed VBA-M and used it to play Pokemon Red and Blue with no errors, executing VBA-M as myself. There was the occasional ALSA sound mixer error, but that was from a lack of CPU ability. (Pentium-M at 1.5GHz doesn't have much fun doing anything)

 

Today, I cannot use the emulator at all.

 

When run as myself, I get this:

Code: Select all

 VBA-M version 1.8.0-SVN [sDL]
Searching for file VisualBoyAdvance.cfg
Searching current directory: /home/batman
Searching home directory: /home/batman/.vbam
Searching system config directory: /etc
Reading configuration file.
Failed to init SDL: Unable to open a console terminal

 

When I run as root, I get this:

Code: Select all

VBA-M version 1.8.0-SVN [sDL]
Searching for file VisualBoyAdvance.cfg
Searching current directory: /home/batman
Searching home directory: /root/.vbam
Searching system config directory: /etc
Reading configuration file.
Failed to set video mode

Along with a screen flicker to black for a quarter of a second.

 

I have tried re-installing the SDL packages, I have tried re-installing VBA-M. There are no video modes in the VisualBoyAdvance.cfg that fix the black flicker.

 

I am using a second monitor and the Radeon driver for the ATI 7500 inside of my Thinkpad T40.

 

My SDL package is: libsdl1.2debian

Installed Version: 1.2.14-6.1

I also have libsdl-console version 1.3-5, libsdl-image1.2 version 1.2.10-2+b2 and libsdl1.2debian-alsa version 1.2.14-6.1 installed.

 

My VBA-M version is: 0.svn451-1

 

Anything else that I need to add? If so, please assume I don't know how to find it. I am relatively new to Linux.

 

Thanks in advance!

 

[EDIT]: Reinstalling SDL with Synaptic gave the same errors.

Installing SDL1.2.15 from source also resulted in the same errors.

This seems to be an SDL specific issue, as the GTK version of VBA-M worked, but with the incorrect speed settings and no way of fixing it without using the broken throttle.

 

Wat do?

Last edited by Firejew on Tue Jul 31, 2012 6:41 pm, edited 1 time in total.
Post Reply