Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321399 - media-video/nvidia-settings[stable-versions] do not compile against x11-drivers/nvidia-drivers-96.* and 173.14.XX
Summary: media-video/nvidia-settings[stable-versions] do not compile against x11-drive...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Christian Ruppert (idl0r)
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
: 323987 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-25 05:19 UTC by Carter Young
Modified: 2012-04-25 04:30 UTC (History)
7 users (show)

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


Attachments
Build Log (build.log,33.81 KB, text/plain)
2010-05-25 05:21 UTC, Carter Young
Details
Alberto Milone's patch - See Comment (NV_CTRL_NO_SCANOUT-no-fail.patch,1.35 KB, patch)
2010-05-25 05:24 UTC, Carter Young
Details | Diff
Build log for initial version in portage (1275978564-install-media-video_nvidia-settings-1.0.20070621:0::gentoo.out,32.44 KB, text/plain)
2010-06-08 06:47 UTC, Carter Young
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carter Young 2010-05-25 05:19:40 UTC
I am using the testing version of nvidia-settings because of the following warning.  All versions except 195.36.24 display warning and crash:
#warning Old xf86vmode.h; dynamic gamma ramp support will not be compiled.

Also tested on previous versions by soft masking using /etc/portage/package.mask.  Further investigation revealed the following error: 
Failed to query NoScanout for screen 0.

Reproducible: Always

Steps to Reproduce:
1. Use a legacy series NVIDIA card. (GeForce4 MX 440)
2. Follow the NVIDIA guide at: http://www.gentoo.org/doc/en/nvidia-guide.xml
3. Mask every version of media-video/nvidia-drivers above the 96.xx series by adding >=x11-drivers/nvidia-drivers-97.00 to /etc/portage/package.mask
4. Set gtk flag in /etc/make.conf, so that media-video/nvidia-settings is pulled in

Actual Results:  
media-video/nvidia-settings does not compile.  I believe the attached patch may help.  Please add to all ebuilds with epatch.

Expected Results:  
media-video/nvidia-settings should compile cleanly.

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-AMD_Athlon-tm-_XP_2000+-with-gentoo-1.12.13
Timestamp of tree: Sat, 22 May 2010 07:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb binfilter blender-game bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr eds emboss emerald encode evo exif fam fbcondecor firefox flac fortran gdbm gdu gif glitz gnome gnome-keyring gnutls gpm gstreamer gtk guile hal iconv ipv6 java jpeg lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap nautilus ncurses networking nls nptl nptlonly nsplugin odk ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection sdl session spell spl sqlite ssl startup-notification svg sysfs tcpd templates tiff tk truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carter Young 2010-05-25 05:21:36 UTC
Created attachment 232817 [details]
Build Log

Build.log from 185.xx Series.
Comment 2 Carter Young 2010-05-25 05:24:52 UTC
Created attachment 232819 [details, diff]
Alberto Milone's patch - See Comment

This patch has been included in Ubuntu's build.  I believe Gentoo may benefit from this also.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-06-07 02:11:29 UTC
Hello Carter,

have you tried older/really old versions of media-video/nvidia-settings?
media-video/nvidia-settings versions loosly relate to x11-drivers/nvidia-drivers versions, and pulling an really old driver should be accompanied by pulling the corresponding settings tool.

I can assign this to the maintainer, but i would rather improve the doc about masking nvidia-settings too. If any version works w/o this patch.

Thanks, Michael
Comment 4 Carter Young 2010-06-08 06:47:35 UTC
Created attachment 234499 [details]
Build log for initial version in portage

Added the following to /etc/paludis/package_mask.conf and /etc/portage/package.mask.  Please note that there is no nvidia-seettings tool matching the 96.xx series of drivers, so I masked every version above the initial package in portage.  Both paludis and portage crash at the same spot on compilation.  If you open this file in any text editor and enable line numbers the line is 113.  I have yet to downgrade X Server to 1.6.5 because doing so wastes time due to having to mask and reinstall based on the following list:
#>=x11-base/xorg-server-1.7.1
#>=x11-libs/libdmx-1.1.0
#>=x11-proto/dmxproto-2.3
#>=x11-apps/xinput-1.5.0
#>=x11-base/xorg-drivers-1.7
#>=x11-libs/libX11-1.3.2
#>=x11-libs/libXScrnSaver-1.2.0
#>=x11-libs/libXext-1.1.1
#>=x11-libs/libXi-1.3
#>=x11-libs/libXinerama-1.1
#>=x11-libs/libXtst-1.1.0
#>=x11-libs/libXxf86dga-1.1.1
#>=x11-libs/libXxf86vm-1.1.0
#>=x11-proto/bigreqsproto-1.1.0
#>=x11-proto/fixesproto-4.1.1
#>=x11-proto/inputproto-2.0
#>=x11-proto/recordproto-1.14
#>=x11-proto/scrnsaverproto-1.2.0
#>=x11-proto/xcmiscproto-1.2.0
#>=x11-proto/xextproto-7.1.1
#>=x11-proto/xf86bigfontproto-1.2.0
#>=x11-proto/xf86dgaproto-2.1
#>=x11-proto/xf86driproto-2.1.0
#>=x11-proto/xf86vidmodeproto-2.3
#>=x11-proto/xineramaproto-1.2
#>=media-libs/mesa-7.7.1
#>=x11-apps/mesa-progs-7.7

Notice these are commented for when I have time.  I can't now as I am using this machine for online coursework.  If someone would add these to their package.mask and attempt an emerge, it would help
Comment 5 Carter Young 2010-06-08 06:50:19 UTC
(In reply to comment #4)
> Created an attachment (id=234499) [details]
> Build log for initial version in portage
> 
> Added the following to /etc/paludis/package_mask.conf and
> /etc/portage/package.mask.  Please note that there is no nvidia-seettings tool
> matching the 96.xx series of drivers, so I masked every version above the
> initial package in portage.  Both paludis and portage crash at the same spot on
> compilation.  If you open this file in any text editor and enable line numbers
> the line is 113.  I have yet to downgrade X Server to 1.6.5 because doing so
> wastes time due to having to mask and reinstall based on the following list:
> #>=x11-base/xorg-server-1.7.1
> #>=x11-libs/libdmx-1.1.0
> #>=x11-proto/dmxproto-2.3
> #>=x11-apps/xinput-1.5.0
> #>=x11-base/xorg-drivers-1.7
> #>=x11-libs/libX11-1.3.2
> #>=x11-libs/libXScrnSaver-1.2.0
> #>=x11-libs/libXext-1.1.1
> #>=x11-libs/libXi-1.3
> #>=x11-libs/libXinerama-1.1
> #>=x11-libs/libXtst-1.1.0
> #>=x11-libs/libXxf86dga-1.1.1
> #>=x11-libs/libXxf86vm-1.1.0
> #>=x11-proto/bigreqsproto-1.1.0
> #>=x11-proto/fixesproto-4.1.1
> #>=x11-proto/inputproto-2.0
> #>=x11-proto/recordproto-1.14
> #>=x11-proto/scrnsaverproto-1.2.0
> #>=x11-proto/xcmiscproto-1.2.0
> #>=x11-proto/xextproto-7.1.1
> #>=x11-proto/xf86bigfontproto-1.2.0
> #>=x11-proto/xf86dgaproto-2.1
> #>=x11-proto/xf86driproto-2.1.0
> #>=x11-proto/xf86vidmodeproto-2.3
> #>=x11-proto/xineramaproto-1.2
> #>=media-libs/mesa-7.7.1
> #>=x11-apps/mesa-progs-7.7
> 
> Notice these are commented for when I have time.  I can't now as I am using
> this machine for online coursework.  If someone would add these to their
> package.mask and attempt an emerge, it would help
> 

Oops thats what I get for copy/paste, I added >=media-video/nvidia-settings-173.14.09 to my mask files.
Comment 6 Michael Weber (RETIRED) gentoo-dev 2010-06-14 22:29:02 UTC
*** Bug 323987 has been marked as a duplicate of this bug. ***
Comment 7 Matthew Schultz 2010-10-29 17:47:23 UTC
I'm having the same problem with the 173 driver for a Geforce 5 card.  None of the nvidia-settings ebuilds for 173 compile so I'm forced to unmerge it entirely and disable the gtk flag on nvidia-drivers.
Comment 8 Gerard Neil 2011-01-25 09:51:07 UTC
(In reply to comment #7)

I'm having the same issue with the 173 series nvidia-drivers/nvidia-settings, required for my GeForce Fx5200
Comment 9 Bob Raitz 2011-05-16 07:25:09 UTC
also having issues with 173.14.XX.
Comment 10 Christian Ruppert (idl0r) gentoo-dev 2012-04-25 04:30:58 UTC
All nvidia-drivers dependencies in the ebuilds have been fixed now.