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

No fullscreen in wine #5

Open
PhilPotter opened this issue Aug 5, 2013 · 4 comments
Open

No fullscreen in wine #5

PhilPotter opened this issue Aug 5, 2013 · 4 comments

Comments

@PhilPotter
Copy link

Hi Developers,

Just want to say, great work so far. One problem though - no windows in wine (i.e. Skyrim as an example) can go fullscreen for me with d3dadapter9.

I am running the patched wine and mesa trees, as well as the latest git kernel (as of this post) and all the various firmwares and other libs needed. My card is a Radeon HD 7850 and I'm using the radeonsi driver, with DPM switched on. I know this driver is experimental so fully expect issues, but wondered if anyone had any ideas? If it is down to radeonsi then I wouldn't be surprised but it would be nice to have some insight.

Windowed mode works, but is slower than I'd like due to the inability to unredirect it. When set to fullscreen, I just get a tiny window - which ironically means Skyrim actually runs at full speed. When switching off d3dadapter9 with regedit, fullscreen works ok - although Skyrim crashes before it gets to in-game with wined3d (not asking for help on this, I get the driver is incomplete).

Many thanks,
Phil Potter

@zhasha
Copy link
Collaborator

zhasha commented Aug 6, 2013

If you want to give fixing it a go, have a look in dlls/winex11.drv/d3dadapter.c. What we really need is to implement a Reset method (see msdn for IDirect3DDevice9::Reset) for ID3DPresent which does all the screen setup and sets the backbuffer size/format and so on which is currently (incompletely) done in DRI2Present_new.

@PhilPotter
Copy link
Author

Much as I'd love to, my C skillset isn't quite there yet - half way through K&R 2nd Edition though so never say never :-) Incidentally - that file doesn't seem to be present in dlls/winex11.drv.

@zhasha
Copy link
Collaborator

zhasha commented Aug 6, 2013

@PhilPotter
Copy link
Author

I was being an idiot and looking at the wrong branch - apologies :-D it has been a long week (already) :-)

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