Hybrid graphics woes

Hello all. I am using a Dell Precision 5490. I am trying to use Manjaro (KDE) instead of Windows. Unfortunately, I am having issues with GPU (integrated intel graphics + Nvidia RTX Ada 2000). Most pressingly, this keeps happening:

This portion of the screen frequently flickers in this manner. It appears to be related to updates on the screen as it doesn’t appear/disappear unless there is keyboard input/mouse movement. There doesn’t seem to be any consistent trigger. I tried seeing if switching to just using nvidia GPU fixed it, but I have to use hybrid driver or else I get a black screen and I was unable to use optimus manager as, in addition to the bug requiring me to run prime-offload before optimus-manager, nothing happens when I do optimus-manager --switch nvidia, and changing the startup setting didn’t work either.

Any help would be appreciated!

post the output of theses 2 commands

inxi --admin --verbosity=7 --filter --no-host --width

echo $XDG_SESSION_TYPE && glxinfo | grep server

Looks like screen tearing…

What session type?

echo $XDG_SESSION_TYPE 

In case of Xorg, you could force Tearfree:

file:/etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "TearFree" "true"
EndSection

You could try disabling some power saving options, which might cause an issue:

file: /etc/modprobe.d/intel.conf

options i915 enable_psr=0
options i915 enable_dc=0
options i915 enable_fbc=0
options i915 verbose_state_checks=Y
options i915 mitigations=off

Reboot after creating the file to apply.

More information:

modinfo -p i915

Here are the outputs:

System:
  Kernel: 6.9.2-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64
    root=UUID=20bce419-0170-49aa-877d-9701641fabf1 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.2.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Precision 5490 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0G47P7 v: A00 serial: <superuser required> part-nu: 0CC7
    uuid: <superuser required> UEFI: Dell v: 1.0.3 date: 01/25/2024
Battery:
  ID-1: BAT0 charge: 31.6 Wh (44.8%) condition: 70.6/70.6 Wh (100.0%)
    volts: 14.2 min: 15.4 model: SMP DELL YXP8T425 type: Li-poly serial: <filter>
    status: discharging cycles: 3
