mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
397 stars 115 forks source link

Full screen doesn't work in Ubuntu 14.04 #38

Closed ulihox closed 10 years ago

ulihox commented 10 years ago

The frontend doesn't work in full screen mode in Ubuntu 14.04 (it doesn't hide unity bar).

mickelson commented 10 years ago

I don't have 14.04 but on earlier versions setting the unity bar/launcher to "auto hide" would allow the frontend to take up the whole screen.

Does turning on"auto hide" fix this for you??

ulihox commented 10 years ago

The "auto hide" option doesn't hide the top bar, where you can see the clock and other applets. The unity bar is hidden with that fix, but the top bar is always visible with the frontend.

mickelson commented 10 years ago

https://github.com/mickelson/attract/commit/fe5167b86331900a3994f6d6800b6ab568c1fbda

i've added an option to set attractmode to run in fullscreen mode with the commit linked above. This should help with this issue, although I haven't had a chance yet to test it myself on ubuntu 14.04

ulihox commented 10 years ago

When "window_mode" is fullscreen the frontend expands to fill the entire screen but it also hide the emulators when you run a game (so the frontend is allways on top of the screen). It doesn't happen when "window_mode" is default or window, but then the frontend doesn't fill the entire screen (always in Ubuntu 14.04).

CliveJW commented 10 years ago

On a fresh 12.04 install and a fresh build I have the same issue with fullscreen mode. I launch a game but the frontend seems to sit on top of the mame launch. If I ctrl+alt+f2 and ps aux | grep attract and kill that process ID of attract then move back to the window manager, the game then starts up. I have no alt tab functionality when this happens either.

Additionally: I am running onboard gfx. Intel HD Graphics 4000 chipset.

mickelson commented 10 years ago

ok fullscreen blocking the emulators on Linux should be fixed now. Unfortunately there is a bit of a flash of the desktop whenever an emulator is run or returns...

ulihox commented 10 years ago

Fullscreen mode now works like a charm in Ubuntu 14.04. I have tested it with retroarch and I haven't experienced any flash. I use the NVIDIA driver. Thanks.