you can try forcing a resolution from database:config.db->table:options->column:resolution
0,0 will allow pygame to auto set the resolution, or you can force it by setting those values. You can also try changing your native resolution altering /boot/config.txt
sorry, im a newbee - how can i find this out ? i just burned the image to an sd card and started it, wifi setup and mame installer - no more actions done...
ok, after playing around in the /boot/config.txt the problem is solved.
but can you tell me how to edit the database ? if i take a look into it with nano i dont see the column resolution value. do i have to take another program to open the database ?
you can edit the databases via the web front-end. just go to a computer that is on the same network as your pi, and type in the ip address of your pi. Otherwise, you can use ftp to copy the database files over to a windows computer and use sqliteviewer to edit them.
Can you describe how you fixed this issue? I am also getting this error after a "basic setup"...
Here is what I've done so far... (I am using a Raspberry Pi 2...) - Downloaded 0.8 (Beta 8) - Formatted SD Card and burned IMG file to SD Card - Started up RPi2, exited PiPlay, and started raspi-config - Disabled Overscan and set Internationalization options (time zone and locale) - Started up PiPlay and set Wifi options - Logged in RPi2 via FTP and uploaded a SNES rom - Tried to start SNES emulator and got the error message (Invalid Resolution for Surface)
@jmiller121: my problem was that I connected the pi (b+) via hdmi 2 dvi adapter. at startup it was unable to set a proper resolution. i tested some properties in /boot/config.txt e.g. hdmi_mode - but nothing changed. setting framebuffer_width=800 and framebuffer_height=600 worked for me. but the best thing was to connect the pi via hdmi to a "real" hdmi device.