[+] nvidia-settings - znikn

Problemy dotyczące innych systemów operacyjnych
ArnVaker

[+] nvidia-settings - zniknęły opcje korekcji barw - Gentoo

Post autor: ArnVaker »

Witam.

System to Gentoo ~amd64. Po aktualizacji nvidia-settings do wersji 190.53 z panelu zniknęły opcje dotyczące korekcji barw. Problem może się wydawać błahy, ale dla mnie wcale taki nie jest. Na domyślnych ustawieniach, których teraz nie da się zmienić nie jestem w stanie wysiedzieć przed monitorem dłużej niż kilka minut - system niemal bezużyteczny.

Wygląda to tak:

Obrazek

A powinno wyglądać tak:
Obrazek

Xorg.0.log:

Kod: Zaznacz cały

X.Org X Server 1.7.3.901 (1.7.4 RC 1)
Release Date: 2009-12-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-zen9-amidala x86_64
Current Operating System: Linux amidala 2.6.31-zen9-amidala #1 ZEN SMP PREEMPT Sun Dec 6 16:51:53 CET 2009 x86_64
Kernel command line: vga=795 quiet
Build Date: 18 December 2009  04:23:31PM
 
Current version of pixman: 0.17.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 18 21:46:44 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
    Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
    Entry deleted from font path.
(==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
(==) ModulePath set to "/usr/lib64/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
    If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x7bd5e0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 6.0
    X.Org XInput driver : 7.0
    X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:2:0:0) 10de:0392:1458:341a nVidia Corporation G73 [GeForce 7600 GS] rev 161, Mem @ 0xdf000000/16777216, 0xc0000000/268435456, 0xde000000/16777216, I/O @ 0x0000ec00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.7.3.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.7.3.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
