09 December 2009, 09:17 | #1 |
Banned
|
Better Pause feature
Hi,
I noticed it was a bit difficult to pause correctly emulation via WinUAE without hitting F12. Most notably, the game / Workbench screen would be minimized after the first clicks on the other monitor desktop (I use dual display). After that, it is necessary to double click on the taskbar button a couple of times to maximize the screen again (or even alt+tab + taskbar button double click). Just pausing emulation doesn't ensure reduced CPU usage to the extend one notice after hitting F12, and the emulation screen is even less "sticky". My priority settings : Above normal / normal, no sound / below normal, no sound, pause Always on top : unticked |
09 December 2009, 11:39 | #2 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
You tried pressing Pause/Break on your keyboard?
|
09 December 2009, 11:42 | #3 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,613
|
You can also assign any key or button to 'Pause emulation' in the input panel.
|
09 December 2009, 11:49 | #4 |
Banned
|
Thanks, I have read previous threads about the pause feature.
Main problem is that the Workbench window gets minimized behind my back if I don't also bring up the GUI, so I should need to first maximise it before being able to enter emulation again. And may be you haven't noticed, CPU usage is quite different between plain pause, and pause + F12 (which seems to consist in a more "powerful" pause option) |
09 December 2009, 11:58 | #5 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,613
|
What do you mean by 'pause + F12'? Also 'plain pause' sets the CPU usage to 0 (both in WinUAE and in Windows taskmanager) here.
|
09 December 2009, 12:11 | #6 |
Banned
|
About CPU usage : You're right, it works as intended "today" ! It still puzzles me that everything's back to normal when you're about to report a WinUAE issue .
let's focus on the unattended minimizing, in native mode, then (Could be easier to spot in a Dual Display setup). Last edited by NewDeli; 27 May 2010 at 08:33. |
09 December 2009, 12:16 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
|
DirectX fullscreen modes always minimize when focus is lost. There is no way to change this.
Use fullwindow mode if you don't need vsync. btw, there is also "pause when minimized" option. |
09 December 2009, 12:20 | #8 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,613
|
So, windowed mode and then you change to the second monitor (any software included?). By doing that WinUAE gets minimized and won't come up again with a single click. Is that the problem? Not sure how to reproduce that on a single display setup at all.
|
09 December 2009, 12:44 | #9 |
Banned
|
To recap :
It's in native mode, full-screen, vSync enabled (but I suppose it's the same without vSync). Game screen always minimize when focus is lost, as put it Toni. WinUAE won't come up again with a single click, after that . I need to use workarounds, like clicking in the systray icon to bring up the GUI first, only then WinUAE can regain focus. @TCD Changing to the TFT is just a matter of alt+tabbing, software behind that is Catalyst/Powerstrip, a Dual Display setup I have already described, AFAIR. |
09 December 2009, 12:58 | #10 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,613
|
I was asking about the setup, because I thought it was a windowed mode you used (you didn't mention fullscreen before).
Never had a problem with that (also tested VSync to see if that causes a problem). Are you sure there is no other software messing up the Windows Z-order? |
09 December 2009, 13:26 | #11 |
Banned
|
Except that WinUAE is not set on the main display, there is nothing worth mentioning. Well, I didn't halt background activity, like Winamp and such, but it shouldn't come in the way.
Anyway, it's more annoying to have a paused game screen minimized (I mentioned F12, because that happens also with the GUI being displayed) than to have to restore full-screen with a couple of clicks or keypresses. Hopefully, this doesn't happen in RTG mode. Last edited by NewDeli; 09 December 2009 at 13:33. |
09 December 2009, 14:29 | #12 |
Banned
|
What about :
If fullscreen screen losing focus could be prevented from being minimized with the GUI activated (i understand it's not possible simply with emulation paused), that would be great. |
09 December 2009, 14:35 | #13 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,613
|
|
09 December 2009, 15:02 | #14 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
|
09 December 2009, 19:05 | #15 |
Banned
|
It seems to me that when a game is minimized as described above, chances to get it in its previous state after switching off the GUI are increased if the game was previously paused.
In other words : I noticed the probability that emulation fails increases if F12 is used to pause the game. Pause then F12 -> "safer pausing" or so it seems. ( "fail" in pausing / unpausing scenarios is not easy to quantize, as you can imagine. ) Last edited by NewDeli; 09 December 2009 at 19:28. |
09 December 2009, 20:48 | #16 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,518
|
I am confused what exactly is wrong..
|
09 December 2009, 21:01 | #17 |
Wipe-Out Enthusiast
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
|
|
09 December 2009, 21:24 | #18 |
Banned
|
I'll try again (if it still doesn't fit, never mind, by all means DON'T get confused because of me, you should know words based on "confusion" count triple in EAB Scrabble, in my case )
Main request : I'd like fullscreen screen losing focus to be prevented from being minimized, with the GUI activated. Subsidiary request : Optional Linking of the Pause and Show GUI functions, so that I (we) could maximize a running game more easily if I (we) forgot to pause it before that. When I hit F12 again (after having "paused" a game with the "Show GUI" function), the maximizing gets tedious because the game is actually running, while WinUAE is still minimized in the taskbar. An illustration : let's say I need to switch screen, I hit F12, game screen gets minimized as soon as it looses focus. Then my attemps to maximize it again (using "show GUI" from the systray) sometimes fail, I suspect because the game is fully running. So, I can hear the music but WinUAE would be stuck onto the taskbar, despite clicking on it or alt+tabbing. Last edited by NewDeli; 09 December 2009 at 23:15. |
09 December 2009, 21:32 | #19 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,613
|
What about setting 'When Inactive' to 'Pause emulation' then? Toni has already answered your main request btw.
|
09 December 2009, 21:51 | #20 |
Registered User
Join Date: Sep 2008
Location: Sesimbra/Portugal
Posts: 1,462
|
I've tried that in my dual display, game running full screen in 2nd display, hit f12, automatically pauses, gui appears in 2nd display, move mouse to 1st display, click on desktop of 1st display, winuae minimizes to taskbar, one (1) click in winuae icon on taskbar, winuae returns to fullscreen with gui, press ok in gui, games unpauses and continues.
I surely do not see what's wrong. Using Windows 7 x64. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pause when focus is lost | john4p | request.UAE Wishlist | 0 | 25 July 2012 15:09 |
Pause when minimised | mark_k | support.WinUAE | 3 | 18 February 2012 13:17 |
Strange pause issues under certain circumstances | Bloodwych | support.WinUAE | 3 | 21 December 2009 11:25 |
Emulation Pause feature | BippyM | request.UAE Wishlist | 13 | 20 May 2004 00:44 |
|
|