Cxbx-Reloaded / game-compatibility

Cxbx-Reloaded game compatibilty list, using GitHub issues
GNU General Public License v2.0
115 stars 29 forks source link

Smashing Drive [NM-001] [1.02] #426

Open CakeLancelot opened 6 years ago

CakeLancelot commented 6 years ago

Description

This title works well on Nvidia GPUs. Some audio is cut off, for example the taxi revving in the game's intro, or the game's background music.

On AMD and Intel the however the rendering is flawed - during the menu the screen it is completely black, and in-game only a few elements are visible. You can see that the game is rendering the models in wireframe mode. See pictures for more info.

Also note that the rendering is different when using Wine D3D - graphics are then nearly equivalent to using a Nvidia card.

Dumps

Xbe.txt KrnlDebug.txt

Status

Previous behavior:

None reported

Current behavior:

Game renders almost perfectly on Nvidia GPUs, AMD/Intel have issues. Most sounds cut off too early.

Screenshots

Intel/AMD GPU: cxbx_2017-10-30_13-08-21 cxbx_2017-10-30_13-25-54 cxbx_2017-10-30_13-08-15 Video

Nvidia GPU: smashing2 smashing Video (Older Build)

AMD GPU using Wine D3D: cxbx_2017-10-30_13-24-29

Additional Information

Tested on version 153a6107 (Oct 29 2017)

blueshogun96 commented 6 years ago

While the above issue persists for me (Intel HD 4000), I'm experiencing some depth testing issues on NV. It's as if zbuffering is always disabled. No idea why.

cxbx 2017-11-22 13-40-18-74

This is coming from version adf9f4f (Nov 22, 2017)

Shogun

LukeUsher commented 6 years ago

Can you pin point when this regression started? Something similar seems to effect xdk samples now too

ObiKKa commented 6 years ago

New video from InsertMoreCoinsblog IMC: Cxbx Reloaded - WIP 02-12-2017 - Smashing Drive - Shortplay (Dec 6, 2017).

jarupxx commented 6 years ago

Regression due missing D3DDevice_SetRenderState_MultiSampleRenderTargetMode OOVPA.

In XDK 4242, The offset of XREF_D3DRS_MULTISAMPLERENDERTARGETMODE is not *-74**? https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/master/src/CxbxKrnl/HLEIntercept.cpp#L477

PatrickvL commented 6 years ago

The hardcoded XREF offsets used in HLEIntercept should be identical to the XREF offsets from the OOVPA's that are used...

Edit: Instead of using hardcoded offsets, we should use the actual XREF offsets from the OOVPA that are used...

jarupxx commented 6 years ago

It is not the best way, but I changed the XREF offsets. https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/pull/843 This will be detected again MultiSampleRenderTargetMode that 4531 and lower. So regression is fixed.

kennethedmonds commented 6 years ago

This game plays extremely well. I got through the first two courses without any issues. The music seems to be on an weird loop but still plays. Xbe.txt KrnlDebug.txt Smashing Drive-c7e62990.txt Smash video.zip

Tested with 735a4bcf (Feb 6 2018)

ObiKKa commented 6 years ago

Oh yeah, a brand new video from a different creator showing the game running properly on a recent CXBX-R build. But, wow, it is so nice to see the visual design of this game being flaunted at their best in this emulator (Barring some shadowing popup glitches)!

Shideravan commented 6 years ago

The game seens very playable with the CXBX-Reloaded (0d1c7c2a) https://youtu.be/o1csa9cr8eA

RadWolfie commented 6 years ago

Status

Previous behavior: Game renders almost perfectly on Nvidia GPUs, AMD/Intel have issues. Most sounds cut off too early.

Current behavior: Game renders almost perfectly on Nvidia GPUs, AMD/Intel have issues? (Don't have a computer with AMD card)

Additional Information

Intro's music is no longer cut off as of DSound-fixes-part1 PR https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/pull/990

gandalfthewhite19890404 commented 6 years ago

The game is not booting anymore, for a long time (at least - one week ago), need to find regressed build, I'll do it. Update 1: It wierd - i boot SD on ealier build 1af48f93, it boots and after i tried on newer (it doen't boot on this build today for example) - game boots. Something missing or corrupted in newer builds, ealier build creates it and it fixing issue. Also - trace build does not boot Smashing Drive even after try on ealier build, Release works. Update 2: I removed all files related to smashing drive and it does not boot...second run - works, After second boot - trace build, not works. After trace - release, also not works.After it - couple time -release, still not works. After it try old build (12 may 2018) - it boots. Need to wait until music play, then game boots even on current master-release build. Already found good commit, now finding bad. Update 3: Found - pull request(sure - merged, not just pull request) #1169 from PatrickvL/SetRenderTarget - f4d907fc.

Voxel9 commented 6 years ago

It's working fine for me in the latest build. Unmodified.

image

gandalfthewhite19890404 commented 6 years ago

Voxel9 - try trace builds, issue seems affected only them. Here is some debuglogs (tracebuild), made with AMD2830 and Geforce 220. On AMD - graphics is not rendered, NVIDIA - works as should. Maybe these logs helps to find out - why intel and nvidia are display gfx, amd(at leat old hd5000) - are not. debuglogs_AMD_SmashingDrive.zip debuglogs_NVIDIA_SmashingDrive.zip

Voxel9 commented 6 years ago

Even latest trace build is working for me, although it's extremely slow

image

Voxel9 commented 6 years ago

Oh, I see you're talking about AMD! Nevermind, sorry, I thought you were talking about it as a whole. ^^'

gandalfthewhite19890404 commented 6 years ago

Seems different behaviour of AMD and NVIDIA GPUs on CXBX-Reloaded causes missing D3D Capabilities. I take Smashing Drive, AMD5830 and GT220. On AMD games is renders nothing, sound is working good. AMD5830 has missing: D3DPMISCCAPS_CLIPTLVERTS (but Wined3d has it even on 5830) - confirmed by community, https://forum.beyond3d.com/threads/ati-missing-d3d-feature.7709/ D3DPTEXTURECAPS_ALPHAPALETTE (but Wined3d has it even on 5830) D3DFVFCAPS_DONOTSTRIPELEMENTS I also tried run it with WineD3D, still missing D3DFVFCAPS_DONOTSTRIPELEMENTS, but game is works as intended. So we have critical(At least for Smashing Drive, maybe other titles affected too) two caps, which missing in stock 5830 but exist on WineD3D 5830 - D3DPMISCCAPS_CLIPTLVERTS and D3DPTEXTURECAPS_ALPHAPALETTE. AMD5830.xlsx NVIDIA220.xlsx I am marked yellow caps which has one GPU but another does not have it.

gandalfthewhite19890404 commented 5 years ago

Here is recent logs, made with this settings (if it is wrong - what i should use): image SD_missing_graphics.zip

SonicAdventureX commented 4 years ago

So apparently without using an Nvidia or any iNTEL GPU's, My AMD/ATi Radeon HD 4200 can play Smashing Drive without usinng wireframe now. :D Dead Or Alive 3 is running really well for my Refurbished PC as well, since I got the latest one. :D

image

PipoCrazy commented 4 years ago

Version f1d09af (Jun 8 2020)

Working pretty good.

Audio doesn´t stutter anymore, however, I´m getting 4 FPS for some reason (AMD GPU maybe?)

The rest, works like a charm.

Xbe.txt KrnlDebug.txt Sin título