Skip to content
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

Rendering area is always 640x480 on Wine #1

Open
zerkerX opened this issue Nov 14, 2021 · 6 comments
Open

Rendering area is always 640x480 on Wine #1

zerkerX opened this issue Nov 14, 2021 · 6 comments

Comments

@zerkerX
Copy link

zerkerX commented Nov 14, 2021

Hello. First I have to say: this is great! Thanks for doing this.

Now, as you gathered from the subject, I am running in a somewhat non-standard configuration, but Linux and Wine usually have very good Vulkan support, so I'm confused as to what is happening here. Probably some ambiguous part of the standard where one implementation does one thing, and another does something else :)

When I start the game, I see a 640x480 rendering area in the upper-left of the screen, which renders the top-left of the game view.

Screenshot_20211114_113725

If I use setres 640x480, then I can see the full view area.

Screenshot_20211114_113655

I can also set the Vulkan renderer as the windowed renderer, which provides me with a sizable window, but again only renders 640x480 pixels. The rest is filled with noise.

Screenshot_20211114_114453

If there is any information I can gather for you that will help, please let me know. I have tested with both Wine 5.0.3 and Wine 6.0. Mesa drivers are version 21.2.5 with Kernel 5.14. Some other general system info is in the screenshot if relevant.

@dpjudas
Copy link
Owner

dpjudas commented Nov 14, 2021

Are you using UT patch 436 or 469 for this? And also, does the OpenGL driver do the same?

@zerkerX
Copy link
Author

zerkerX commented Nov 14, 2021

  1. And the OpenGL driver works flawlessly (144 Hz even). I guess I can try the 469 patch.

@dpjudas
Copy link
Owner

dpjudas commented Nov 14, 2021

Hmm, I'm not sure what is causing it. The resizing works fine on Windows and there is no 640x480 hardcoding in the vulkan driver itself. Hopefully 469 will fix it. :)

@zerkerX
Copy link
Author

zerkerX commented Nov 14, 2021

Unfortunately, 469 behaves the same.

@zerkerX
Copy link
Author

zerkerX commented Nov 14, 2021

That said, having found 469, I realize that gets the Linux-native version of UT functional again (436 Linux segfaults nowadays). So I probably won't be running UT in Wine going forward 😀.

I guess this is probably an irrelevant bug unless you or someone else starts building this driver on Linux and it behaves the same with the native version of the game.

@dpjudas
Copy link
Owner

dpjudas commented Nov 14, 2021

Yes, was about to ask you why you weren't using the native version. :) Tbh I would rather try to compile the driver for Linux than fix the wine issue. The OpenGL driver that comes with 469 should probably be just fine though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants