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

Show Gallium Nine status #3

Closed
2 tasks done
rea987 opened this issue Dec 25, 2018 · 3 comments
Closed
2 tasks done

Show Gallium Nine status #3

rea987 opened this issue Dec 25, 2018 · 3 comments

Comments

@rea987
Copy link

rea987 commented Dec 25, 2018

Feature Request

Show Gallium Nine status

I confirm:

  • that I haven't found another request for this feature.
  • that I have checked whether there are updates for my system available that
    contain this feature already.

Description

A terminal output or log to show whether Gallium Nine is/was active or not

Justification [optional]

It is unclear if current build of Proton with Gallium Nine patches use native Direct3D or not

Information

As some games show Steam Overlay and some don't, I suspect that the games that do show Steam Overlay fails to utilize Gallium Nine. After all, native Steam client isn't supposed to use Direct3D 9 natively. As wine-d3d9-staging does show Native Direct3D 9 status, same would be beneficial for this project.

screen

https://wiki.ixit.cz/d3d9

References [optional]

#2 (comment)
#2 (comment)

@rea987 rea987 changed the title Show if Gallium Nine status Show Gallium Nine status Dec 25, 2018
@andy-d1969
Copy link

You can create a file ~/.steam/compatibilitytools.d/Proton_3.16-5_Gallium_Nine_Extras_0.1.1/user_settings.py with the following content:
user_settings = {
"WINEDEBUG": "+d3d9,+d3dadapter9"
}

Then add PROTON_LOG=1 to the launch options of the game. This will dump a log file to your home directory containing Native Direct3D 9 is active. if gallium nine works.
If you want to see the performance you can add GALLIUM_HUD=simple,fps to the launch options.

@rea987
Copy link
Author

rea987 commented Dec 25, 2018

#3 (comment)

Thanks @andy-d1969, that worked! As a side note, I confirm that Steam Overlay doesn't work when Gallium Nine is active. So, if you see Steam Overlay functioning properly, then Gallium Nine certainly doesn't. As I am unsure if Steam Overlay issue is fixable, I can take it as an unintended workaround for Gallium Nine status.

@rea987 rea987 closed this as completed Dec 25, 2018
@popsUlfr
Copy link
Owner

For the steam overlay to work, gallium nine would need to be wrapped in an opengl context. I don't know if it is possible but in theory one would need to intercept the d3d9 Present call and send the backbuffer to the opengl swapchain call. This is sure to cost some performance 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

3 participants