English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 14 September 2017, 13:06   #1
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
"Klick" Problem since 3.5.0 / fine in 3.4.0

I have a very strange problem since Version 3.5.0:

When I start Ambermoon in 3.5.0 from hdd (on a hdf) via double klick on its icon, the loading screen with the fairy shows up very briefly.

It is stopped as if the left mousebutton had been pressed and the main menu appears.
If i move up the mousepointer the menu item "Quit" is selected an the program exits although i don't klick any button.

If I exchange the 3.5.0 exe with 3.4.0 everything gets back to normal.

HELP!

Last edited by bladecgn; 18 September 2017 at 05:56.
bladecgn is offline  
Old 14 September 2017, 13:28   #2
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Additional:

When I am in 3.5.0 on the Ambermoons main menu screen and i remove the mouse dongle and reinsert it again everything is fine, i.e. when i move the mousebutton up to the "quit" menu entry it does not get selected automatically.
bladecgn is offline  
Old 14 September 2017, 15:37   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Not enough information. 1) HD based = too many unknown variables. Must be tested without startup-sequence. 2) Config is also missing.
Toni Wilen is online now  
Old 15 September 2017, 09:36   #4
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Found out it has to do with "resolution autoswitch":
If enabled the above described problem occurs,
if not everything is fine.

After the resolution switches via autoswitch from superhires to lores WinUAE 3.5.0 thinks the left mousebutton is held.

Included is the config.
Attached Files
File Type: uae - Amiga HDF - 3.9 MagicWB PFS.UAE (15.2 KB, 50 views)

Last edited by bladecgn; 17 September 2017 at 14:01.
bladecgn is offline  
Old 16 September 2017, 11:43   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Strange.. Could you check 3.5 betas and find out the update the causes this side-effect? (http://eab.abime.net/showthread.php?t=85939 links should work)
Toni Wilen is online now  
Old 17 September 2017, 13:46   #6
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Sure!

I checked the 3.5.0. (= 3.4.1) betas:

Beta 1: Still working fine
Beta 2 onwards: Not working any more
bladecgn is offline  
Old 17 September 2017, 14:56   #7
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,335
I guess the problematic change was this:
- Clear button state mask when mouse capture state changes. If mouse or joystick button was kept pressed when mouse was uncaptured, button was kept pressed when capture state was restored even if real button was already released.

This issue is easy to reproduce. Set resolution autoswitch to always on. Boot to high res laced Workbench. Run Imploder which opens its own high res non-laced screen. Click and drag Imploder title bar down and up so display mode changes when the (interlaced) WB is visible behind it.

After you release the mouse button, it stays stuck in the down position so you can drag the screen up & down without holding any button. The mouse capture state isn't actually changing, but releasing/acquiring the D3D surface seems to make WinUAE think it is?

The same thing happens in full-screen mode. There, apart from the mouse-stuck issue, the screen blanks for about a second each time the resolution changes. Maybe that's unavoidable. Full-window mode doesn't have that blanking.

By the way, would it be possible to minimise freeing/reallocating when new size = old size? In the log output it looks like the draw temp buffer is being freed and reallocated with the same size on each mode change.

At PAL high-res laced WB, run Imploder:
PAL mode V=49.9204Hz H=15625.0881Hz (227x312+1) IDX=10 (PAL) D=0 RTG=0/0
RES -> 1 (1) LINE -> 0 (0) (0 - 0, 2 - 1)
window already open (1831x565 1536x1152)
Allocated draw temp buffer (1600*1280*32) = 1781F020
Device name: 'AMD FirePro W5100' 16001300a10a01.0
D3D9Ex: 00000056 00020000 E0020000 000003A0 ALPHA DYNAMIC SCANLINE
D3D9Ex: PS=3.0 VS=3.0 1536*1152*0p VS=0 B=0I 32-bit 0 (16384x16384)
Using non-shader version
D3D9Ex: 1504*1152 main texture, depth 32
Buffer size (1504*1152) Native
PAL mode V=49.9204Hz H=15625.0881Hz (227x312+1) IDX=10 (PAL) D=0 RTG=0/0
D3D9Ex: 752*287 main texture, depth 32
Buffer size (752*287) Native
RTGFREQ: 312*49.9204 = 15575.1668 / 49.9 = 312
POS (0 0 1536 1152) - (-392 -432 376 144)[768,576] (384 288)


Drag Imploder screen down to reveal WB behind:
PAL mode lace V=50.0003Hz H=15625.0881Hz (227x312+1) IDX=10 (PAL) D=0 RTG=0/0
RES -> 1 (1) LINE -> 1 (1) (0 - 0, 2 - 1)
window already open (1831x565 1536x1152)
Allocated draw temp buffer (1600*1280*32) = 1781F020
Device name: 'AMD FirePro W5100' 16001300a10a01.0
D3D9Ex: 00000056 00020000 E0020000 000003A0 ALPHA DYNAMIC SCANLINE
D3D9Ex: PS=3.0 VS=3.0 1536*1152*0p VS=0 B=0I 32-bit 0 (16384x16384)
Using non-shader version
D3D9Ex: 1504*1152 main texture, depth 32
Buffer size (1504*1152) Native
PAL mode lace V=50.0003Hz H=15625.0881Hz (227x312+0) IDX=10 (PAL) D=0 RTG=0/0
D3D9Ex: 752*574 main texture, depth 32
Buffer size (752*574) Native
RTGFREQ: 312*50.0003 = 15600.0869 / 50.0 = 312
POS (0 0 1536 1152) - (-392 -289 376 287)[768,576] (384 288)
mark_k is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" DemosongIHunter request.Music 45 23 May 2022 20:07
"Screech!! v2.41" & "Screech!! [AGA] v2.51" - "HD install" --> "ADFs" DamienD request.Old Rare Games 45 15 June 2020 12:42
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" rockape News 4 30 January 2013 00:06
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" cfTrio support.WinUAE 8 18 December 2012 16:31
Problems with "Thespywholovedme", "Flood", "Shinobi" sareks support.Games 12 03 May 2006 14:52

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:06.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13513 seconds with 14 queries