English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 November 2016, 10:35   #1
Dr.Venom
Registered User
 
Join Date: Jul 2008
Location: Netherlands
Posts: 287
RawInput enumeration after "on the fly " screenswitch causing audio/video hickup

I'm running into an issue where the sound / video has a noticable glitch/hickup after a "on the fly" screenswitch (configured with displaydata).

Looking deeper into it, the cause seems to be a full rawinput device enumeration occuring after each screenswitch. So screenswitch finishes and a fraction of a second later full rawinput enumeration gets logged at the same time the audio/video hickup occurs.

I tried to create a "simple" testcase which you can replicate on LED display, using 1080p / 1080i on the fly switching, tested with both NVidia and iGPU.

Displaydata:
displaydata=50.000000,t=lof,pal,nlace,cmd=gfx_width_fullscreen=1920,gfx_height_fullscreen=1080,gfx_linemode=double,gfx_refreshrate=50,gfx_interlace=false,gfx_display=1
displaydata=25.000000,pal,lace,cmd=gfx_width_fullscreen=1920,gfx_height_fullscreen=1080,gfx_linemode=double2,gfx_refreshrate=25,gfx_interlace=true,gfx_display=1

I've been testing with the demo "Big Time Sensuality" from Axis, as it does a series of progressive/lace switchings during the beginning of the demo.

There's an interesting difference between using iGPU or NVidia, and additionally for iGPU a difference between version 3.0.0 and 3.1.0 onwards.

iGPU with WinUAE 3.4.0.b17
after -every- screenswitch a full rawinput enumeration occurs:

46-777 [101 000-000]: RawInput enumeration..
46-777 [101 000-000]: RAWINPUT: found 11 devices
[snip long list of devices..]


Nvidia with 3.4.0.b17
When using NVidia card both the audio/video hickup and the rawinput enumeration after a screenswitch do -not- occur.

iGPU with WinUAE v3.0.0 and 3.1.0 onwards
For the iGPU the issue does not occur in version 3.0.0. It starts occuring from 3.1.0 onwards.

Please see attached logs. Since this device enumeration on iGPU seems to be the cause for the audio video glitch/hickup after each switch, hopefully there a solution for it (or possibly the 3.0.0 behaviour re-enabled).
Attached Files
File Type: txt winuaelog_300_iGPU.txt (15.7 KB, 30 views)
File Type: txt winuaelog_310_iGPU.txt (49.4 KB, 57 views)
File Type: txt winuaelog_340b17_iGPU.txt (57.6 KB, 21 views)
File Type: txt winuaelog_340b17_NVidia.txt (18.8 KB, 60 views)

Last edited by Dr.Venom; 28 November 2016 at 10:47.
Dr.Venom is offline  
AdSense AdSense  
Old 29 November 2016, 15:37   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,561
I have noticed mysterious change events even when nothing seems to change, I guess Windows 10 (or updates) added more events or something.

Unfortunately handling them by type is much more complex, it may be bit too late to rewrite it for 3.4..
Toni Wilen is online now  
Old 29 November 2016, 16:48   #3
Dr.Venom
Registered User
 
Join Date: Jul 2008
Location: Netherlands
Posts: 287
Quote:
Originally Posted by Toni Wilen View Post
I have noticed mysterious change events even when nothing seems to change, I guess Windows 10 (or updates) added more events or something.
It does seem Windows 10 (and updates) has quite some changes going on under the hood. I guess the road to the Universal Windows Platform isn't without some bumps..

Slightly OT, but after running into the unfamous issue with forced vsync=on for the whole system, causing mysterious stutters in various games/apps, and the inability to turn vsync off even when the setting said "off", it has prompted me to force Windows 10 to not automatically install updates anymore*, such that I at least can keep a simple log and perform some checks that nothing is really broken after an update.

Quote:
Unfortunately handling them by type is much more complex, it may be bit too late to rewrite it for 3.4..
I guess the most important thing would be that there's at least a solution in the end, whether that be 3.4 or 3.5 would be of secondary importance. (But if you're on the fence about it, 3.4 has my vote )

In any case just let me know if/when I can do any testing..



* For anyone interested: http://www.windowscentral.com/how-sc...tes-windows-10
Dr.Venom is offline  
Old 29 November 2016, 19:13   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,561
Insider builds are more fun

Perhaps this is easier update than I thought, does winuae.7z stop detecting non-input related events? (and hopefully input change events still work..)
Toni Wilen is online now  
Old 29 November 2016, 19:49   #5
Dr.Venom
Registered User
 
Join Date: Jul 2008
Location: Netherlands
Posts: 287
Quote:
Originally Posted by Toni Wilen View Post
Insider builds are more fun

Perhaps this is easier update than I thought, does winuae.7z stop detecting non-input related events? (and hopefully input change events still work..)
Awesome, works like a charm now! Thx!
Dr.Venom is offline  
AdSense AdSense  
 


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 40 13 April 2017 05:06
Rare NewTek Video "Freedom"Now Available on Open Video Toaster.org Pyromania Amiga scene 6 11 September 2010 21:36
Introducing the new "Amiga Video Evolution" Video Adapter kjmann14 Hardware mods 7 10 July 2009 00:45
[Found: Resolution 101] "Scaled pixels" - "fly in a skyscraper city" Photon Looking for a game name ? 5 06 August 2007 15:26

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 11:29.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.12019 seconds with 12 queries