You are not logged in.

#201 2018-03-21 12:48:32

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: Terrible performance regression with Nvidia 390.25 driver

Did you perserve a backtrace of whatever crashed (X11 server or session)?
Random things crashing in relation to electron apps however sounds more like an OOM condition.

Offline

#202 2018-03-21 20:57:40

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: Terrible performance regression with Nvidia 390.25 driver

I just found this, and it doesn't fix the problems, but it reduces them.
compton needs to have vsync explicitely disabled otherwise it does it anyway.

vsync none

Like I say, it's not a complete cure, but it helps.

EDIT. I should mention, this is only for people using compton and ForceFullCompositionPipeline

Last edited by Roken (2018-03-21 21:01:34)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#203 2018-03-21 21:06:35

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: Terrible performance regression with Nvidia 390.25 driver

Did you compare the various __GL_YIELD methods (see /usr/share/doc/nvidia/README)?

Offline

#204 2018-03-24 09:41:35

l0k1verloren
Member
Registered: 2018-03-21
Posts: 2

Re: Terrible performance regression with Nvidia 390.25 driver

Hopefully this isn't too much of a necrobump, two weeks later, but the nvidia 390 drivers were causing me serious problems with random shutdown of the X server that had some loose connection to Electron apps. I have only been able to get it working properly by downgrading to 387. Not only that, it's not an isolated issue with just Linux. I fixed a gaming machine two days ago by downgrading to a pre-390 version, that was randomly shutting down the whole machine.

But now I am lost as to how I find the necessary accessory packages required to get Steam running.

Offline

#205 2018-03-24 14:12:24

mard
Member
Registered: 2016-04-03
Posts: 3

Re: Terrible performance regression with Nvidia 390.25 driver

l0k1verloren wrote:

But now I am lost as to how I find the necessary accessory packages required to get Steam running.

If you get stuck on "Pins up-to-date!" message when starting steam or steam-runtime, backup and try removing ~/.steam and ~/.local/share/Steam (except ~/.local/share/Steam/steamapps). But first, make sure nvidia-utils, nvidia-settings and lib32-nvidia-utils were all downgraded to 387.

By the way, I still have lots of problems with 390 driver on GTX 760. Very sluggish, also I get a black screen after starting XFCE session and I need to switch to TTY and back to X session again in order to see anything.

Last edited by mard (2018-03-24 14:43:40)

Offline

#206 2018-03-26 10:06:05

paraita
Member
Registered: 2018-03-26
Posts: 2

Re: Terrible performance regression with Nvidia 390.25 driver

