-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after 1.4.0.0 TS crash or frizing on mouse scroll #125
Comments
I've been trying to diagnose a lockup with CNC-DDraw (Wine CX 21 on OSX)... In my case with RA2/Yuri's Revenge, the screen freezes, but sound continues (hotkeys to select units still work, etc) and if I do a screenshot (ctrl+s), the PCX file shows what the game should be rendering, but the physical screen is stuck with an old rendered frame. Does that match what you are seeing also? I've been able to play a few minutes sometimes and up to a few hours other times,I wonder if my scrolling is what is triggering it. It doesn't happen without CNC-DDraw, but that is painfully slow to play with. I just tried a game with 1.3.9 and made it all the way through (I let it run for 6 hours and it was fine). I'm going to try going back up to 4.4.5.0 and circling the screen the way you describe to see if I can make the rendering freeze quickly. |
yes it does. In order to speed up the incident, I rotated the camera around the entire map (even if there is a black fog of war) using the mouse movement method (as shown in the picture). On average, within 60 seconds, I get stuck (sometimes it gets boring to rotate). I tried all new versions and determined that it started after version 1.4.1.0 (everything is fine on it). |
I didn't manage to reproduce this yet. So is 1.4.1.0 the last version that doesn't freeze or is it 1.4.0.0? What renderer are you using? Does it also happen with "singlecpu=true"? |
`; cnc-ddraw - https://github.com/CnCNet/cnc-ddraw - https://cncnet.org [ddraw] ; Stretch to custom resolution, 0 = defaults to the size game requests ; Override the width/height settings shown above and always stretch to fullscreen ; Run in windowed mode rather than going fullscreen ; Maintain aspect ratio ; Windowboxing / Integer Scaling ; Real rendering rate, -1 = screen rate, 0 = unlimited, n = cap ; Vertical synchronization, enable if you get tearing - (Requires 'renderer=auto/opengl/direct3d9') ; Automatic mouse sensitivity scaling ; Preliminary libretro shader support - (Requires 'renderer=opengl') https://github.com/libretro/glsl-shaders ; Window position, -32000 = center to screen ; Renderer, possible values: auto, opengl, gdi, direct3d9 (auto = try direct3d9/opengl, fallback = gdi) ; Developer mode (don't lock the cursor) ; Show window borders in windowed mode ; Save window position/size/state on game exit and restore it automatically on next game start ; Should the window be resizable by the user in windowed mode? ; Enable linear (D3DTEXF_LINEAR) upscaling filter for the direct3d9 renderer ; Enable upscale hack for high resolution patches (Supports C&C1, Red Alert 1 and KKND Xtreme) ; cnc-ddraw config program language, possible values: auto, english, chinese, german, spanish, russian, hungarian, french ; ### Compatibility settings ### ; Hide WM_ACTIVATEAPP and WM_NCACTIVATE messages to prevent problems on alt+tab ; Max game ticks per second, possible values: -1 = disabled, -2 = refresh rate, 0 = emulate 60hz vblank, 1-1000 = custom game speed ; Windows API Hooking, Possible values: 0 = disabled, 1 = IAT Hooking, 2 = Microsoft Detours, 3 = IAT+Detours Hooking (All Modules), 4 = IAT Hooking (All Modules) ; Force minimum FPS, possible values: 0 = disabled, -1 = use 'maxfps=' value, -2 = same as -1 but force full redraw, 1-1000 = custom FPS ; Disable fullscreen-exclusive mode for the direct3d9/opengl renderers ; Fixes issues where the pitch of a surface is not a multiple of 4 ; Force CPU0 affinity, avoids crashes/freezing, might have a performance impact ; Available resolutions, possible values: 0 = Small list, 1 = Very small list, 2 = Full list ; Child window handling, possible values: 0 = Disabled, 1 = Display top left, 2 = Display top left + repaint, 3 = Hide |
1.4.1.0 (include) and upper. Video recording on latest version. For record video iam enabling windowed mode |
in video you can notice fast scroll speed. If i install 1.4.0.0 the speed will be acceptable, much slower. no changes in the config help to fix it in new versions |
Looks like it's crashing, might be easier to debug with a log file: #44 Upload cnc-ddraw.log, cnc-ddraw.dmp and also except.txt if there is one. And about the scroll speed, for me there is a very noticeable difference between maxgameticks=500 and maxgameticks=0, so it seems to work fine |
The crash you have is a known TS crash, not related to cnc-ddraw. But maybe the chance for it to happen is higher if the scrollrate is too fast. The only question now is why maxgameticks isn't working for you but for me it is... Maybe it would be a good idea if you install the latest ts-patch, with this patch the scroll bug is fixed and you don't need to use maxgameticks: https://downloads.cncnet.org/TSpatch.exe |
I don't like unofficial patches. thanks, i'll stay on version 1.4.0.0. |
The bug was identified and fixed, here's the latest build: |
Long time not play, and update ddraw. After 1.4.0.0 Tiberian Sun crash or frizing on mouse scroll. To verify this, simply move mouse to corners of the monitor ~15-60sec. On version 1.4.1.0+.
I also noticed that now i cant fix scroll speed (too fast). On version 1.4.1.0+. On version 1.4.0.0 i have smooth and slow camera scroll speed (i use for this vsync=true maxgameticks=500 singlecpu=false)
while staying on 1.4.0.0.
The text was updated successfully, but these errors were encountered: