Coder Social home page Coder Social logo

Comments (15)

WuShichao avatar WuShichao commented on August 21, 2024

Same with me, AMD HD8670M, DRI_PRIME=1, same poor performance as not enabled, and no error.

from wine-nine-standalone.

axeldavy avatar axeldavy commented on August 21, 2024

The first check is to verify Gallium Nine is used.
If the game is launched in a terminal it should show in green:

Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9

wine ninewinecfg shows checks to see if everything can be loaded properly.

@andysendo It is difficult to pinpoint what could be your issue, but it's likely to be a nouveau issue. Lack of reclocking maybe ?
@WuShichao Are you sure gallium nine was activated ? Look at the checkbox in wine ninewinecfg

from wine-nine-standalone.

WuShichao avatar WuShichao commented on August 21, 2024

@axeldavy I'm sure gallium nine was activated.

from wine-nine-standalone.

andysendo avatar andysendo commented on August 21, 2024

yes nine dll loaded.
is there any way to configure or trace nouveau module or nine?
which dx9 game can tell nine could make performance much better than without it?

from wine-nine-standalone.

axeldavy avatar axeldavy commented on August 21, 2024

@WuShichao With which game do you observe bad performance ?

@andysendo It depends. On my amd hd580 unigine heaven is 104.3fps on gallium nine and 78.2fps on wine, but would that be the same ratio on your card ? The gap between Gallium nine and wine used to be a lot greater years ago, but the opengl driver improved a lot since.

To both: You can find bottlenecks with GALLIUM_HUD=fps,cpu0+cpu1+cpu2+cpu3,GPU-load
(Assuming 4 core cpu. I don't know if GPU-load works on nouveau). If GPU load is close to 100% it means you are GPU limited. If one core is at 100%, it is cpu limited. If none are at 100%, there is an inefficiency in the driver or it is CPU<->GPU bandwidth limited.

from wine-nine-standalone.

axeldavy avatar axeldavy commented on August 21, 2024

@andysendo traces can be made with apitrace:
https://github.com/iXit/wine-nine-standalone/wiki/apitrace
But these are usually not useful to find perf issues. It's more useful to debug visual issues.
Your perf gap 13fps -> 50fps is too big to be an inefficieny in gallium nine. The most likely explanation is a reclocking issue.

from wine-nine-standalone.

andysendo avatar andysendo commented on August 21, 2024

i5-4300m running the game cpu load > 230 by top command.
---> reclocking issue.
so nouveau is bad for old k1100m, nine cant deal with it.

from wine-nine-standalone.

WuShichao avatar WuShichao commented on August 21, 2024

@axeldavy All the games, same as nine turned off. But I remember it was fast enough when I run Windows 7 five years ago.

from wine-nine-standalone.

WuShichao avatar WuShichao commented on August 21, 2024

@axeldavy Should I set DRI3?

from wine-nine-standalone.

dhewg avatar dhewg commented on August 21, 2024

It still sounds like gallium nine is not active for you guys. Can you please paste the output when launching some game?

from wine-nine-standalone.

iiv3 avatar iiv3 commented on August 21, 2024

Just a bit of info, k1100m seems to be a Kepler card and Nouveau lists it in NVE0 , the "power management" lists Engine recolocking and Memory reclocking as "Work in Progress". So... it may be nouveau bug, but it might be easier to fix (compared to same problem with newer cards that are not supported at all).

At least on radeon the gpu clocks could be checked in debugfs , e.g. cat /sys/kernel/debug/dri/0/*_pm_info. See if you have these with nouveau and if they change under load.

Also, make sure you do have firmware and kernel modules loaded without errors. (e.g. dmesg)

Try few more applications. HalfLife2 Lost Coast should be free tech demo, Unigine has a number of benchmarks. Check if OpenGL games also have problems. e.g. "Xonotic" is free and native Quake3-like game you can try.
Actually can we see the output of glxinfo -B for the nvidia card?

from wine-nine-standalone.

Saroufim avatar Saroufim commented on August 21, 2024

I'm having the same problem with nouveau. Here's the output of glxinfo -B:

glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: nouveau (0x10de)
    Device: NVC1 (0xf02)
    Version: 19.2.0
    Accelerated: yes
    Video memory: 4090MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.3
    Max compat profile version: 4.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: nouveau
OpenGL renderer string: NVC1
OpenGL core profile version string: 4.3 (Core Profile) Mesa 19.2.0-rc1
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.3 (Compatibility Profile) Mesa 19.2.0-rc1
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.2.0-rc1

from wine-nine-standalone.

Venemo avatar Venemo commented on August 21, 2024

@Saroufim Which hardware do you experience that problem on?

from wine-nine-standalone.

Saroufim avatar Saroufim commented on August 21, 2024

Nvidia GeForce GT 730 detected by nouveau as NVIDIA GF108 (0c1100a1)

from wine-nine-standalone.

dhewg avatar dhewg commented on August 21, 2024

To summarize:
Different nvidia cards in use here, all using nouveau and the issue is most likely clocking issues
k1100m reclocking is 'WIP', 7200gt 'MOSTLY', whatever that means.
I don't see anything that we can fix, neither here, mesa or kernel.
It's nvidia that intentionally blocking the clocking issue

from wine-nine-standalone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.