devilheart l33t
Joined: 17 Mar 2005 Posts: 848 Location: Villach, Austria
|
Posted: Wed Jul 27, 2011 9:02 am Post subject: The epic of nvidia-settings and legacy drivers |
|
|
Hi. As someone may already know, nvidia-settings binary was moved from nvidia-settings to nvidia-drivers. This is an issue because it leaves all the legacy driver users without this useful utility.
emerging version 195.36.24 is not an option since it gives this error
Code: | x86_64-pc-linux-gnu-gcc .objs/command-line.o .objs/config-file.o .objs/msg.o .objs/nvidia-settings.o .objs/parse.o .objs/
query-assign.o .objs/nvgetopt.o .objs/glxinfo.o .objs/lscf.o .objs/ctkxvideo.o .objs/ctkcursorshadow.o .objs/ctkui.o .obj
s/ctkframelock.o .objs/ctkgauge.o .objs/ctkcurve.o .objs/ctkcolorcorrection.o .objs/ctkscale.o .objs/ctkmultisample.o .ob
js/ctkconfig.o .objs/ctkevent.o .objs/ctkwindow.o .objs/ctkopengl.o .objs/ctkglx.o .objs/ctkhelp.o .objs/ctkimagesliders.
o .objs/ctkdisplaydevice-crt.o .objs/ctkdisplaydevice-tv.o .objs/ctkdisplaydevice-dfp.o .objs/ctkthermal.o .objs/ctkpower
mizer.o .objs/ctkgvo.o .objs/ctkgvo-csc.o .objs/ctkdropdownmenu.o .objs/ctkrandr.o .objs/ctkclocks.o .objs/ctkutils.o .ob
js/ctkedid.o .objs/ctkserver.o .objs/ctkdisplaylayout.o .objs/ctkdisplayconfig.o .objs/ctkscreen.o .objs/ctkslimm.o .objs
/ctkgpu.o .objs/ctkbanner.o .objs/ctkvcs.o .objs/ctkdisplayconfig-utils.o .objs/ctkgvo-banner.o .objs/ctkgvo-sync.o .objs/ctkgvi.o .objs/ctklicense.o .objs/ctkpowersavings.o .objs/ctkecc.o .objs/NvCtrlAttributes.o .objs/NvCtrlAttributesNvControl.o .objs/NvCtrlAttributesVidMode.o .objs/NvCtrlAttributesXv.o .objs/NvCtrlAttributesGlx.o .objs/NvCtrlAttributesXrandr.o .objs/Device.o .objs/DRI.o .objs/Extensions.o .objs/Files.o .objs/Flags.o .objs/Generate.o .objs/Input.o .objs/Keyboard.o .objs/Layout.o .objs/Merge.o .objs/Module.o .objs/Monitor.o .objs/Pointer.o .objs/Read.o .objs/Scan.o .objs/Screen.o .objs/Util.o .objs/Vendor.o .objs/Video.o .objs/Write.o .objs/g_stamp.o -O2 -march=native -mfpmath=sse -fomit-frame-pointer -Wall -O -DNDEBUG -I/usr/X11R6/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -I src/XF86Config-parser -I samples -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,-S -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -L/usr/X11R6/lib64 -Wl,-Bstatic -lXxf86vm -Wl,-Bdynamic -lX11 -lXext src/libXNVCtrl/libXNVCtrl.a src/XF86Config-parser/libXF86Config-parser.a -o nvidia-settings
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXxf86vm
collect2: ld returned 1 exit status
|
Using the binary provided by x11-drivers/nvidia-drivers is not an option since you cannot configure your displays because of a "Failed to query NoScanout for screen 0." error. This issue can be solved by applying this patch to a newer nvidia-settings sources which can be found here.
Now nvidia-settings works, but I am looking for a more gentooish solution |
|