Black windows Issue After Prolonged Usage

I am using Manjaro KDE. Initially, there were no problems, but I noticed that after running for a prolonged period, any new window that I open appears to be black. This issue has occurred several times, especially after long periods of usage. I initially thought it was due to insufficient memory, as it usually happened after running numerous programs. After closing some of the applications, the newly opened windows seemed to function normally. However, despite recently upgrading to a significant amount of memory, the problem persists, leading me to suspect that it may be due to the GPU memory. The GPU on this machine is a GTX1060 6GB. I’m not sure if this is caused by having too many applications open, which results in insufficient GPU memory. I typically keep multiple tabs open on Chrome, and have four Visual Studio Code windows open, along with other software.
Additionally, another observation is that sometimes, after repeatedly minimizing and then restoring the window, it seems to return to normal. I am unsure why this occurs.
Has anyone else encountered the same problem, or have any suggestions? Thank you in advance.

System Info

  Kernel: 6.1.38-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=450ebcbd-7af5-442e-8b0c-f94e4c2561cb rw quiet splash
    resume=UUID=fe12e1bc-d11b-4d2a-9607-3475355f74d9 udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
  Type: Desktop System: Dell product: XPS 8930 v: 1.0.12 serial: <filter>
    Chassis: type: 3 serial: <filter>
  Mobo: Dell model: 0DF42J v: A00 serial: <filter> UEFI: Dell v: 1.0.12
    date: 07/06/2018
  Message: No system battery data found. Is one present?
  System RAM: total: 64 GiB available: 62.52 GiB used: 15.65 GiB (25.0%)
  Array-1: capacity: 128 GiB note: est. slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 32 GiB speed: 2666 MT/s volts: curr: 1.2 width (bits):
    data: 64 total: 64 manufacturer: 00002B0C0000 part-no: KF2666C16D4/32GX
    serial: <filter>
  Device-2: ChannelA-DIMM1 type: no module installed
  Device-3: ChannelB-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 32 GiB speed: 2666 MT/s volts: curr: 1.2 width (bits):
    data: 64 total: 64 manufacturer: 00002B0C0000 part-no: KF2666C16D4/32GX
    serial: <filter>
  Device-4: ChannelB-DIMM1 type: no module installed
  Info: model: Intel Core i7-8700 socket: LGA1151 (U3E1) note: check bits: 64
    type: MT MCP arch: Coffee Lake gen: core 8 level: v3 note: check built: 2018
    process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
    microcode: 0xF2
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 2329 high: 2498 min/max: 800/4600 base/boost: 3200/8300
    scaling: driver: intel_pstate governor: powersave volts: 1.0 V
    ext-clock: 100 MHz cores: 1: 2497 2: 2494 3: 2099 4: 2452 5: 2498 6: 2348
    7: 2492 8: 2457 9: 2475 10: 2493 11: 2483 12: 1165 bogomips: 76831
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities 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 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 sdbg sep sgx smap smep smx 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
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, STIBP: conditional,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: none empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3e92 class-ID: 0380
  Device-2: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Dell driver: nvidia
    v: 535.54.03 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-07) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1c03 class-ID: 0300
  Display: server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: i915,nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 162 s-size: 602x341mm (23.70x13.43")
    s-diag: 692mm (27.24")
  Monitor-1: HDMI-0 res: 3840x2160 hz: 60 dpi: 163
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.54.03 renderer: NVIDIA GeForce GTX 1060
    6GB/PCIe/SSE2 direct-render: Yes
  Device-1: Intel 200 Series PCH HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0 class-ID: 0403
  Device-2: NVIDIA GP106 High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f1 class-ID: 0403
  API: ALSA v: k6.1.38-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 0.3.73 status: n/a (root, process) with: wireplumber
    status: active tools: pw-cli,wpctl
  Server-4: PulseAudio v: 16.1 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    vendor: Dell driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 168c:0042 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet vendor: Dell
    driver: alx v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 04:00.0 chip-ID: 1969:e0a1 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
  WAN IP: <filter>
  Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-8:4 chip-ID: 0cf3:e009
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
  Message: No logical block device data found.
  Message: No RAID data found.
  Local Storage: total: 2.05 TiB used: 172.49 GiB (8.2%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
    model: KXG50ZNV256G NVMe 256GB size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: AADA4105 temp: 36.9 C scheme: GPT
  SMART: yes health: PASSED on: 2y 200d 6h cycles: 232
    read-units: 18,634,165 [9.54 TB] written-units: 21,368,644 [10.9 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: DT01ACA200 family: 3.5"
    DT01ACA... Desktop HDD size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B sata: 3.0 speed: 6.0 Gb/s tech: HDD rpm: 7200
    serial: <filter> fw-rev: AD30 temp: 39 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 2y 200d 16h cycles: 224
    read: 6.72 TiB written: 6.22 TiB
  Optical-1: /dev/sr0 vendor: PLDS model: DVD+-RW DU-8A5LH rev: 6D1M
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r state: running
  ID-1: / raw-size: 221.29 GiB size: 216.76 GiB (97.95%)
    used: 142.92 GiB (65.9%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2
    maj-min: 259:2 label: N/A uuid: 450ebcbd-7af5-442e-8b0c-f94e4c2561cb
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 324 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: N/A uuid: 7A9A-659E
  ID-3: /home/<filter>/Data raw-size: 1.82 TiB size: 1.79 TiB (98.37%)
    used: 29.56 GiB (1.6%) fs: ext4 block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1 label: N/A uuid: 64e346dd-74fb-4b64-9cd1-fa55571c2d65
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.88 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
    uuid: fe12e1bc-d11b-4d2a-9607-3475355f74d9
  Message: No unmounted partitions found.
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-5:2 info: Shenzhen Rapoo Gaming Keyboard type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 24ae:4056 class-ID: 0301
  Device-2: 1-6:3 info: Logitech Mouse type: mouse driver: hid-generic,usbhid
    interfaces: 1 rev: 2.0 speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0
    power: 100mA chip-ID: 046d:c077 class-ID: 0301
  Device-3: 1-8:4 info: Qualcomm Atheros type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 0cf3:e009 class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 10 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  System Temperatures: cpu: 42.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 1613 mobo: 808
  Processes: 470 Uptime: 7h 6m wakeups: 0 Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7
  Packages: 1630 pm: pacman pkgs: 1605 libs: 499 tools: pamac,yay pm: appimage
  pkgs: 0 pm: flatpak pkgs: 25 Shell: Zsh (sudo) v: 5.9 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.28
1 Like

Welcome to Manjaro! :smiling_face_with_three_hearts:

  1. Please read the information behind this link. It will help you to post necessary information.
  1. Please press the three dots below your post and then press the :pencil2:
  • If you give us information about your system, we can see what we’re talking about and make better suggestions.
  • You can do this by using inxi in a terminal or in console.
sudo inxi --admin --verbosity=7 --filter --no-host --width
  • Personally identifiable information such as serial numbers and MAC addresses are filtered out by this command
  • Presenting the information in this way allows everyone to be familiar with the format and quickly find the items they need without missing anything.
  1. Copy the output from inxi (including the command) and paste it into your post.
  • To make it more readable, add 3 backticks ``` on an extra line before and after the pasted text.

Have you already :mag: for your problem in the forum ? (Wisdom lies in asking → listening → reading :wink: )

I add system information. And yes, I have searched on the forum and can not find any related questions.

when the issue happens again, provide logs:
journalctl -b0 -p4 --no-pager
try with different kernel…
create a new test user in system settings, reboot, log in with the test user, and see if it happens also there…

1 Like

Okay, I will update this post when it happened.

@brahma Hi, brahma, this issue happens today. Here is the log.

1 Like

An image shows the issue.

1 Like

you have these:

7月 16 13:04:50 seraphli-xps8930 kernel: pcieport 0000:00:1c.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)

and also a lot of these errors:

7月 16 19:47:35 seraphli-xps8930 kernel: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 2

and all are on dev sr0… is it a usb or what?
check with:
sudo fdisk -l

for the pci errors, lets add a kernel parameter:
kate /etc/default/grub
and edit this line: GRUB_CMDLINE_LINUX_DEFAULT - inside the quotes “” add this parameter:
dont remove any parameters, just add them to the existing one, then save the file, and update grub:
sudo update-grub
reboot and check logs for the pci/aer errors…
journalctl -b0 --no-pager | grep -E 'pcieport|PCIe|severity'
if they are no longer present, test and see if it helped…
also pay attention to some new possible issues, if you noticed any, report back, and we change the parameter for another one…

I have similar errors. From what I can tell based on my system, sr0 is an optical drive and those errors occur when it is empty.
So in my case I considered them harmless

1 Like

The result from lsblk

sda           8:0    0   1.8T  0 disk 
└─sda1        8:1    0   1.8T  0 part /home/seraphli/Data
sr0          11:0    1  1024M  0 rom  
nvme0n1     259:0    0 238.5G  0 disk 
├─nvme0n1p1 259:1    0   300M  0 part /boot/efi
├─nvme0n1p2 259:2    0 221.3G  0 part /
└─nvme0n1p3 259:3    0  16.9G  0 part [SWAP]

fdisk returns nothing related to `sr0
I will update the grub later.

Reboot with updated grub
Here is the log.

8月 09 09:13:13 seraphli-xps8930 kernel: ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
8月 09 09:13:13 seraphli-xps8930 kernel: pci 0000:01:00.0: 32.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x16 link at 0000:00:01.0 (capable of 126.016 Gb/s with 8.0 GT/s PCIe x16 link)
8月 09 09:13:13 seraphli-xps8930 kernel: pci 0000:02:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0000:00:1c.0 (capable of 15.752 Gb/s with 8.0 GT/s PCIe x2 link)
8月 09 09:13:36 seraphli-xps8930 kwin_x11[1063]: OpenGL renderer string:                 NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
8月 09 09:13:41 seraphli-xps8930 kwin_x11[1733]: OpenGL renderer string:                 NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

There is no error for now. I may check this log later when the issue happens.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.