(II) NVIDIA GLX Module  195.22  Sun Nov 22 18:16:13 PST 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
    compiled for 1.7.3.901, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  195.22  Sun Nov 22 17:32:23 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 02@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.7.3.901, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib64/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
    compiled for 1.7.3.901, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen" for depth/fbbpp 24/32
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "true"
(**) NVIDIA(0): Option "MetaModes" "1280x1024_75"
(**) Dec 18 21:46:45 NVIDIA(0): Enabling RENDER acceleration
(II) Dec 18 21:46:45 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Dec 18 21:46:45 NVIDIA(0):     enabled.
(II) Dec 18 21:46:46 NVIDIA(0): NVIDIA GPU GeForce 7600 GS (G73) at PCI:2:0:0 (GPU-0)
(--) Dec 18 21:46:46 NVIDIA(0): Memory: 262144 kBytes
(--) Dec 18 21:46:46 NVIDIA(0): VideoBIOS: 05.73.22.50.02
(II) Dec 18 21:46:46 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Dec 18 21:46:46 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Dec 18 21:46:46 NVIDIA(0): Connected display device(s) on GeForce 7600 GS at PCI:2:0:0:
(--) Dec 18 21:46:46 NVIDIA(0):     BenQ FP91G+ (CRT-0)
(--) Dec 18 21:46:46 NVIDIA(0): BenQ FP91G+ (CRT-0): 400.0 MHz maximum pixel clock
(II) Dec 18 21:46:46 NVIDIA(0): Assigned Display Device: CRT-0
(II) Dec 18 21:46:46 NVIDIA(0): Validated modes:
(II) Dec 18 21:46:46 NVIDIA(0):     "1280x1024_75"
(II) Dec 18 21:46:46 NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) Dec 18 21:46:46 NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
(--) Dec 18 21:46:46 NVIDIA(0):     option
(==) Dec 18 21:46:46 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Dec 18 21:46:46 NVIDIA(0): Initialized GPU GART.
(II) Dec 18 21:46:46 NVIDIA(0): Setting mode "1280x1024_75"
(II) Loading extension NV-GLX
(II) Dec 18 21:46:46 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Dec 18 21:46:46 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"
(II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
    compiled for 1.7.3, module version = 2.3.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 7.0
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event2"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device A4Tech PS/2+USB Mouse
(**) A4Tech PS/2+USB Mouse: always reports core events
(**) A4Tech PS/2+USB Mouse: Device: "/dev/input/event3"
(II) A4Tech PS/2+USB Mouse: Found 12 mouse buttons
(II) A4Tech PS/2+USB Mouse: Found scroll wheel(s)
(II) A4Tech PS/2+USB Mouse: Found relative axes
(II) A4Tech PS/2+USB Mouse: Found x and y relative axes
(II) A4Tech PS/2+USB Mouse: Configuring as mouse
(**) A4Tech PS/2+USB Mouse: YAxisMapping: buttons 4 and 5
(**) A4Tech PS/2+USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "A4Tech PS/2+USB Mouse" (type: MOUSE)
(**) A4Tech PS/2+USB Mouse: (accel) keeping acceleration scheme 1
(**) A4Tech PS/2+USB Mouse: (accel) acceleration profile 0
(II) A4Tech PS/2+USB Mouse: initialized for relative axes.
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event1"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event0"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
Ja tam w nim nic szczególnego nie widzę, ale też specjalistą nie jestem.

Kod: Zaznacz cały

Attributes for amidala:0.0:
  OperatingSystem: 0
  NvidiaDriverVersion: 195.22
  NvControlVersion: 1.21
  GLXServerVersion: 1.4
  GLXClientVersion: 1.4
  OpenGLVersion: 2.1.2 NVIDIA 195.22
  XRandRVersion: 1.3

ERROR: Error while querying attribute 'XF86VidModeVersion' on amidala:0.0 (Missing Extension).

  XvVersion: 2.2
  TwinView: 0
  ConnectedDisplays: 0x00000001
  EnabledDisplays: 0x00000001
  CursorShadow: 0
  CursorShadowAlpha: 64
  CursorShadowRed: 0
  CursorShadowGreen: 0
  CursorShadowBlue: 0
  CursorShadowXOffset: 4
  CursorShadowYOffset: 2
  AssociatedDisplays: 0x00000001
  InitialPixmapPlacement: 1
  DynamicTwinview: 1
  MultiGpuDisplayOwner: 0
  GlyphCache: 1
  Depth30Allowed: 0
  NoScanout: 0
  XServerUniqueId: -536315925
  PixmapCache: 1
  PixmapCacheRoundSizeKB: 1024
  SyncToVBlank: 1
  LogAniso: 0
  FSAA: 0
  TextureSharpen: 1
  AllowFlipping: 1
  FSAAAppControlled: 0
  LogAnisoAppControlled: 0
  OpenGLImageSettings: 1
  SliMosaicModeAvailable: 0
  BusType: 2
  VideoRam: 262144
  Irq: 19
  GPUCoreTemp: 69
  GPU2DClockFreqs: 450,400
  GPU3DClockFreqs: 450,400
  GPUDefault2DClockFreqs: 450,400
  GPUDefault3DClockFreqs: 450,400
  GPUCurrentClockFreqs: 450,400
  BusRate: 16
  GPUErrors: 0
  GPUPowerSource: 0
  GPUCurrentPerfMode: 1
  GPUCurrentPerfLevel: 0
  GPUAdaptiveClockState: 1
  GPUPerfModes: perf=0, nvclock=450, memclock=400
  GvoSupported: 0
  IsGvoDisplay: 0
  DigitalVibrance: 2
  ImageSharpening: 0
  ImageSharpeningDefault: 0
  RefreshRate: 75,02 Hz
  RefreshRate3: 75,025 Hz
  XVideoTextureSyncToVBlank: 1
  XVideoBlitterSyncToVBlank: 1
  XVideoSyncToDisplay: 0x00000001
Rozbija się pewnie o to:

Kod: Zaznacz cały

ERROR: Error while querying attribute 'XF86VidModeVersion' on amidala:0.0 (Missing Extension).
Ale szczerze mówiąc nie mam pojęcia jak to ugryźć.

Cofnięcie nvidia-settings do wersji 190.42, na której wcześniej wszystko było w porządku nic nie daje. Może trzeba gdzieś wyczyścić jakiś cache, czy coś w tym stylu? Dokładnie ten sam problem występuje także w przypadku nvidia-settings w wersji 195.22.


Edycja:

Problem okazał się trochę bardziej złożony niż myślałem, opcje korekcji barw nie zostały w ogóle wkompilowane podczas budowania nvidia-settings ze źródeł.

log => http://wklej.org/id/240940/

Kod: Zaznacz cały

#warning Old xf86vmode.h; dynamic gamma ramp support will not be compiled.
Grzebiąc dalej znalazłem => http://trac.ak-team.com/changeset/5824/ ... -fix.patch

Kod: Zaznacz cały

Fix media-video/nvidia-settings build, xf86vm detection is broken with x11-libs/libXxf86vm 1.1.0 & x11-proto/xf86vidmodeproto 2.3
A takie właśnie są w tej chwili ich najnowsze wersje w portage.

Ciąg dalszy problemu: nvidia-settings-195-22 nie działa w połączeniu z nvidia-drivers-190.42-r3, a na nvidia-drivers-195-22 nie działa akceleracja graficzna w mplayer-1.0_rc4_p20091026-r1.


Obejście problemu.

Skompilować normalnie nvidia-settings-190.53 z portage, po czym usunąć plik:

Kod: Zaznacz cały

/usr/bin/nvidia-settings
Rozpakować firmową paczkę ze sterownikami Nvidii w odpowiadającej wersji:

Kod: Zaznacz cały

sh NVIDIA-Linux-x86_64-190.53-pkg2.run -x
Skopiować prekompilowany plik na miejsce naszego uwalonego:

Kod: Zaznacz cały

cp NVIDIA-Linux-x86_64-190.53-pkg2/usr/bin/nvidia-settings /usr/bin/
I wszystko gra. A odgórne rozwiązanie jest już w drodze.
Zablokowany