GPU 집약적 작업 중 성능 문제(NVIDIA)

GPU 집약적 작업 중 성능 문제(NVIDIA)

Blender의 GPU에서 렌더링할 때 이상한 성능 문제가 발생합니다. 예를 들어, 커서(및 전체 UI)가 가끔씩 렉이 발생하고, ksnip을 사용하여 스크린샷을 찍으려고 하면 커서가 너무 렉이 발생하여 이동하기가 매우 어렵습니다. 이는 렌더링할 때만 발생하는 것 같습니다.

저는 몇 년 동안 Debian(또한 Plasma 사용) 사용자였으며 최근 Manjaro(그래픽 설치 프로그램에서 원하는 방식으로 디스크를 분할하는 방법을 찾지 못했기 때문에 Architect를 통해 설치됨)를 사용해 보기로 결정했습니다. 460.56 드라이버 버전의 Debian 10에서는 비슷한 문제가 발생하지 않았습니다.

내가 말하는 내용에 대한 간단한 데모:https://i.stack.imgur.com/q9iya.jpg

upd: 이 끊김 현상이 발생하면 Xorg CPU 사용량이 약 10%까지 증가하는 것을 확인했습니다.

System:
  Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/vmlinuz-5.10-x86_64 root=/dev/mapper/vg0-rootvol rw 
  cryptdevice=UUID=6afec7bc-41b1-40f2-8198-a4fea301c902:cryptroot 
  udev.log_priority=3 pci=nomsi 
  Console: tty pts/2 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux 
  base: Arch Linux 
Machine:
  Type: Laptop System: HP product: OMEN by HP Laptop v: Type1ProductConfigId 
  serial: <filter> Chassis: type: 10 serial: N/A 
  Mobo: HP model: 825F v: 82.73 serial: <filter> UEFI: Insyde v: F.49 
  date: 07/19/2018 
Memory:
  RAM: total: 31.32 GiB used: 11.5 GiB (36.7%) 
  Array-1: capacity: 32 GiB slots: 2 EC: None max-module-size: 16 GiB 
  note: est. 
  Device-1: Bottom-Slot 1(left) size: 16 GiB speed: 2400 MT/s type: DDR4 
  detail: synchronous bus-width: 64 bits total: 64 bits manufacturer: Kingston 
  part-no: KHX2400C14S4/16G serial: <filter> 
  Device-2: Bottom-Slot 2(right) size: 16 GiB speed: 2400 MT/s type: DDR4 
  detail: synchronous bus-width: 64 bits total: 64 bits manufacturer: Kingston 
  part-no: KHX2400C14S4/16G serial: <filter> 
CPU:
  Info: Quad Core model: Intel Core i7-6700HQ socket: U3E1 bits: 64 
  type: MT MCP arch: Skylake-S family: 6 model-id: 5E (94) stepping: 3 
  microcode: E2 cache: L1: 256 KiB L2: 6 MiB L3: 6 MiB bogomips: 41621 
  Speed: 3122 MHz min/max: 800/3500 MHz base/boost: 2000/8300 volts: 0.8 V 
  ext-clock: 100 MHz Core speeds (MHz): 1: 3122 2: 3189 3: 3236 4: 3144 
  5: 3157 6: 3263 7: 3259 8: 3142 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
  cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
  f16c flexpriority flush_l1d fma fpu fsgsbase fxsr hle ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
  mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdseed rdtscp rep_good rtm sdbg sep smap smep ss ssbd sse sse2 sse4_1 
  sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
  xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:
  Device-1: NVIDIA GP106BM [GeForce GTX 1060 Mobile 6GB] 
  vendor: Hewlett-Packard driver: nvidia v: 465.31 
  alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1c60 
  class-ID: 0300 
  Device-2: Microdia Camera type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 1-2.3:5 chip-ID: 0c45:6340 class-ID: 0102 
  Device-3: Sunplus Innovation HP Wide Vision HD type: USB driver: uvcvideo 
  bus-ID: 1-4:6 chip-ID: 1bcf:2c87 class-ID: 0e02 
  Display: server: X.org 1.20.11 compositor: kwin_x11 driver: loaded: nvidia 
  resolution: <missing: xdpyinfo> 
  Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
  chip-ID: 8086:a170 class-ID: 0403 
  Device-2: NVIDIA GP106 High Definition Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f1 
  class-ID: 0403 
  Device-3: Microdia Camera type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 1-2.3:5 chip-ID: 0c45:6340 class-ID: 0102 
  Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.30 running: yes 
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel port: 4000 
  bus-ID: 08:00.0 chip-ID: 8086:095a class-ID: 0280 
  IF: wlo1 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 09:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
  bus-ID: 1-7:7 chip-ID: 8087:0a2a class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled 
  rfk-block: hardware: no software: no address: see --recommends 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 19.98 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/dm-2 maj-min: 254:2 mapped: vg0-swapvol label: N/A 
  uuid: d5cfb69c-e8ea-4155-bdf6-b4266cce62a3 
Sensors:
  System Temperatures: cpu: 78.0 C mobo: N/A gpu: nvidia temp: 62 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 393 Uptime: 6h 40m wakeups: 7 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.0 Packages: 1574 
  pacman: 1568 lib: 458 flatpak: 6 Shell: Zsh (sudo) v: 5.8 default: Bash 
  v: 5.1.8 running-in: yakuake inxi: 3.3.04

정리하다:

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

Section "Files"
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         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AOC 27G2G4"
    HorizSync       160.0 - 160.0
    VertRefresh     48.0 - 144.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1060"
EndSection

Section "Screen"

# Removed Option "metamodes" "DP-1: 1920x1080_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "DPI" "96 x 96"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DP-1: 1920x1080_144 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

관련 정보