-
Notifications
You must be signed in to change notification settings - Fork 23
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
Videos in Serious Sam 2 aren't rendered correctly #39
Comments
Would it be possible to get a short trace of the issue with |
Here it is: |
Thanks, I'll investigate |
Given the same issue happens with wined3d in the trace, I guess it is something with texture pitch or similar. Having the same trace with wine would be helpful. |
There is a demo of this: |
I guess this just works if somebody tries to play this on pre HD AMD card... i mean on r300 gallium driver, as there such conversion is not needed... well, i am not sure if nine even works on r300 in the first place. 🤣 |
DXVK also play this correctly, likely do conversion there too... 🤣 |
"Given the same issue happens with wined3d in the trace, I guess it is something with texture pitch or similar. Having the same trace with wine would be helpful." |
He, he, seems Windows trace no one could replay as it picks D3DFMT_YUY2. 🤣 https://drive.google.com/file/d/1jcoTlhZDzAcBS0hWjZCXYRSXbIgdS3vY/view?usp=sharing |
The formats can be emulated so I should be able to replay both traces. |
If I emulate YUV2 I can run both traces fine. Unfortunately it is a bit more complicated than that. On both windows and wined3d they advertise suppose for the format as surface but not texture. Probably for a good reason. Nine makes no difference between the two in terms of advertised format. I'll have to take a look. |
He, he, i hexed GfxD3D.dll and replaced all occurrences of YUY2 with RGBG or GRGB. 🤣 |
I mean that was an brute force attack, just to show a difference 🤣 NINE seems opposite of WIND3D there, just a guess.... should formats ever turn into doubles, probably no? |
"Meanwhile, NINE is not doubled on these, just on YUY2." |
On Windows, it scales and renders correctly there no matter what i hexed there on formats, unlike on Linux where seems NONE do that. |
Adds alternative format to store YUV textures/surfaces. These will be converted on upload to the alternative format. Fixes: iXit/wine-nine-standalone#39 Signed-off-by: Axel Davy <davyaxel0@gmail.com>
There is this corruption (doubled and wrong colors):
![Screenshot_20190527_133941](https://user-images.githubusercontent.com/13510490/58418741-e6f16c80-8088-11e9-9507-8f6010534ce8.png)
They look correct with wined3d.
The text was updated successfully, but these errors were encountered: