LINUX.ORG.RU

Сообщения c3plus

 

«libbsd0:amd64»: missing 'Description' field

как починить?

Следующие пакеты имеют неудовлетворённые зависимости:
 steam:i386 : Зависит: libgl1-mesa-dri:i386 (>= 17.3) но он не будет установлен или
                              libtxc-dxtn0:i386 но он не может быть установлен
              Зависит: libgl1-mesa-glx:i386 но он не будет установлен
              Зависит: libgpg-error0:i386 (>= 1.10) но он не будет установлен
              Зависит: libudev1:i386 но он не будет установлен
              Зависит: libxcb-dri3-0:i386 (>= 1.11.1) но он не будет установлен
              Зависит: libxinerama1:i386 (>= 2:1.1.1) но он не будет установлен
              Зависит: libc6:i386 (>= 2.15) но он не будет установлен
              Зависит: libstdc++6:i386 (>= 4.8) но он не будет установлен
              Зависит: libx11-6:i386 но он не будет установлен
              Рекомендует: libxss1:i386 но он не будет установлен
              Рекомендует: mesa-vulkan-drivers:i386 но он не будет установлен
E: Невозможно исправить ошибки: у вас зафиксированы сломанные пакеты.

какие-то пакеты с ошибками - удалились, а этот цепляет кучу системных:

dpkg: предупреждение: анализ файла «/var/lib/dpkg/status» около строки 16101 пакета «libbsd0:amd64»: missing ‘Description’ field

sudo aptitude -f install - или молчит, или хочет снести систему к херам

c3plus
()

Разгон gtx1060 ubuntu 16.04.3 server

не выставляются частоты ни скриптом, ни командой

nvidia-settings -a "[gpu:0]/GPUMemoryTransferRateOffset[3]=1000"

скрипт:

MY_CLOCK="-100"
MY_MEM="1000"
MY_FAN="75"

for MY_DEVICE in {0..0}
do
        DISPLAY=:0 XAUTHORITY=/var/lib/mdm/:0.Xauth nvidia-settings -a "[gpu:$MY_DEVICE]/GPUPowerMizerMode=1"
        DISPLAY=:0 XAUTHORITY=/var/lib/mdm/:0.Xauth nvidia-settings -a "[gpu:$MY_DEVICE]/GPUFanControlState=1"
        DISPLAY=:0 XAUTHORITY=/var/lib/mdm/:0.Xauth nvidia-settings -a "[fan:$MY_DEVICE]/GPUTargetFanSpeed=$MY_FAN"
        DISPLAY=:0 XAUTHORITY=/var/lib/mdm/:0.Xauth nvidia-settings -a "[gpu:$MY_DEVICE]/GPUGraphicsClockOffset[3]=$MY_CLOCK"
        DISPLAY=:0 XAUTHORITY=/var/lib/mdm/:0.Xauth nvidia-settings -a "[gpu:$MY_DEVICE]/GPUMemoryTransferRateOffset[3]=$MY_MEM"

done

результат:

 Attribute 'GPUPowerMizerMode' (nvidia1:0[gpu:0]) assigned value 1.
 Attribute 'GPUFanControlState' (nvidia1:0[gpu:0]) assigned value 1.
 Attribute 'GPUTargetFanSpeed' (nvidia1:0[fan:0]) assigned value 75.
ERROR: Error assigning value -100 to attribute 'GPUGraphicsClockOffset' (nvidia1:0[gpu:0]) as specified assigment
       '[gpu:0]/GPUGraphicsClockOffset[3]=-100' (Unknown Error).
ERROR: Error assigning value 1000 to attribute 'GPUMemoryTransferRateOffset' (nvidia1:0[gpu:0]) as specified assigment
       '[gpu:0]/GPUMemoryTransferRateOffset[3]=1000' (Unknown Error).

Done

Если вводить руками через nvidia-settings в PowerMizer в 3 графе параметра Perfomance Levels все частоты выставляется без проблем и работают!

xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1060 6GB"
    BusID          "PCI:04:00:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    Option         "Coolbits" "31"
    Option         "RegistryDwords" "PerfLevelSrc=0x2222"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

 

c3plus
()

startx

не могу запустить иксы. startx - чёрный экран после выпадает в tty с текстом:бла бла бла xinit: connecting to X server lost waiting for X server to shut down(II) Server terminated successfully(0). Closing log file.

Xorg.0.log

( log )

Пробую сконфигурировать xserver вручную. sudo X -configure

.....

Number of created screens does not match of detected devices. Configuration failed. (EE) Server terminated with error(2).

log

