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
pcsx2 1.4.0 + gsdx-ogl + nvidia 260GTX: hardware mode unusable #1355
Comments
Error messages aren't important. GSdx will try to use GL4 feature if they available. Technically your GPU support it but your driver is limited on purpose (i.e. you will be able to use them with the Mesa's Nouveau driver). I'm surprised of the speed. Are you sure that your driver is correctly installed on 32 bits. Delete your GSdx.ini file. (depends on your installation, either in your home or in
|
Ah forgot to say, yes legacy is only for latest git. 1.4 will always work with openGL 3.3 |
Game ? And could you post your ini setting. A screnshot + gsdx.ini |
Maybe not the memory just saw the value... |
How do you get all those gpu information by the way? |
That's nvidia-settings, the proprietary configuration tool of the nvidia blob. GSdx.ini.txt <- to satisfy github |
Thanks for the tip, I never noticed the info. It could be useful for me to measure memory usage. Anyway, let's try to remove full depth emulation. And then go to the advance setting tab. Try to disable some extensions such as
|
I tried messing around with settings yesterday with several combinations, not even the slightest change in behavior. |
Overlooked the "advanced tab" part, will try it out when I get home |
Ok, messing with the advanced hacks doesn't fix anything. I tried
|
How do you start PCSX2? Depends on the script, it will potentially set Nvidia multithread optimization namely this variable |
Sadly no dice, ran it as |
Hum where did you get the plugin? Are you sure you don't run an unoptimized build. Besides broken driver I don't have more clue. You're the first one to report perf issue so it is likely on your side ;) |
I'm running the official package of archlinux, the plugin was bundled with it. The nvidia proprietary driver is said to have the best 3D performance on linux, so I'm rather confused why it seems e.g. intel cards perform better... As for the issue being on my side: likely. I'm a weird bug magnet. |
I can tell you that on my Nvidia. The driver is as fast as a rocket. I mean 0 optimization such as Reset all settings. And let's check on 3rd tab that debug options aren't enabled. Just click/unclick option so they will likely be register in the ini file properly. Then try both capture mode enabled/disable, there is potentially a bug on the button. Do you have any 32 bits application to test the driver speed? |
I'll try building it myself, the aur git package fails to compile for me at the moment though. I'm using the newest 340xx driver there is, Nvidia moved the 260gtx to legacy. You probably are using their current branch? Will try resetting everything. Can you recommend me any 32-bit applications to test with? |
glxgears, it might be enough. Yes I'm using the recent branch. Honestly I don't know, results are quite strange. |
I'm very certain that you're not using the correct driver at all. I'd suggest you install EDIT: I'm partly mistaken, the symlinks trace back to |
Actually what is your mesa version? |
Mesa version:
all lib32-nvidia I have:
glxgears:
glxgears32:
¯_(ツ)_/¯ |
If it matters, I'm running two monitors:
edit: resetting all settings (deleted ~/.config/PCSX2) does not do anything. Would running any of the debug options generate anything that could help you debug this? |
The output of glxinfo32 would far more useful than a vsync'd glxgears (any CPU can push 60+ frames). |
Sorry, I misread. However:
I know that for example warzone2100 runs fine as well as Diablo III (over WINE, however) - so either they are using different features or stuff is broken somewhere else. |
I've now built the current git snapshot with
Still the same behavior. Nice side-effect: software mode is buttery smooth now (edit: at least most of the time :x) |
Speed likely comes from avx. Please use std flags, the best will be to use the profiler target of cmake (I will come back to you with the good name). Then could you install (event) perf from the linux kernel. Hopefully a quick profilling will highlight the issue. |
I don't have avx, my CPU is an old-ish phenom II x4 970 :p The flags is what arch linux's makepkg system is using. Gcc now defaults to c++14 btw, so imagine those flags have that. I'll take a look at perf, do you have a link to a quick intro on how to use it? |
So speed boost is O3. I need to benchmark it properly one day. I will prefer if you use standard flags (at least for test purpose). For cmake
It is like a release build without a single optimization to allow profiling. From the top of my head
Note: don't recompile after the recording, so I can ask you further analysis of the perf report. |
Hmm, I'm getting
when running perf report. The result is still displayed, but without symbols, obviously... Current git snapshot, built by running
Should use standard flags, as they are only overwritten when using makepkg. |
Just to rule out some weird GUST game related behavior, I tested .hack//G.U. and Zone of the Enders - same abysmal performance. |
not important, only useful to recompiler code.
Anyway, the issue is your driver. All times is spend into it. So either your install is broken, either I use some extensions that work badly on your driver. Maybe your GPU remain in low power. Edit: by the way, maybe you can lsmod to check if drm or nouveau (free driver) is loaded. |
My GPU is always in the highest clock (only found it out by chance a while ago), so it's shouldn't be it. However:
Does that make sense? what is drm? |
https://en.wikipedia.org/wiki/Direct_Rendering_Manager Drm is normally the kernel part of the free driver. It smells fishy. Maybe the kept the same name, but I doubt it.
Here the result on my box. They change recently module name, but you got the idea.
|
I think the packaging is different on arch, the only |
Ok. All nvidia modules ought to be in /usr/lib/modules/extramodules-4.5-ARCH/ Anyway, I will close this issue as it is likely a driver issue. And I think it will be better to use nouveau so you can use latest openGL feature. |
Yes, and since it's the legacy branch, nvidia does not give a damn about it. The main reason I wasn't using nouveau was because it had very bad performance, where even mpv with opengl-hq wouldn't run smoothly. That changed since I last tried it, so I think I will stick with nouveau for now. |
It depends a lots of the low power feature. Mesa misses various cpu optimization and multi thread stuff. But there are mostly useful for the gl4.5 stuff which you don't have with Nvidia. However rendering quality is much better with Nouveau (due to the extra extensions). IMHO times to save money ;) |
Well, it still has enough power for my uses - just the bug with pcsx2 is annoying. Theoretically, I could buy a new one today, but I don't like throwing way working stuff. In any case, regarding
I brought it up with someone on the nouveau irc channel and they commented that GL_ARB_texture_barrier is not missing, but with the blob it's called NV_texture_barrier. Any chance to make it work by checking for the NV version instead? Would that solve my issue? |
On legacy branch. This feature is optional. It doesn't explain the speed impact. |
Running up-to-date arch linux x64, I currently have the issue that hardware mode only runs at 1fps, while software mode runs at 40-60 fps. No special settings (speed hacks and sound off), ar tonelico 2 US game. I'm using the nvidia 340xx blob, lib32-libgl is installed and zzogl doesn't complain about anything. Hardware openGL support is 3.3.0:
The pcsx2 log has the following:
GPU utilization in nvidia x server setting application drops to from 7% to 1% on the first animation (the checking memory card message box). Clocks are at max speed.
Any idea how to fix that? Or is the hardware mode so "useless" on older hardware?
I saw issue #1347 but the -DGSDX_LEGACY flag seems to be for git snapshots only.
The text was updated successfully, but these errors were encountered: