Hello, my name is Erik.
I have spent the last week in hairpulling frustration trying to get this to run.
I built my mame cabinett back in 2009 and it has been running DOS until now. 1 month
ago the motherboard and the ide hdd died and i decided to uppgrade. It ran hot and was using to much power any way.
So i bought a "sapphire pure white e-350" motherboard with an integrated amd e350 apu.
So now i need to switch to linux because this motherboard will not run Dos and i don't like the boot-time
and the look of running windows in the background.
First of i installed xubuntu minimal. Then i installed all the libraries for running advancemame (libsdl2-dev, alsa and so on) and
the drivers for the integrated Radeon HD 6310 graphics.
Then i compiled advancemame and advancemenu.
I have a 16/10 24" LCD monitor in my cabinet.
Then i try to run advancemame and start messing with the framebuffer and it just won't run. No screen, no device and
so on. Reading on the internet i find out two things. X seems easier and reliable and most of the advice available is useless
to me as i am running ubuntu 16.10 which uses systemd instead of init. So lots of tips are useless as the files these tips
refeer to don't even exists (example : no xorg.conf, no rc.local, no ....)
So i install "xserver-xorg-video-ati". I write a .xinitrc (just contains the word advmenu) file for the user (arcade) and run startx.
I get sound but i also get a black screen. I can hear when i switch games in advmenu but i see nothing.
So i install xfce, remove the .xinitrc and run startx. Success, i get a desktop. From there i find out that X thinks i have two screens
because the motherboard has VGA and DVI. It places the secondary screen of to the left of my monitor.
So i jump back into the TTY and rewrite the .xinitrc to this.
xrandr --output VGA-0 --off & advmenu
Then i run startx and presto i have advmenu on screen with sound. Buuuuut, the screen is set to the monitors max resolution of 1920x1200.
This runs way to slow on the integrated graphics and is pointless as there are no arcade games close to this resolution.
So i jump back out into the TTY and rewrite the .xinitrc to this
xrandr --output VGA-0 --off & xrandr --output DVI-0 --mode 640x480 & advmenu
The i run startx and JAY, advmenu is running at 640x480, fullscreen and works fine. So now i start a game, disaster.... The game starts
and runs fine but it is off center. And it is different from one game to the next. Som games just show the top left corner down in the
bottom right corner of the screen. Som prefer the other corner up to the left. I just get about a fourth of the games visuals on screen. On top
of that all input freezes up. The keyboard and arcade controlls stop working as soon as i start the game. The game runs halfway of screen
but does not respond to input. I have to jump to another TTY and kill the advmame process and when i return i am back in advmenu again with functional
inputs.
Sooo, what do i do now?
How do i get advancemame to run on the available 640x480 screen that i supplied? What makes it start halfway of screen when advmenu runs fine on
that same screen?
Do you need more info to help? Logs? Configs? Screenshots?
I have spent one week getting this far so please help me. I am going out of my mind. That it would be this hard to get a computer
to start at 640x480 and run things in that resolution? I have already compromised on running games in their intended resolutions and
i have also given upp all hope on having any crt effects. I just want the thing to run at 640x480. Stretch or shrink all games to that resolution and just work.
Thankful for ANY help that you can offer.