Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: CRTEmudriver + Windows 10 - squeezed picture on first boot?  (Read 2284 times)

0 Members and 1 Guest are viewing this topic.

Dexje

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:March 14, 2018, 06:50:39 pm
  • I want to build my own arcade controls!
CRTEmudriver + Windows 10 - squeezed picture on first boot?
« on: February 14, 2018, 09:59:07 am »
Hi,
i´m running CRT Emudriver & CRT Tools 2.0 beta 12 on Windows 10 1709 with an AMD R5 230 flashed with ATOM15 to 31khz in an Naomi Universal cabinet (so a 31khz screen).
If i boot up the pc for the first time the image is vertically squeezed. If i reboot the pc everything is perfect.

How can i fix this?
I think i have read about this somewhere already .. but cant find it again  :(

Dexje

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:March 14, 2018, 06:50:39 pm
  • I want to build my own arcade controls!
Re: CRTEmudriver + Windows 10 - squeezed picture on first boot?
« Reply #1 on: February 18, 2018, 04:56:39 pm »
can nobody help?
this is what it looks like (in windows and mame - the bootsequence is fullscreen):

after one or two reboots everything inside windows is fullscreen aswell...
« Last Edit: February 22, 2018, 09:08:29 am by Dexje »

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: CRTEmudriver + Windows 10 - squeezed picture on first boot?
« Reply #2 on: February 18, 2018, 08:37:01 pm »
can nobody help?

We're thinking, we're thinking:)

Do you have other sources or monitors to test things with? If that's a 31kHz-capable screen for the Naomi, you could just plug it straight into an LCD...?

If i had to guess right now, it sounds more like it's going to be something to do with the dual- or tri-sync circuit on the chassis. Like, you're booting into a super resolution and the high pixel clock at 15kHz is pushing the vertical deflection a 31kHz size range. I'd google for that and see what comes up. Or maybe post in the monitor and video subforum on here if you can't dig anything else up. This is just a guess though.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: CRTEmudriver + Windows 10 - squeezed picture on first boot?
« Reply #3 on: February 19, 2018, 05:14:24 pm »
Hi Dexje,

The issue you're seeing is due to the video card not being properly reset on wake-up. When you shut Windows 10 (and 8, 8.1), it actually goes to sleep instead of really turning off as it did in Windows 7. This makes the subsequent boot process faster, but probably drivers are loaded directly on ram from a disk image, bypassing their startup sequence.

CRT Emudriver relies on a hook in its startup sequence to clear some stuff that ATOM-15 turns on during boot in order to output interlaced modes properly. When this is bypassed, you get that issue. If you restart your system manually, Windows goes through the full boot process instead, which leads to proper driver initialization.

A possible fix is to force Windows 10 to always shut the system completely instead of going to sleep. I don't know if this is possible these days, probably it is.

Another fix, even if it's an ugly one, is to force a reset of the video card device on Windows startup. Check this post.

Finally, you may get rid of the issue by avoiding the use of interlaced modes on boot. Since you have a 31 kHz monitor, the interlace mode you must be seeing is 1024x768i for the Windows logo. Try to change the Windows startup options to use "base video" (640x480) instead. This will disable the fancy logo and set a Vista-like one. I don't now if this is even possible on 10, it was on 7.


« Last Edit: February 19, 2018, 05:15:57 pm by Calamity »
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: CRTEmudriver + Windows 10 - squeezed picture on first boot?
« Reply #4 on: February 19, 2018, 06:19:50 pm »
Interesting, i didn't know any of that.

About shutting down, it seems you can disable fast boot for windows. Power Options > Choose What The Power Buttons Do (on the left side menu) > Change Settings That Are Currently Unavailable > uncheck fast boot. I wonder if this will fix it. It's supposed to turn off loading the state windows was in, preventing the hibernation-like shutdown.
« Last Edit: February 19, 2018, 08:03:54 pm by buttersoft »

Dexje

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:March 14, 2018, 06:50:39 pm
  • I want to build my own arcade controls!
Re: CRTEmudriver + Windows 10 - squeezed picture on first boot?
« Reply #5 on: February 22, 2018, 09:07:57 am »
@buttersoft: your setting worked!  ;D

@calamity: the devutil64 reset did nothing in my case, but buttersofts suggestion worked. thank you for all the work you do! :applaud:

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: CRTEmudriver + Windows 10 - squeezed picture on first boot?
« Reply #6 on: February 22, 2018, 05:29:30 pm »
Hah, Calamity deserves the credit. All i did was hit up google after he nailed down the problem :)