Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571132 - x11-drivers/nvidia-drivers-361.16 version bump
Summary: x11-drivers/nvidia-drivers-361.16 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-06 22:55 UTC by cfrye
Modified: 2016-01-12 08:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
my nvidia-drivers 361.16 ebuild patch from 358.16-r1 (nvidia-drivers-361.16-ebuild.patch,2.15 KB, patch)
2016-01-08 23:46 UTC, ewomer
Details | Diff
nvidia-drivers-361.16-ebuild-2.patch (nvidia-drivers-361.16-ebuild-2.patch,2.54 KB, patch)
2016-01-10 19:14 UTC, ewomer
Details | Diff
Ebuild patch for qtgui.5.5.1 to install user patches(epatch_user) (qtgui.5.5.1.ebuild.patch,318 bytes, patch)
2016-01-10 19:18 UTC, ewomer
Details | Diff
QtGui patch to fix sddm krunner and etc... from crashing with nvidia 361.16 drivers (glxgetdisplay_passnull.patch,2.31 KB, patch)
2016-01-10 19:21 UTC, ewomer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cfrye 2016-01-06 22:55:50 UTC
The new nvidia-drivers 361.16 fixes a segfault bug that occurred in all 358.xx releases.

Release notes:
http://www.nvidia.com/download/driverResults.aspx/97303/en-us

Reproducible: Always
Comment 1 ewomer 2016-01-07 17:15:01 UTC
From the release highlights,

The OpenGL Vendor-Neutral Driver (GLVND) infrastructure is now included and supported by the NVIDIA GLX and OpenGL drivers.  This should not cause any visible changes in behavior for end users, but some internal driver component libraries have been renamed and/or moved as a result. These changes may affect scripts that rely on the presence of NVIDIA OpenGL driver components other than those specified in the Linux OpenGL ABI version 1.0, maintainers of alternative NVIDIA driver installation packages, and applications which rely on the presence of any non- OpenGL/GLX symbols in the libGL.so.1 library and its dependencies in any way.

Please see:
https://github.com/NVIDIA/libglvnd

For more information on the GLVND project.

The Linux OpenGL ABI version 1.0 specification is available at:
https://www.opengl.org/registry/ABI

source http://www.geforce.com/drivers/results/97303