I encountered that problem as well, on a dual screen setup since version 390. I've tried everything from page 1 to 8 without success. I've tried 390.42-5 this morning again but it's the same.
On my dual screen setup, I use the same models (some Dells 24"). Screen 1 has trouble waking out of sleep sometimes, and when it wakes up, bad resolution is detected (it maxes at 1600x900 intead of full HD). I believe this is because of some bad EDID information reported by the nvidia driver. I did try to override the EDID info but then my second screen goes batshit as well. Using one screen at a time seem to make the screens work properly (by switching one off, the other works properly).

Offline

#207 2018-03-26 15:46:19

Tom B
Member
Registered: 2014-01-15
Posts: 187
Website

Re: Terrible performance regression with Nvidia 390.25 driver

paraita wrote:

I encountered that problem as well, on a dual screen setup since version 390. I've tried everything from page 1 to 8 without success. I've tried 390.42-5 this morning again but it's the same.
On my dual screen setup, I use the same models (some Dells 24"). Screen 1 has trouble waking out of sleep sometimes, and when it wakes up, bad resolution is detected (it maxes at 1600x900 intead of full HD). I believe this is because of some bad EDID information reported by the nvidia driver. I did try to override the EDID info but then my second screen goes batshit as well. Using one screen at a time seem to make the screens work properly (by switching one off, the other works properly).

I've had a similar problem ever since I started using dual monitors a year or so ago. Sometimes one display will not wake from sleep after resuming the PC from suspend. It seems to be that the GPU detects connected displays before the on signal is correctly sent to the monitor. Switching to another TTY makes the monitor turn on then back to TTY1 and Xorg can see the display. Not ideal but it's better than going into display settings every single time. I'd prefer a more persistent fix but haven't found anything yet.

Offline

#208 2018-03-27 23:48:39

Batou
Member
Registered: 2017-01-03
Posts: 259

Re: Terrible performance regression with Nvidia 390.25 driver

Looks like there's some hope on the horizon!

https://bugs.chromium.org/p/chromium/is … ?id=817400


Please vote for all the AUR packages you're using. You can mass-vote for all of them by doing: "pacman -Qqm | xargs aurvote -v" (make sure to run "aurvote --configure"  first)

Offline

#209 2018-03-28 13:27:34

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Terrible performance regression with Nvidia 390.25 driver

Batou wrote:

Looks like there's some hope on the horizon!

https://bugs.chromium.org/p/chromium/is … ?id=817400

Huzzah!I was beginning to think I'd be stuck on an old driver and kernel forever...

Offline

#210 2018-03-28 14:21:44

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,394

Re: Terrible performance regression with Nvidia 390.25 driver

Yes, but it seems it is not just chrome/ium and his sandbox to expose 390.25 driver problems.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#211 2018-03-28 16:15:25

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: Terrible performance regression with Nvidia 390.25 driver

Aaron Plattner wrote:

From a quick test, it looks like in addition to /dev/nvidiactl, we also stat() /dev/nvidia[0-9]+, /dev/nvidia-modeset (for display-related stuff) and $HOME/.nv and its subdirectories for the shader cache. In some cases we apparently will also stat() /dev/zero, although it doesn't look like that should be needed for Chrome.

That's probably not an exhaustive list, so I'd recommend `strace`ing with the sandbox disabled to see what else the driver is trying to do.

Nvidia can not provide an exhaustive list for their own driver or document what additions have been made with the 390 series and want chromium developers to do the tracing for an issue with the nvidia driver.

@kokoko3k there is also https://devtalk.nvidia.com/default/topi … 4/#5245514

Offline

#212 2018-03-28 17:46:41

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Re: Terrible performance regression with Nvidia 390.25 driver

kokoko3k wrote:

Yes, but it seems it is not just chrome/ium and his sandbox to expose 390.25 driver problems.

It's definitely not just a Chrome/ium problem this issue is affecting Steam and various games as well.

Offline

#213 2018-03-29 02:07:23

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Re: Terrible performance regression with Nvidia 390.25 driver

The latest update (390.48) appears to have fixed the regression for me.

Offline

#214 2018-03-29 05:41:52

guihkx
Member
Registered: 2013-03-22
Posts: 34

Re: Terrible performance regression with Nvidia 390.25 driver

brenix wrote:

The latest update (390.48) appears to have fixed the regression for me.

Are you sure? It didn't for me. See if you can reproduce the slowdown as described in this post. I still can.

Offline

#215 2018-03-29 12:44:59

Pryka
Member
Registered: 2018-02-07
Posts: 85

Re: Terrible performance regression with Nvidia 390.25 driver

There have to be also upstream fix on the google-chrome side according to devtalk.nvidia, apparently they are working on it.

But there is still major fps drop on 3D games on .25 and .48. comparing to Windows. Which never occurred in the past.

Offline

#216 2018-03-29 15:27:50

paraita
Member
Registered: 2018-03-26
Posts: 2

Re: Terrible performance regression with Nvidia 390.25 driver

Tom B wrote:
paraita wrote:

I encountered that problem as well, on a dual screen setup since version 390. I've tried everything from page 1 to 8 without success. I've tried 390.42-5 this morning again but it's the same.
On my dual screen setup, I use the same models (some Dells 24"). Screen 1 has trouble waking out of sleep sometimes, and when it wakes up, bad resolution is detected (it maxes at 1600x900 intead of full HD). I believe this is because of some bad EDID information reported by the nvidia driver. I did try to override the EDID info but then my second screen goes batshit as well. Using one screen at a time seem to make the screens work properly (by switching one off, the other works properly).

I've had a similar problem ever since I started using dual monitors a year or so ago. Sometimes one display will not wake from sleep after resuming the PC from suspend. It seems to be that the GPU detects connected displays before the on signal is correctly sent to the monitor. Switching to another TTY makes the monitor turn on then back to TTY1 and Xorg can see the display. Not ideal but it's better than going into display settings every single time. I'd prefer a more persistent fix but haven't found anything yet.

I can totally relate ! Thanks for the TTY switching tips, it helps smile

Offline

#217 2018-03-30 14:11:05

Guiluge
Member
Registered: 2016-04-12
Posts: 9

Re: Terrible performance regression with Nvidia 390.25 driver

brenix wrote:

The latest update (390.48) appears to have fixed the regression for me.

Good for you, on my computer though, regression is still there...

Offline

#218 2018-03-31 08:16:15

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: Terrible performance regression with Nvidia 390.25 driver

Can those affected test if chromium 65.0.3325.181-5 which has a patch for the sandbox interaction with the nvidia driver resolves that issue?

Offline

#219 2018-03-31 11:36:33

cirrus9
Member
Registered: 2016-04-15
Posts: 49

Re: Terrible performance regression with Nvidia 390.25 driver

Are you sure? It didn't for me. See if you can reproduce the slowdown as described in this post. I still can.

Chromium 65.0.3325.181-5 has fixed this issue for me.

Offline

#220 2018-03-31 13:08:03

matte3560
Member
Registered: 2018-02-08
Posts: 5

Re: Terrible performance regression with Nvidia 390.25 driver

loqs wrote:

Can those affected test if chromium 65.0.3325.181-5 which has a patch for the sandbox interaction with the nvidia driver resolves that issue?

Seems to have fixed the issue for me.

Offline

#221 2018-04-02 14:54:29

guihkx
Member
Registered: 2013-03-22
Posts: 34

Re: Terrible performance regression with Nvidia 390.25 driver

loqs wrote:

Can those affected test if chromium 65.0.3325.181-5 which has a patch for the sandbox interaction with the nvidia driver resolves that issue?

The issue is gone for me as well.

Offline

#222 2018-04-03 18:30:42

ArchM
Member
Registered: 2018-02-09
Posts: 24

Re: Terrible performance regression with Nvidia 390.25 driver

loqs wrote:

Can those affected test if chromium 65.0.3325.181-5 which has a patch for the sandbox interaction with the nvidia driver resolves that issue?

I'm no longer experiencing the same ridiculous stuttering from just having one Youtube video open.  Redraw issues I saw are also fixed. System utilization seems higher but I might just be imagining it, I didn't do any comparison tests.

Thanks for sharing, I'm glad this is finally fixed. I'm a little concerned now about how little Nvidia did to comment on or resolve the issue and how long it took.

Offline

#223 2018-04-03 23:58:53

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: Terrible performance regression with Nvidia 390.25 driver

ArchM wrote:

I'm a little concerned now about how little Nvidia did to comment on or resolve the issue and how long it took.

You can already see the next issue if you try the linux 4.16 package from staging and nvidia 390.48-4 which will fail to load the module and work around that to find it exposes kernel memory to userspace.
https://bugs.archlinux.org/task/58074

Offline

#224 2018-04-04 04:56:22

Pryka
Member
Registered: 2018-02-07
Posts: 85

Re: Terrible performance regression with Nvidia 390.25 driver

The previous nvidia driver are almost never compatibility with a next major kernel release due to changes in it.

Offline

#225 2018-04-05 00:38:24

Batou
Member
Registered: 2017-01-03
Posts: 259

Re: Terrible performance regression with Nvidia 390.25 driver

I finally updated everything and everything seems to be working fine. Chromium is fast again.

loqs wrote:
ArchM wrote:

I'm a little concerned now about how little Nvidia did to comment on or resolve the issue and how long it took.

You can already see the next issue if you try the linux 4.16 package from staging and nvidia 390.48-4 which will fail to load the module and work around that to find it exposes kernel memory to userspace.
https://bugs.archlinux.org/task/58074

Ugh, even this Chromium perf fix was due to Chromium team. Nvidia made a lot of changes with their pipeline and notified no one and just pushed it onto everyone.
I hope Arch team doesn't just package Nvidia's stuff without doing lots of checks. You just can't trust them.


Please vote for all the AUR packages you're using. You can mass-vote for all of them by doing: "pacman -Qqm | xargs aurvote -v" (make sure to run "aurvote --configure"  first)

Offline

Board footer

Powered by FluxBB