Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572730 - >x11-drivers/nvidia-drivers-304 should depend on <x11-base/xorg-server-1.18.99
Summary: >x11-drivers/nvidia-drivers-304 should depend on <x11-base/xorg-server-1.18.99
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
: 572774 572798 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-23 21:49 UTC by Martijn Schmidt
Modified: 2016-01-29 06:27 UTC (History)
13 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martijn Schmidt 2016-01-23 21:49:59 UTC
As per the following release notes URL from NVIDIA their proprietary Linux driver supports for X.Org xserver ABI 20 (xorg-server-1.18.0) since version 352.63: http://www.nvidia.com/download/driverResults.aspx/95159/en-us

However, the ebuild for =x11-drivers/nvidia-drivers-361.18-r1 from Gentoo's portage tree still requires <x11-base/xorg-server-1.17.99 in its RDEPEND section, even though it is the newest version of the package. This restriction was probably introduced due to the fact that previous versions of the nvidia-drivers package did not support the new X.Org ABI 20.

Could we please allow >=x11-base/xorg-server-1.18.0 and >=x11-drivers/nvidia-drivers-352.63 to co-exist on the same system?

Reproducible: Always

Steps to Reproduce:
1. Open http://www.nvidia.com/download/driverResults.aspx/95159/en-us to verify X.Org ABI 20 support in the NVIDIA release notes.

2. Open /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-361.18-r1.ebuild to verify that RDEPEND still contains <x11-base/xorg-server-1.17.99:= in case USE=X is selected.



martijndesktop ~ # emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.22-r1, 4.3.3-gentoo x86_64)
=================================================================
System uname: Linux-4.3.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.2
KiB Mem:    16389580 total,  10510236 free
KiB Swap:   11718728 total,  11718728 free
Timestamp of repository gentoo: Sat, 23 Jan 2016 20:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

MartijnLocalOverlay
    location: /usr/local/portage
    masters: gentoo

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-4.0.0.7-copyright google-chrome googleearth Oracle-BCLA-JavaSE Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aes alsa amd64 apng archive berkdb branding btrfs bzip2 cairo cdda cddb cdr cli client-libs consolekit corefonts cracklib crypt css cuda cups cxx dbus declarative designer device-mapper dhcpcd diff dri dts dvd dvdr embedded emboss encode eselect evdev exif extras fam farstream ffmpeg flac fontconfig fortran fuse gcrypt gdbm geoip gif gimp git glamor gnutls gpm gpu gtk gtk3 handbook hidpi hvm iconv icu id3tag ipv6 java javascript jpeg kate kde kipi kvm lcms ldap legacy-systray libkms libnotify libsamplerate llvm-shared-libs lm_sensors logrotate lzma lzo mad matroska md minizip mmx mmxext mng modules mp3 mp4 mpeg multilib multiuser mysql ncat ncurses ndiff network networking networkmanager nls nping nptl nsplugin ntfs ntp nvidia ogg okular openal opencl opengl openmp opus pam pango parted pcre pdf phonon pic plasma png policykit ppds pulseaudio pyqt4 python python3 qemu qml qt3support qt4 qt5 raw rdesktop readline regex scanner scripttools sdl seccomp semantic-desktop session sftp smp sndfile spell sql sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog tcpd telnet threads thunderbird tiff truetype tty-helpers udev udisks unicode upower usb usbredir v4l2 vdpau vim vim-pager vim-syntax vlc vnc vorbis vpx webkit webstart widevine widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xrandr xscreensaver xulrunner xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="ice1712" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Sven B. 2016-01-23 22:49:52 UTC
- fyi -
For optimus users there still seems to be a few issues when using offloading with 1.18.0. 

https://bugs.archlinux.org/task/47151

https://devtalk.nvidia.com/default/topic/901460/linux/xorg-server-1-18-and-nvidia-358-16-on-geforce-gtx-970m-not-detecting-display-sizes-correctly/

With GTK3 anyway. Otherwise works fine after adjusting the xorg.conf
Comment 2 Harris Landgarten 2016-01-24 13:21:20 UTC
I have been running xorg-1.18 since yesterday morning with nvidia-361.18 on my 4 monitor setup with no issues.
Comment 3 Christian Zeman 2016-01-24 14:56:15 UTC
@Harris Landgarten: have you modified the ebuild to allow nvidia-driver-361.18 to build with xorg-server-1.18?
Comment 4 Kobboi 2016-01-24 20:00:34 UTC
(In reply to Christian Zeman from comment #3)
> @Harris Landgarten: have you modified the ebuild to allow
> nvidia-driver-361.18 to build with xorg-server-1.18?

You're not asking me, but I have done exactly that. No problem with my 

03:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560] (rev a1)
Comment 5 Arfrever Frehtes Taifersar Arahesis 2016-01-24 20:39:15 UTC
*** Bug 572774 has been marked as a duplicate of this bug. ***
Comment 6 Alex Xu (Hello71) 2016-01-24 21:19:54 UTC
*** Bug 572798 has been marked as a duplicate of this bug. ***
Comment 7 Nikos Chantziaras 2016-01-24 23:10:06 UTC
I modified the ebuild and am running xorg-server 1.18 without any issues.
Comment 8 thunderrd 2016-01-25 05:05:00 UTC
We need this in the 340.x nvidia driver as well, since this is the last one to support the older hardware, like the 9000 series.

I've also changed the 340.96 ebuild for my 9600GT as above and it seems to be OK, xorg-server-1.18 running.

Should I file a separate bug for this, since it is for the legacy versions?
Comment 9 Philipp Ammann 2016-01-25 17:24:02 UTC
I'm running xorg-server-1.18.0 with nvidia-drivers-361.18-r1 on my GTX 760 on gentoo-sources-4.3.4 without any issues.
Comment 10 Risto A. Paju 2016-01-25 21:19:50 UTC
I confirm that xorg-server-1.18.0 with nvidia-drivers-361.18-r1 works with the  vanilla 4.4.0 kernel on GTX 750 and 750 Ti.
Comment 11 Jura 2016-01-26 10:46:32 UTC
I confirm that xorg-server-1.18.0 with nvidia-drivers-340.96 works with the  gentoo-sources-4.4.0 on GeForce 210
Comment 12 PV 2016-01-26 15:56:02 UTC
I confirm that xorg-server-1.18.0 with nvidia-drivers-340.96 works with the  gentoo-sources-4.4.0-r1 on GeForce GTS250
Comment 13 Yuriy 2016-01-26 16:01:59 UTC
x11-drivers/nvidia-drivers-340.96

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250] (rev a2)

X -version

X.Org X Server 1.18.0
Release Date: 2015-11-09
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-gentoo-r1 x86_64 Gentoo
Current Operating System: Linux it 4.4.0-gentoo-r1 #1 SMP PREEMPT Wed Jan 20 19:35:18 EET 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.4.0-gentoo-r1 root=/dev/sda1 ro rootfstype=ext4 noresume dolvm video=uvesafb:1600x1200-32,mtrr:3,ywrap console=tty1 quiet
Build Date: 25 January 2016  11:47:24AM
 
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.


Work fine
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2016-01-29 06:23:12 UTC
Fixed. Thanks, everyone!
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2016-01-29 06:27:48 UTC
In fact I forgot one.