X.Org X Server 1.18.4
Release Date: 2016-07-19
[  4589.972] X Protocol Version 11, Revision 0
[  4589.974] Build Operating System: Linux 4.4.0-89-generic x86_64 Ubuntu
[  4589.976] Current Operating System: Linux nvidia1 4.4.0-94-generic #117-Ubuntu SMP Tue Aug 29 08:13:56 UTC 2017 x86_64
[  4589.976] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-94-generic root=UUID=95573397-68ce-42f1-ba23-9863b7155df3 ro
[  4589.982] Build Date: 09 August 2017  09:38:57PM
[  4589.984] xorg-server 2:1.18.4-0ubuntu0.4 (For technical support please see http://www.ubuntu.com/support)
[  4589.986] Current version of pixman: 0.33.6
[  4589.991]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  4589.991] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4590.004] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep  5 14:50:50 2017
[  4590.004] (II) Loader magic: 0x9fdf602dc0
[  4590.004] (II) Module ABI versions:
[  4590.004]    X.Org ANSI C Emulation: 0.4
[  4590.004]    X.Org Video Driver: 20.0
[  4590.004]    X.Org XInput driver : 22.1
[  4590.004]    X.Org Server Extension : 9.0
[  4590.006] (--) using VT number 4

[  4590.006] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integrati$
[  4590.007] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4590.009] (--) PCI:*(0:4:0:0) 10de:1c03:1458:3718 rev 161, Mem @ 0xdc000000/16777216, 0xe0000000/268435456, 0xde000000/335544$
[  4590.012] List of video drivers:
[  4590.014]    amdgpu
[  4590.018]    ati
[  4590.021]    intel
[  4590.023]    nouveau
[  4590.025]    qxl
[  4590.027]    radeon
[  4590.029]    vmware
[  4590.032]    fbdev
[  4590.034]    vesa
[  4590.038]    modesetting
[  4590.040]    nvidia
[  4590.040] (II) LoadModule: "amdgpu"
[  4590.040] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[  4590.114] (II) Module amdgpu: vendor="X.Org Foundation"
[  4590.114]    compiled for 1.18.4, module version = 1.1.2
[  4590.114]    Module class: X.Org Video Driver
[  4590.114]    ABI class: X.Org Video Driver, version 20.0
[  4590.114] (II) LoadModule: "ati"
[  4590.115] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[  4590.123] (II) Module ati: vendor="X.Org Foundation"
[  4590.123]    compiled for 1.18.3, module version = 7.7.0
[  4590.123]    Module class: X.Org Video Driver
[  4590.123]    ABI class: X.Org Video Driver, version 20.0
[  4590.123] (II) LoadModule: "intel"
[  4590.124] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  4590.217] (II) Module intel: vendor="X.Org Foundation"
[  4590.217]    compiled for 1.18.4, module version = 2.99.917
[  4590.217]    Module class: X.Org Video Driver
[  4590.217]    ABI class: X.Org Video Driver, version 20.0
[  4590.217] (II) LoadModule: "nouveau"
[  4590.217] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  4590.217] (II) Module nouveau: vendor="X.Org Foundation"
[  4590.217]    compiled for 1.18.1, module version = 1.0.12
[  4590.218]    Module class: X.Org Video Driver
[  4590.218]    ABI class: X.Org Video Driver, version 20.0
[  4590.218] (II) LoadModule: "qxl"
[  4590.218] (II) Loading /usr/lib/xorg/modules/drivers/qxl_drv.so
[  4590.245] (II) Module qxl: vendor="X.Org Foundation"
[  4590.245]    compiled for 1.18.1, module version = 0.1.4
[  4590.246]    Module class: X.Org Video Driver
[  4590.246]    ABI class: X.Org Video Driver, version 20.0
[  4590.246] (II) LoadModule: "radeon"
[  4590.246] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[  4590.328] (II) Module radeon: vendor="X.Org Foundation"
[  4590.328]    compiled for 1.18.3, module version = 7.7.0
[  4590.328]    Module class: X.Org Video Driver
[  4590.328]    ABI class: X.Org Video Driver, version 20.0
[  4590.328] (II) LoadModule: "vmware"
[  4590.328] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[  4592.845] (II) Module vmware: vendor="X.Org Foundation"
[  4592.846]    compiled for 1.18.1, module version = 13.1.0
[  4592.846]    Module class: X.Org Video Driver
[  4592.846]    ABI class: X.Org Video Driver, version 20.0
[  4592.846] (II) LoadModule: "fbdev"
[  4592.846] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  4592.846] (II) Module fbdev: vendor="X.Org Foundation"
[  4592.846]    compiled for 1.18.1, module version = 0.4.4
[  4592.846]    Module class: X.Org Video Driver
[  4592.846]    ABI class: X.Org Video Driver, version 20.0
[  4592.846] (II) LoadModule: "vesa"
[  4592.846] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  4592.847] (II) Module vesa: vendor="X.Org Foundation"
[  4592.847]    compiled for 1.18.1, module version = 2.3.4
[  4592.847]    Module class: X.Org Video Driver
[  4592.847]    ABI class: X.Org Video Driver, version 20.0
[  4592.847] (II) LoadModule: "modesetting"
[  4592.847] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  4592.847] (II) Module modesetting: vendor="X.Org Foundation"
[  4592.847]    compiled for 1.18.4, module version = 1.18.4
[  4592.847]    Module class: X.Org Video Driver
[  4592.847]    ABI class: X.Org Video Driver, version 20.0
[  4592.847] (II) LoadModule: "nvidia"
[  4592.847] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  4592.848] (II) Module nvidia: vendor="NVIDIA Corporation"
[  4592.848]    compiled for 4.0.2, module version = 1.0.0
[  4592.848]    Module class: X.Org Video Driver
[  4592.848] (EE) [drm] Failed to open DRM device for (null): -22
[  4592.848] (II) NOUVEAU driver Date:   Tue Dec 8 15:52:25 2015 +1000
[  4592.848] (II) NOUVEAU driver for NVIDIA chipset families :
[  4592.848]    RIVA TNT        (NV04)
[  4592.849]    RIVA TNT2       (NV05)
[  4592.849]    GeForce 256     (NV10)
[  4592.849]    GeForce 2       (NV11, NV15)
[  4592.849]    GeForce 4MX     (NV17, NV18)
[  4592.849]    GeForce 3       (NV20)
[  4592.849]    GeForce 4Ti     (NV25, NV28)
[  4592.849]    GeForce FX      (NV3x)
[  4592.849]    GeForce 6       (NV4x)
[  4592.849]    GeForce 7       (G7x)
[  4592.849]    GeForce 8       (G8x)
[  4592.849]    GeForce GTX 200 (NVA0)
[  4592.849]    GeForce GTX 400 (NVC0)
[  4592.849] (II) FBDEV: driver for framebuffer: fbdev
[  4592.849] (II) VESA: driver for VESA chipsets: vesa
[  4592.849] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  4592.849] (II) NVIDIA dlloader X Driver  381.22  Wed May  3 23:53:41 PDT 2017
[  4592.849] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  4592.907] (++) Using config file: "/home/c3plus/xorg.conf.new"
[  4592.909] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4592.910] (==) ServerLayout "X.org Configured"
[  4592.910] (**) |-->Screen "Screen0" (0)
[  4592.910] (**) |   |-->Monitor "Monitor0"
[  4592.910] (**) |   |-->Device "Card0"
[  4592.910] (**) |-->Input Device "Mouse0"
[  4592.910] (**) |-->Input Device "Keyboard0"
[  4592.910] (==) Automatically adding devices
[  4592.910] (==) Automatically enabling devices
[  4592.910] (==) Automatically adding GPU devices
[  4592.910] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  4592.910] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4592.910]    Entry deleted from font path.
[  4592.910] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4592.910]    Entry deleted from font path.
[  4592.910] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4592.911]    Entry deleted from font path.
[  4592.911] (**) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins,
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[  4592.911] (**) ModulePath set to "/usr/lib/xorg/modules"
[  4592.911] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  4592.911] (WW) Disabling Mouse0
[  4592.911] (WW) Disabling Keyboard0
[  4592.911] (EE) [drm] Failed to open DRM device for (null): -22
[  4592.911] (EE) [drm] Failed to open DRM device for (null): -22
[  4592.911] (EE) [drm] Failed to open DRM device for pci:0000:04:00.0: -22
[  4592.915] Number of created screens does not match number of detected devices.
  Configuration failed.

