My computer has dual video cards.
Intel HD Graphics 4000
Nvidia Geforce GT 740m
Screen resolution : 1366x768
Intel is used by default
Xorg and Wayland have the same problem
As you can see in the picture, random black dots appear on the screen in firefox. The same problem occurs in any window in Kde.
The theme I use is ArcDark but it does the same thing with the default theme
The same problem happens with other desktop environments but I don’t understand why (Xfce-Cinnamon-Gnome)
Hi @LeviSpektrum ,
Have you tried another screen? Even if only temporary? Or that screen on a PC that you know works? (That might be difficult, because it sounds like a laptop.)
It’s not screen, it’s probably iGPU. I have same thing happening to me occasionally – on IvyBridge. Or maybe it’s faulty cable.
Yes, unfortunately I’m using a laptop so I didn’t have a chance to try it on another screen. I think it’s the intel driver but I didn’t manage to install another intel driver.
Then I suspect you’ll have to test another screen. This will allow you to test the cable which could be it, as @zbe stated:
There is only one driver per graphics card available, so you probably won’t be able to easily change…
Erim
25 January 2024 15:26
6
Since it shows up on a screenshot it can’t be the screen or a cable, as long as the screenshot is taken using software
OK, that is true…I’m all out of other ideas, though…
Olli
25 January 2024 15:38
8
what kernel, gpu-driver etc ? post the output of
inxi --admin --verbosity=7 --filter --no-host --width
use the option “preformatted text” and paste it inside
System:
Kernel: 6.6.10-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
root=UUID=134145ac-00e5-4120-9961-69dcea391809 rw quiet splash
udev.log_priority=3
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: ARCELIK A.S. product: GNB-1588-B1-i5 v: 03
serial: <superuser required> Chassis: Quanta type: 10 v: UK
serial: <superuser required>
Mobo: Quanta model: TWD v: TBD serial: <superuser required> UEFI: Insyde
v: GR162 date: 05/27/2014
Memory:
System RAM: total: 12 GiB available: 11.57 GiB used: 3.52 GiB (30.4%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i5-3210M bits: 64 type: MT MCP arch: Ivy Bridge
gen: core 3 level: v2 built: 2012-15 process: Intel 22nm family: 6
model-id: 0x3A (58) stepping: 9 microcode: 0x21
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 1773 high: 3100 min/max: 1200/3100 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 3100 2: 1200 3: 1200
4: 1592 bogomips: 19961
Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov
constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb
ept erms est f16c flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs
ida lahf_lm lm mca mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx
pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts
rdrand rdtscp rep_good sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid x2apic
xsave xsaveopt xtopology xtpr
Vulnerabilities:
Type: gather_data_sampling status: Not affected
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: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics vendor: QUANTA driver: i915
v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports:
active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0
chip-ID: 8086:0166 class-ID: 0300
Device-2: NVIDIA GK208M [GeForce GT 740M] vendor: QUANTA driver: nvidia
v: 470.223.02 alternate: nouveau,nvidia_drm non-free: series: 470.xx+
status: legacy-active (EOL~2024-09-xx) arch: Kepler code: GKxxx
process: TSMC 28nm built: 2012-2018 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1292
class-ID: 0302
Device-3: Chicony USB HD Webcam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-3:3 chip-ID: 04f2:b506
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau
alternate: fbdev,nv,vesa dri: crocus gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
s-diag: 414mm (16.31")
Monitor-1: LVDS-1 model: AU Optronics 0x42ec built: 2013 res: 1366x768
hz: 60 dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
ratio: 16:9 modes: 1366x768
API: EGL v: 1.5 hw: drv: intel crocus drv: nvidia platforms: device: 0
drv: nvidia device: 1 drv: crocus device: 3 drv: swrast gbm: drv: kms_swrast
surfaceless: drv: crocus x11: drv: crocus inactive: wayland,device-2
API: OpenGL v: 4.6.0 compat-v: 4.2 vendor: intel mesa v: 23.3.3-manjaro1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4000 (IVB GT2)
device-ID: 8086:0166 memory: 1.46 GiB unified: yes
API: Vulkan v: 1.3.274 layers: 1 device: 0 type: discrete-gpu
name: NVIDIA GeForce GT 740M driver: nvidia v: 470.223.02
device-ID: 10de:1292 surfaces: xcb,xlib device: 1 type: integrated-gpu
name: Intel HD Graphics 4000 (IVB GT2) driver: mesa intel
v: 23.3.3-manjaro1.1 device-ID: 8086:0166 surfaces: xcb,xlib
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: QUANTA 7
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
class-ID: 0403
API: ALSA v: k6.6.10-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8723AE PCIe Wireless Network Adapter vendor: AzureWave
driver: rtl8723ae v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000
bus-ID: 07:00.0 chip-ID: 10ec:8723 class-ID: 0280
IF: wlp7s0 state: down mac: <filter>
Device-2: Qualcomm Atheros AR8161 Gigabit Ethernet vendor: QUANTA
driver: alx v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
bus-ID: 08:00.0 chip-ID: 1969:1091 class-ID: 0200
IF: enp8s0 state: down mac: <filter>
Device-3: TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
driver: rtl88XXau type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0
bus-ID: 2-1.4:4 chip-ID: 2357:011e class-ID: 0000 serial: <filter>
IF: wlp0s26u1u4 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: IMC Networks Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 2-1.3:3 chip-ID: 13d3:3394
class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 810.43 GiB used: 159.94 GiB (19.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SV300S37A120G
size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: BBF0 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: ST750LM022 HN-M750MBB
size: 698.64 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: 0001 scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 52 GiB size: 50.88 GiB (97.85%) used: 17.65 GiB (34.7%)
fs: ext4 dev: /dev/sda5 maj-min: 8:5 label: N/A
uuid: 134145ac-00e5-4120-9961-69dcea391809
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 25.4 MiB (26.4%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
uuid: 3A5B-D378
ID-3: /mnt/540EF5460EF52222 raw-size: 398.63 GiB size: 398.63 GiB (100.00%)
used: 87.67 GiB (22.0%) fs: ntfs dev: /dev/sdb1 maj-min: 8:17 label: N/A
uuid: 540EF5460EF52222
ID-4: /mnt/82fbbfa1-c03e-4987-88ff-c0328bc00f77 raw-size: 300 GiB
size: 294.22 GiB (98.07%) used: 15.77 GiB (5.4%) fs: ext4 dev: /dev/sdb2
maj-min: 8:18 label: Linux Yedek uuid: 82fbbfa1-c03e-4987-88ff-c0328bc00f77
ID-5: /run/media/ahmet/1AF66E4CF66E2869 raw-size: 59.11 GiB
size: 59.11 GiB (100.00%) used: 38.83 GiB (65.7%) fs: ntfs dev: /dev/sda3
maj-min: 8:3 label: N/A uuid: 1AF66E4CF66E2869
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: <superuser required> label: N/A
uuid: N/A
ID-2: /dev/sda4 maj-min: 8:4 size: 575 MiB fs: ntfs label: N/A
uuid: 64303CCF303CAA46
USB:
Hub-1: 1-0:1 info: full speed or root hub 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-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:0024
class-ID: 0900
Hub-3: 2-0:1 info: full speed or root hub 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: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:0024
class-ID: 0900
Device-1: 2-1.3:3 info: IMC Networks Bluetooth type: bluetooth
driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
mode: 1.1 power: 500mA chip-ID: 13d3:3394 class-ID: e001 serial: <filter>
Device-2: 2-1.4:4 info: TP-Link AC600 wireless Realtek RTL8811AU [Archer
T2U Nano] type: Network driver: rtl88XXau interfaces: 1 rev: 2.1
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
chip-ID: 2357:011e class-ID: 0000 serial: <filter>
Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 4 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: 3-1:2 info: Holtek Lenovo Gaming Mouse type: mouse
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 100mA chip-ID: 1a81:2232 class-ID: 0301
Device-2: 3-3:3 info: Chicony USB HD Webcam type: video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
power: 500mA chip-ID: 04f2:b506 class-ID: 0e02 serial: <filter>
Hub-6: 4-0:1 info: super-speed hub ports: 4 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
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 224 Uptime: 1h 20m wakeups: 0 Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: pm: pacman pkgs: 1245 libs: 368 tools: pamac pm: flatpak pkgs: 0
Shell: Zsh v: 5.9 default: Bash v: 5.2.21 running-in: konsole inxi: 3.3.31
Olli
25 January 2024 15:45
10
okay and now the output of
echo $XDG_SESSION_TYPE && glxinfo | grep server
x11
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
Olli
25 January 2024 15:52
12
okay, you’re at the internal intel-gpu. i would recommend to switch to nvidia.
a nice tool is envycontrol. install it with
pamac install envycontrol
run
sudo envycontrol --switch nvidia
reboot and post the output of
echo $XDG_SESSION_TYPE && glxinfo | grep server
after reboot
1 Like
I had already tried switching to a secondary video card, but this time the window maximization and minimization animations were stuttering and my fan was spinning all the time. But I used optimus-manager to switch to the secondary gpu, does the program I used make a difference?
Olli
25 January 2024 16:01
14
if you use optimus-manager then you’ll have to edit the configs as described here
https://github.com/Askannz/optimus-manager
what is the actual state of
echo $XDG_SESSION_TYPE && glxinfo | grep server
Yes, I followed the instructions here to install optimus manager. Now I’ll try to switch to nvidia using envycontrol. By the way, my problem disappeared when I ran firefox using prime-run. I guess intel’s open source drivers don’t work very well on my machine.
Olli
25 January 2024 16:14
16
it’s the less performance of the cpu that is additional reduced with the actual setting of the scaling governor. switch to performace-governor
https://wiki.archlinux.org/title/Scaling_governor
if you use envycontrol don’t miss to disable and mask optimus-manager
sudo systemctl stop optimus-manager && sudo systemctl disable optimus-manager && sudo systemctl mask optimus-manager
if everything works well remove optimus manager complete
x11
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
After resetting and uninstalling optimus manager, I installed envycontrol and switched to nvidia. Unfortunately, just like with optimus-manager, the window maximization and minimization animations stutter and I have screen tearing problems. I think the only solution is to run kde with intel and firefox with prime-run with nvidia.
Olli
25 January 2024 17:04
18
please use the performance-governor and test this before. i’m very convinced running this cpu@1200MHz is the reason for your lagging-problem in the end
cpupower frequency-set -g governor
I need to use this code, right? And what mode is this setting in by default? I’m asking to undo the setting if things go bad. I’m a little new to linux
Olli
25 January 2024 17:20
20
there’s nothing going bad.
you can always switch between the governors you’ll find with
cpupower frequency-info
usually they are performance, schedutil, powersafe etc…
keep in mind that these changes just temporarily and are set to default after reboot. check the link from archwiki and dig into setting up governor-scaling. you’ll find a lot in the net.
use
sudo cpupower frequency-set -g performance
1 Like