BobMuk
Group: Members
Posts: 2
Joined: Feb. 2007 |
|
Posted: Feb. 14 2007,12:04 |
|
Hi thehatsrule Thanks for the input! I did a bit of playing around and reached the same conclusion.
So... I added xfree86 to the mydsl directory and played about with the config file /etc/X11/XF86Config-4. First problem was that on reboot it complained it couldn't find the XF86Config file... I eventually had to unzip and mount the minirt24 image and add the file there; I guess there's a timing issue with file restoration and Xfree86 starting (this is on a stock DSL install so it can't be a problem I've caused!).
I'm doing my testing on my Thinkpad T42 laptop and wouldn't you know it, an example config file for my hardware (mobility radeon 9600) gets put in /home/dsl when xfree86.dsl gets installed. Great! So I switched to that instead of my home-made file.
Looking at xmame's fullscreen options it seems we need DGA enabled. Never heard of DGA before but looking at the XF86Config files it gets disabled by default. A quick commenting-out and it's enabled (again, had to mount the minirt24 image and put it in there... getting to be a pain!!)
So is everything working? I booted into a fairly high res, started xmame (outrun, my game of choice!), hit left-alt & home... and it went fullscreen! OK, *kinda* fullscreen. It didn't scale up to full size but did scale up somewhat (it was bigger than the window it had started in). Playing with xmame's scale options I then got it to fullscreen (I can't remember the exact args but will post full details when I'm booted into DSL tonight)
As I said I've been doing my testing on my Thinkpad, the main machine I want to run this on is a Via Epia M10000 board (my MythTV frontend box) so my next to-do is get together a config file for it (already found but not tested one after googling).
My ultimate aim is to have a usb-key that can run xmame in fullscreen on any box so I'm going to do some digging around xfree86's documentation and see if I can come up with a general purpose config file that'll give 800x600 on any box and allow fullscreen. (Infact for those who care... my final goal is all of the above, plus a bunch of scripts to wget the ROM files from my webserver so I can use a small 128MB key anywhere and still have access to the complete ROM archive over the network, caching the most recent ROMs on the key. May sound complicated but should actually be quite easy!)
Anyway once I've got it all up and running I'll post full how-to details to this thread.
|