So its probably going to take a bit to get this one rolled out.
Comment 3 cfrye 2016-01-08 22:34:55 UTC
(In reply to salamanderrake from comment #2)
> Seems this driver breaks several KDE/Plasma apps
> https://devtalk.nvidia.com/default/topic/908506/linux/several-essential-kde-
> applications-sddm-krunner-plasmashell-segfault-on-startup-with-361-16/

Yeah, 358.xx breaks several apps too unfortunately (steam, many games, etc). For non KDE5 users it's probably a more stable beta driver.
Comment 4 ewomer 2016-01-08 23:12:46 UTC
(In reply to cfrye from comment #3)
> (In reply to salamanderrake from comment #2)
> > Seems this driver breaks several KDE/Plasma apps
> > https://devtalk.nvidia.com/default/topic/908506/linux/several-essential-kde-
> > applications-sddm-krunner-plasmashell-segfault-on-startup-with-361-16/
> 
> Yeah, 358.xx breaks several apps too unfortunately (steam, many games, etc).
> For non KDE5 users it's probably a more stable beta driver.

It also breaks GTK+3/GDK(?)/pixbuf, I couln't even run nvidia-settings, xfce4.12 seemed to run ok though. It may only take a system rebuild to get this working, I am not sure as I didn't quite try that yet.
Comment 5 ewomer 2016-01-08 23:44:17 UTC
(In reply to salamanderrake from comment #4)
> (In reply to cfrye from comment #3)
> > (In reply to salamanderrake from comment #2)
> > > Seems this driver breaks several KDE/Plasma apps
> > > https://devtalk.nvidia.com/default/topic/908506/linux/several-essential-kde-
> > > applications-sddm-krunner-plasmashell-segfault-on-startup-with-361-16/
> > 
> > Yeah, 358.xx breaks several apps too unfortunately (steam, many games, etc).
> > For non KDE5 users it's probably a more stable beta driver.
> 
> It also breaks GTK+3/GDK(?)/pixbuf, I couln't even run nvidia-settings,
> xfce4.12 seemed to run ok though. It may only take a system rebuild to get
> this working, I am not sure as I didn't quite try that yet.

There may be more libs with issues, I haven't tested all of them, and my ebuild may or may not be broken. I will put the diff here.

gdk-pixbuf -> https://bpaste.net/show/e8d8cdaf8180

gtk+:3 -> https://bpaste.net/show/676fcc566fe8

pango -> https://bpaste.net/show/c3c3d4b5d669
Comment 6 ewomer 2016-01-08 23:46:59 UTC
Created attachment 422342 [details, diff]
my nvidia-drivers 361.16 ebuild patch from 358.16-r1
Comment 7 ewomer 2016-01-09 00:50:27 UTC
Seems there is already a fix upstream with their glnvd

https://devtalk.nvidia.com/default/topic/908506/linux/several-essential-kde-applications-sddm-krunner-plasmashell-segfault-on-startup-with-361-16/post/4776281/#4776281

and they will put the fix in the next 361.* driver release, I don't know what we will do in the meantime though.
Comment 8 ewomer 2016-01-10 19:14:46 UTC
Created attachment 422506 [details, diff]
nvidia-drivers-361.16-ebuild-2.patch

This is a working ebuild patch that replaces the previous patch, I believe I worked out all the kinks.
Comment 9 ewomer 2016-01-10 19:16:51 UTC
(In reply to salamanderrake from comment #8)
> Created attachment 422506 [details, diff] [details, diff]
> working nvidia-drivers-361.16.ebuid patch
> 
> This is a working ebuild patch that replaces the previous patch, I believe I
> worked out all the kinks.

Will need to patch dev-qt/qtgui-5.5.1 and the ebuild for epatch_user
Comment 10 ewomer 2016-01-10 19:18:32 UTC
Created attachment 422508 [details, diff]
Ebuild patch for qtgui.5.5.1 to install user patches(epatch_user)
Comment 11 ewomer 2016-01-10 19:21:18 UTC
Created attachment 422510 [details, diff]
QtGui patch to fix sddm krunner and etc... from crashing with nvidia 361.16 drivers

This commit https://codereview.qt-project.org/#/c/145406/ to fix qt apps from crashing when using the nvidia 361.16 drivers. You can read the conversation here, https://devtalk.nvidia.com/default/topic/908506/linux/several-essential-kde-applications-sddm-krunner-plasmashell-segfault-on-startup-with-361-16/1
Comment 12 ewomer 2016-01-10 20:26:50 UTC
(In reply to salamanderrake from comment #8)
> Created attachment 422506 [details, diff] [details, diff]
> working nvidia-drivers-361.16.ebuid patch
> 
> This is a working ebuild patch that replaces the previous patch, I believe I
> worked out all the kinks.

On a side note there are a couple of things here to take note on, http://us.download.nvidia.com/XFree86/Linux-x86_64/361.16/README/installedcomponents.html

some tests need to be added for those particular versions of X and install the correct files. libwfb.so and nvidia-drm-outputclass.conf.
Comment 13 ewomer 2016-01-10 20:44:09 UTC
(In reply to salamanderrake from comment #12)
> (In reply to salamanderrake from comment #8)
> > Created attachment 422506 [details, diff] [details, diff] [details, diff]
> > working nvidia-drivers-361.16.ebuid patch
> > 
> > This is a working ebuild patch that replaces the previous patch, I believe I
> > worked out all the kinks.
> 
> On a side note there are a couple of things here to take note on,
> http://us.download.nvidia.com/XFree86/Linux-x86_64/361.16/README/
> installedcomponents.html
> 
> some tests need to be added for those particular versions of X and install
> the correct files. libwfb.so and nvidia-drm-outputclass.conf.

seems there is already a section for # Xorg nvidia.conf
Comment 14 ewomer 2016-01-10 20:44:34 UTC
(In reply to salamanderrake from comment #13)
> (In reply to salamanderrake from comment #12)
> > (In reply to salamanderrake from comment #8)
> > > Created attachment 422506 [details, diff] [details, diff] [details, diff] [details, diff]
> > > working nvidia-drivers-361.16.ebuid patch
> > > 
> > > This is a working ebuild patch that replaces the previous patch, I believe I
> > > worked out all the kinks.
> > 
> > On a side note there are a couple of things here to take note on,
> > http://us.download.nvidia.com/XFree86/Linux-x86_64/361.16/README/
> > installedcomponents.html
> > 
> > some tests need to be added for those particular versions of X and install
> > the correct files. libwfb.so and nvidia-drm-outputclass.conf.
> 
> seems there is already a section for # Xorg nvidia.conf

Sorry I mean nvidia-drm-outputclass.conf
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2016-01-10 21:08:38 UTC
It's in the tree and it's a beta. I don't get what the Qt patches are doing here.
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2016-01-10 21:10:13 UTC
Comment on attachment 422510 [details, diff]
QtGui patch to fix sddm krunner and etc... from crashing with nvidia 361.16 drivers

Please file a new bug and assign it to the Qt team.
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2016-01-10 21:10:46 UTC
Thanks for the report!