вставил все логи мало ли кроме EE ещё какие строки пригодятся.

 

c3plus
()

Lightdm: Failed to start session

Задача: разогнать видеокарту geforce gtx1060. Поставил дрова Nvidia 384. Те притянули с собой кучу зависимостей + lightdm. Последовательность действий при попытке залогинится в лайтдм(auth.log): 1. lightdm: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory lightdm: PAM adding faulty module: pam_kwallet.so lightdm: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory lightdm: PAM adding faulty module: pam_kwallet5.so

sudo apt install libpam-kwallet4 libpam-kwallet5

2. lightdm: pam_kwallet(lightdm:auth): (null): pam_sm_authenticate lightdm: pam_kwallet5(lightdm:auth): (null):pam_sm_authenticate lightdm: pam_succeed_if(lightdm:auth): requirement «user ingroup nopasswdlogin» not met by user «имя»

sudo ls -l /home/имя/.Xauthority -rw------- 1 имя имя 59 Sep 4 11:40 /home/имя/.Xauthority

Перековырял кучу инфы, не могу найти решение. Надо запустит иксы, бо только из них можно разогнать видеокарту. Конечно можно было б попробывать другой экранный менеджер, но уже не первый раз сталкивюась с этой проблемой и хотелось бы попытаться решить. Было дело как-то на десктопной убунту после чистки ненжуных программ.

 

c3plus
()

RSS подписка на новые темы