Memory:
  System RAM: total: 32 GiB available: 30.98 GiB used: 3.37 GiB (10.9%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 8 modules: 8 EC: None
    max-module-size: 4 GiB note: est.
  Device-1: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
  Device-2: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
  Device-3: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
  Device-4: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
  Device-5: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
  Device-6: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
  Device-7: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
  Device-8: Motherboard type: LPDDR5 detail: synchronous size: 4 GiB speed:
    spec: 8533 MT/s actual: 7467 MT/s volts: curr: 0.5 width (bits): data: 16
    total: 16 manufacturer: N/A part-no: N/A serial: N/A
CPU:
  Info: model: Intel Core Ultra 7 165H bits: 64 type: MST AMCP
    arch: Meteor Lake level: v3 note: check built: 2023+ process: Intel 4 (7nm)
    family: 6 model-id: 0xAA (170) stepping: 4 microcode: 0x1C
  Topology: cpus: 1x cores: 16 mt: 5 tpc: 2 st: 11 threads: 21 smt: enabled
    cache: 24 MiB note: check
  Speed (MHz): avg: 1044 high: 3101 min/max: 400/3101 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 3101 2: 400 3: 600 4: 600
    5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 2706 13: 3101
    14: 2100 15: 400 16: 3040 17: 400 18: 400 19: 1096 20: 800 21: 400
    bogomips: 129066
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts bus_lock_detect clflush clflushopt clwb 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 fsrm fxsr gfni hfi ht ibpb
    ibrs ibrs_enhanced ibt ida intel_pt invpcid lahf_lm lm mca mce md_clear
    mmx monitor movbe movdir64b movdiri msr mtrr nonstop_tsc nopl nx ospke pae
    pat pbe pcid pclmulqdq pconfig pdcm pdpe1gb pebs pge pku pln pni popcnt
    pse pse36 pts rdpid rdrand rdseed rdtscp rep_good sdbg sep serialize
    sha_ni smap smep smx split_lock_detect ss ssbd sse sse2 sse4_1 sse4_2
    ssse3 stibp syscall tm tm2 tme tpr_shadow tsc tsc_adjust
    tsc_deadline_timer tsc_known_freq umip user_shstk vaes vme vmx vnmi
    vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec xsaveopt xsaves
    xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  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: Enhanced / Automatic IBRS; IBPB: conditional;
    RSB filling; PBRSB-eIBRS: Not affected; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Meteor Lake-P [Intel Arc Graphics] vendor: Dell driver: i915
    v: kernel alternate: xe arch: Gen-13 process: Intel 4 (7nm+) built: 2023+
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
    chip-ID: 8086:7d55 class-ID: 0300
  Device-2: NVIDIA AD107GLM [RTX 2000 Ada Generation Laptop GPU] vendor: Dell
    driver: nvidia v: 550.78 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-04; EOL~2026-12-xx) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-2022 pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:28b8
    class-ID: 0302
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
    s-diag: 599mm (23.57")
  Monitor-1: eDP-1 model: AU Optronics 0xf99a built: 2021 res: 1920x1200
    hz: 60 dpi: 162 gamma: 1.2 size: 301x188mm (11.85x7.4") diag: 355mm (14")
    ratio: 16:10 modes: 1920x1200
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.0.8-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Arc Graphics (MTL)
    device-ID: 8086:7d55 memory: 30.25 GiB unified: yes
  API: Vulkan v: 1.3.279 layers: 1 device: 0 type: discrete-gpu name: NVIDIA
    RTX 2000 Ada Generation Laptop GPU driver: nvidia v: 550.78
    device-ID: 10de:28b8 surfaces: xcb,xlib
Audio:
  Device-1: Intel vendor: Dell driver: N/A bus-ID: 00:05.0 chip-ID: 8086:7d19
    class-ID: 0480
  Device-2: Intel Meteor Lake-P HD Audio vendor: Dell
    driver: sof-audio-pci-intel-mtl
    alternate: snd_hda_intel,snd_sof_pci_intel_mtl bus-ID: 00:1f.3
    chip-ID: 8086:7e28 class-ID: 0401
  API: ALSA v: k6.9.2-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.7 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: Intel Wi-Fi 7 AX1775 /AX1790 /BE20 /BE401/BE1750 2x2
    driver: iwlwifi v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 1 link-max:
    gen: 4 speed: 16 GT/s bus-ID: 02:00.0 chip-ID: 8086:272b class-ID: 0280
  IF: wlp2s0f0 state: up mac: <filter>
  IP v4: <filter> type: dynamic scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0036 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 624.16 GiB (65.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: KIOXIA model: KXG80ZNV1T02 NVMe
    1024GB size: 953.87 GiB block-size: physical: 512 B logical: 512 B
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 11304102
    temp: 32.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 780.75 GiB size: 767.43 GiB (98.29%)
    used: 624.16 GiB (81.3%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
    label: N/A uuid: 20bce419-0170-49aa-877d-9701641fabf1
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
    uuid: 36D1-9EDB
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 240 MiB fs: vfat label: ESP
    uuid: 78F4-32F4
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 169.43 GiB fs: bitlocker
    label: N/A uuid: N/A
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 1.24 GiB fs: ntfs
    label: WINRETOOLS uuid: 0410428A104282A2
  ID-5: /dev/nvme0n1p5 maj-min: 259:5 size: 1.59 GiB fs: ntfs
    label: DELLSUPPORT uuid: A6003CF1003CCA57
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 1 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: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 12 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-8:2 info: Intel USB Bridge type: <vendor specific>
    driver: gpio_ljca,i2c_ljca,ljca,spi_ljca interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 8086:0b63 class-ID: 0000
  Device-2: 3-9:3 info: Shenzhen Goodix Fingerprint USB Device
    type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 27c6:634c class-ID: ef00 serial: <filter>
  Device-3: 3-10:4 info: Intel 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: 8087:0036 class-ID: e001
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 40.0 C sodimm: Mem C
  Fan Speeds (rpm): cpu: 2512 fan-2: 2514
Info:
  Processes: 424 Power: uptime: 2m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 12.36 GiB services: org_kde_powerdevil, power-profiles-daemon,
    upowerd Init: systemd v: 255 default: graphical tool: systemctl
  Packages: 1308 pm: pacman pkgs: 1300 libs: 424 tools: pamac pm: flatpak
    pkgs: 8 Compilers: gcc: 14.1.1 Shell: Zsh v: 5.9 default: Bash v: 5.2.26
    running-in: konsole inxi: 3.3.34

and:

x11
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

for switching to nvidia install envycontrol

pamac install envycontrol

and switch via

sudo envycontrol -s nvidia

reboot and recheck with

echo $XDG_SESSION_TYPE && glxinfo | grep server

it should be nvidia instead sgi (intel)

Thanks for the suggestions! However the x11 setting gave me a blank screen. I tried enable_psr=0 via boot settings also and also got a blank screen. Additionally it is interesting to note that the issue occurs even in tty3 and immediately after selecting the manjaro option in the boot menu before the display manager ever loads!

@Olli
This was successful in switching to nvidia but unsuccessful in removing the screen flickering issue

use a live-iso and boot to a live session. use something different (linux mint or whatever). check if the problem still persist. a hardware failure might cause if the problem persist with a different os-system.
check this first.

2 Likes

I guess you need to modify this file: /usr/share/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf. Copy it to /etc/X11/xorg.conf.d/

Okay… so you did not as I suggested. Alright.

I was trying to say that previously I had tried it through boot settings so I was wondering if I should still try it this way. I’ll take that as a yes. Thanks for helping.

@Olli
I just tested with windows and confirmed it doesn’t occur there. Does it matter if its windows as opposed to linux?

no it doesn’t matter. you’ve checked and prooved that it’s no hardware-failure. that’s fine.
a question, did you make any changes to any config files ?

@Olli
I think I have been having this problem since installing manjaro. In fact I reinstalled but it still happened. I don’t think I really changed anything significant other than what was mentioned in this thread.

can you try a different kernel ? try kernel 6.1.xx or/and 6.6.xx that are marked as lts (long-term-support).
check what version with

uname -a

after installing and reboot.

I tried 6.6. However i get black screen only tty works. And flickering is occuring still on this tty screen :confused:

The black screen is actually most likely because I was also trying the intel tearing setting again. But again, 6.6 did not make a difference to the issue

Edit: Sorry, info for wrong model, please delete.

Based on @megavolt 's suggestion that it sounds like screen tearing, I tried changing the refresh rate from 60Hz to 48Hz. Somehow, this appears to have worked, which is strange since the actual refresh rate of the monitor is 60Hz.

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