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

Freesync support #286

Closed
DestroyFX opened this issue Aug 15, 2017 · 8 comments
Closed

Freesync support #286

DestroyFX opened this issue Aug 15, 2017 · 8 comments

Comments

@DestroyFX
Copy link

Hi, I just configured freesync on my side with latest mesa git and kernel 4.12 with DC patch.

On OpenGL (wine) with freesync enabled : It work perfectly
On Nine (wine) with freesync enabled : It's like without any kind of vsync, 150fps+
On Nine (wine) with freesync disabled : The vsync go down to 30fps instead of 60fps (It does that since forever, it's not related to freesync/DC patchs)

@axeldavy
Copy link

I don't know how freesync is handled in the graphic stack, and I don't know how much we can make it work with the dx9 swapbuffer model.
You can make gallium nine behave more like opengl with:
tearfree_discard=true as env var (or drirc config)
If it doesn't behave well, thread_submit=true can help too.

If freesync is implemented such that the opengl swapbuffer way works as is without modifications, these could help.

@DestroyFX
Copy link
Author

@axeldavy I tested with both and each envvar and thread_submit=true seam to fix the problem.

@sarnex
Copy link
Member

sarnex commented Aug 15, 2017 via email

@DestroyFX
Copy link
Author

DestroyFX commented Aug 15, 2017

@sarnex
I used the last 4.12 with last DC in it I got there : https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-4.12

The rest of my gfx stack (libdrm, mesa, llvm, ddx) is 100% blñeeding edge, so it might need some other bit in the userspace that require like this week mesa or something, I don't know.

And it seam to work fine, it stay at 60fps then if it can't render that fast, it go down for example to 55fps, not 30. So I assume it's is working fine.

xrandr --prop
blabla
supported: off, on, auto
freesync_capable: 1
range: (0, 1)
freesync: 1
range: (0, 1)
underscan vborder: 0
blabla

@sarnex
Copy link
Member

sarnex commented Aug 15, 2017 via email

@mirh
Copy link

mirh commented Mar 20, 2018

Is there any improvement/difference now that DC is up and official?

@axeldavy
Copy link

My understanding is it should be working without changes

@axeldavy
Copy link

Moved here:
iXit/wine-nine-standalone#14

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

No branches or pull requests

5 participants