Random freezes (and horrible graphics performances) on new laptop

Dear all,

I’m struggling a bit with a new laptop (Tuxedo InfinityBook Pro 16 Gen 8).

This laptop has an integrated Iris Xe i915 GPU and a discrete Nvidia 4060 one (see output from inxi -G):

Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] driver: N/A
  Device-3: SunplusIT FHD Webcam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 1: 3840x2160~60Hz 2: 2176x1360~240Hz
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.

Right now I’m using the drivers I got after the base installation of Manjaro (i3 community edition). I found I was using libva-intel-driver.
The main issue I got was that I was experiencing random hard freezes of my machine; with “hard” I mean totally blocked, not even possible to switch to a tty (I could only use sysrq codes to sync and then reboot the machine via the hardware reset button). Nothing of relevance in journal too, apart from this error just before the freeze:

Sep 18 14:33:51 sadhana vivaldi-stable.desktop[24877]: libva error: /usr/lib/dri/i965_drv_video.so init failed

In any case I was wondering: right now I’m not using at all the discrete graphics card and I’d like to set things up properly so I can be able to liberally switch betweeen the integrated and discrete graphics card. I’m not sure how to do this…
This is what I can see right now in the Manjaro hardware configuration:

What’s the best path moving forward? should I just choose “Auto install proprietary driver”? or choose some of the options manually?

Also, in my attempt to improve things with the integrated GPU (and to see if this at leasts prevents the hard freezes) I’ve just removed libva-intel-driver and I installed instead intel-media-driver (that from what I read should be the more recent driver for Intel cards).

Any help/advice would be greatly appreciated!

provide full system info:
inxi -zav7
and output from:
mhwd -l -li

1 Like

inxi -zav7: (I just removed a bit of clutter from the disk/partition/usb sections that I believe are not relevant here)

System:
  Kernel: 6.4.16-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4-x86_64
    root=UUID=aa660cc6-7d28-4750-af92-8602bfc54d25 rw quiet apparmor=1
    security=apparmor udev.log_priority=3 ibt=off i915.enable_psr=0
    i915.enable_dc=0 i915.enable_psr2_sel_fetch=0 i915.enable_rc6=0
  Desktop: Qtile v: 0.22.1 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: SchenkerGmbH product: SCHENKER VISION 16 Pro (M23)
    v: Standard serial: <superuser required>
  Mobo: NB02 model: PH6PG01_PH6AG71 v: Standard serial: <superuser required>
    UEFI: American Megatrends LLC. v: N.1.09A03 date: 05/11/2023
Battery:
  ID-1: BAT0 charge: 82.1 Wh (100.0%) condition: 82.1/82.1 Wh (100.0%)
    volts: 17.8 min: 15.5 model: standard type: Li-ion serial: <filter>
    status: full
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M325
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  System RAM: total: 64 GiB note: est. available: 62.53 GiB
    used: 3.13 GiB (5.0%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: 13th Gen Intel Core i7-13700H bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xBA (186) stepping: 2
    microcode: 0x4119
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 435 high: 791 min/max: 400/4800:5000:3700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 400 2: 557 3: 400 4: 400
    5: 400 6: 400 7: 791 8: 400 9: 400 10: 400 11: 400 12: 400 13: 566 14: 400
    15: 400 16: 400 17: 400 18: 400 19: 400 20: 400 bogomips: 116780
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts 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 hwp hwp_act_window
    hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced 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 pclmulqdq 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 tpr_shadow tsc
    tsc_adjust tsc_deadline_timer tsc_known_freq umip 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: 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: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Tongfang Hongkong
    driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: DP-1,eDP-1 empty: DP-2,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:a7a0 class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile]
    vendor: Tongfang Hongkong driver: nvidia v: 535.104.05
    alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-08) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022-23+ pcie: gen: 1 speed: 2.5 GT/s
    lanes: 8 link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0
    chip-ID: 10de:28a0 class-ID: 0300
  Device-3: SunplusIT FHD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:3 chip-ID: 2b7e:c757
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 compositors: 1: Qtile v: 0.22.1
    2: Picom v: git-b700a driver: X: loaded: modesetting dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 6016x2217 s-dpi: 96 s-size: 1590x586mm (62.60x23.07")
    s-diag: 1695mm (66.71")
  Monitor-1: DP-1 pos: primary,top-left model: Dell U4320Q serial: <filter>
    built: 2021 res: 3840x2160 hz: 60 dpi: 104 gamma: 1.2
    size: 941x529mm (37.05x20.83") diag: 1080mm (42.5") ratio: 16:9 modes:
    max: 3840x2160 min: 720x400
  Monitor-2: eDP-1 pos: bottom-r model: BOE Display 0x0a3b built: 2021
    res: 2176x1360 hz: 240 dpi: 161 gamma: 1.2 size: 344x215mm (13.54x8.46")
    diag: 406mm (16") ratio: 16:10 modes: 2560x1600
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Tongfang Hongkong
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:51ca class-ID: 0403
  Device-2: NVIDIA vendor: Tongfang Hongkong driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
  API: ALSA v: k6.4.16-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.80 status: off with: pipewire-media-session
    status: active tools: pw-cat,pw-cli
  Server-4: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f1 class-ID: 0280
  IF: wlo1 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: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 7c010c
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 5.49 TiB used: 282.26 GiB (5.0%)
  ...
Partition:
  ...
Swap:
  Alert: No swap data was found.
Unmounted:
  ...
USB:
  ...
Sensors:
  System Temperatures: cpu: 41.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 386 Uptime: 3m wakeups: 15 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 1429 pm: pacman pkgs: 1414 libs: 370 tools: pamac,paru,yay
  pm: appimage pkgs: 0 pm: flatpak pkgs: 15 Shell: Bash v: 5.1.16
  running-in: terminator inxi: 3.3.29

As for mhwd goes, I just tried choosing “Auto install proprietary driver”, so this is how it looks now (I can always go back to the previous state in no time, I’ve a full backup of my entire drive):

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
     video-modesetting            2020.01.13                true            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:28a0) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
          video-nvidia            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:a7a0) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Any help is super appreciated!
I’m not sure what’s best but as the situation is right now, my laptop is using by default the i915 driver (intel-media-driver) and the performances are terrible; I’ve extensive screen tearing in my browser so any advice on how to improve on this situation is highly appreciated (I’m also considering the option of using the discrete GPU by default, even though I’ve no idea how to get there)

did you tried with different kernels? if not, try with the 6.1 and the 6.5, and see if it happens there too…
if you still have the same issue, remove these parameters:

reboot and test again…


also, did you noticed any issues when you were booting the live usb of manjaro? did had the same problems?


also provide logs, after the issues happen:
journalctl -b-1 -p4 --no-pager

Hi @brahma , thanks for following me up on this, super appreciated.

So, when I experienced the first few (and frequent) hard freezes I actually was on Kernel 6.5, so my guess is that going back to 6.5 won’t probably improve the situation (I might try it again though and report back).

The parameters you see were actually added by me in order to see if this could reduce the frequency of the freezes. I can try removing them and see if this changes anything but the gist of it is that I was experiencing the crashes before adding those params. Do you think the params might be the reason of the bad baseline performances I’m getting with the integrated GPU?

As for the live ISO; the crashes are not that frequent to be noticed when using the live ISO. sometimes I get 2 crashes in a day, sometimes I can work on for 2-3 days without any issue so it’s not something I can test easily just by running off the ISO sadly.

Next time I get a crash I’ll post the journal here.
Thanks again!

so it only happens when you are on the 6.5 kernel? otherwise it runs without issues?

No, it still happens now that I’m on 6.4.x.

so test also with the 6.1 … if the crash happens again provide the logs (edited the previous command to show logs from the previous boot…)
you can also switch to nvidia and see how it works there… install this:
pamac build envycontrol
when done and no errors, run:
sudo envycontrol -s nvidia
if will prompt you for reboot, so do it and see if it helped with the graphics performance…

1 Like

Thank you so much, I’ll try both avenues and see if the situation improves!

Hi @brahma
I just switched to the discrete card with envycontrol -s nvidia and yes, performances are great now.
I’m even actually happy to keep it as a default (since I almost never use my laptop on battery power anyway).
Though, I’ve a different issue now: albeit everything works perfectly, I get frequent “freezes” of my external display. It just suddenly “freezes”: I can move my cursor and work normally on the laptop screen while my external display is completely “stuck”… if I run xrandr it too hangs for a few seconds before displaying its (correct) output. In order to fix it I have to switch to a TTY and then back to the graphic mode (TTY7) and it all comes back working as normal.
This very same issue seems documented in a post in the arch forum (it seems I cannot add a link to it here… it’s on bbs-dot-archlinux-dot-org-slash-viewtopic-dot-php?id=286419)

When this happens I see this in my journal:

Sep 21 07:36:01 sadhana kernel: i915 0000:00:02.0: [drm] *ERROR* flip_done timed out
Sep 21 07:36:01 sadhana kernel: i915 0000:00:02.0: [drm] *ERROR* [CRTC:131:pipe B] commit wait timed out
Sep 21 07:36:11 sadhana kernel: i915 0000:00:02.0: [drm] *ERROR* [CRTC:131:pipe B] flip_done timed out
Sep 21 07:36:50 sadhana kernel: i915 0000:00:02.0: [drm] *ERROR* flip_done timed out
Sep 21 07:36:50 sadhana kernel: i915 0000:00:02.0: [drm] *ERROR* [CRTC:131:pipe B] commit wait timed out
Sep 21 07:37:01 sadhana kernel: i915 0000:00:02.0: [drm] *ERROR* flip_done timed out
Sep 21 07:37:01 sadhana kernel: i915 0000:00:02.0: [drm] *ERROR* [PLANE:82:plane 1B] commit wait timed out
Sep 21 07:37:01 sadhana kernel: ------------[ cut here ]------------
Sep 21 07:37:01 sadhana kernel: i915 0000:00:02.0: vblank wait timed out on crtc 1
Sep 21 07:37:01 sadhana kernel: WARNING: CPU: 2 PID: 1064 at drivers/gpu/drm/drm_vblank.c:1310 drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel: Modules linked in: uinput rfcomm ccm typec_displayport qrtr squashfs cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_realtek snd_hda_codec_generic nvidia_uvm(POE) hid_logitech_hidpp snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_cadence snd_sof_intel_hda_mlink snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_s>
Sep 21 07:37:01 sadhana kernel:  drm_display_helper processor_thermal_device crc32_pclmul snd_hda_core asus_wmi iTCO_wdt snd_hwdep processor_thermal_rfim polyval_clmulni uvcvideo mei_pxp cec polyval_generic snd_pcm mei_hdcp ov13858 intel_pmc_bxt nvidia(POE) ledtrig_audio gf128mul videobuf2_vmalloc ghash_clmulni_intel uvc iwlwifi sha512_ssse3 videobuf2_memops spi_nor aesni_intel v>
Sep 21 07:37:01 sadhana kernel:  nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 vboxnetflt(OE) vboxnetadp(OE) nf_tables libcrc32c nfnetlink vboxdrv(OE) sg crypto_user fuse dm_mod loop bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 nvme serio_raw atkbd libps2 nvme_core vivaldi_fmap spi_intel_pci xhci_pci crc32c_intel nvme_common i8042 xhci_pci_renesas spi_intel >
Sep 21 07:37:01 sadhana kernel: Unloaded tainted modules: tuxedo_keyboard(OE):6
Sep 21 07:37:01 sadhana kernel: CPU: 2 PID: 1064 Comm: Xorg Tainted: P           OE      6.4.16-1-MANJARO #1 b75fe5796da2edc38c34cd1a3d5a0deee650c91e
Sep 21 07:37:01 sadhana kernel: Hardware name: SchenkerTechnologiesGmbH SCHENKER VISION 16 Pro (M23)/PH6PG01_PH6AG71, BIOS N.1.09A03 05/11/2023
Sep 21 07:37:01 sadhana kernel: RIP: 0010:drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel: Code: 9d fe ff ff 48 8b 7b 08 4c 8b 67 50 4d 85 e4 74 25 e8 dd 33 02 00 89 e9 4c 89 e2 48 c7 c7 e8 8e aa 88 48 89 c6 e8 f9 6e 7d ff <0f> 0b e9 70 fe ff ff 48 8b 1f eb 9a 4c 8b 27 eb d6 e8 53 5e 4a 00
Sep 21 07:37:01 sadhana kernel: RSP: 0018:ffffb7b04444f628 EFLAGS: 00010286
Sep 21 07:37:01 sadhana kernel: RAX: 0000000000000000 RBX: ffff9d59691f8000 RCX: 0000000000000027
Sep 21 07:37:01 sadhana kernel: RDX: ffff9d688b6a16c8 RSI: 0000000000000001 RDI: ffff9d688b6a16c0
Sep 21 07:37:01 sadhana kernel: RBP: 0000000000000001 R08: ffffffff89caeaa0 R09: 0000000000ffff0a
Sep 21 07:37:01 sadhana kernel: R10: 0000000000000000 R11: 0000000000000100 R12: ffff9d5943154b10
Sep 21 07:37:01 sadhana kernel: R13: 0000000000023704 R14: ffff9d594c44f160 R15: 0000000030000000
Sep 21 07:37:01 sadhana kernel: FS:  00007f078fb53480(0000) GS:ffff9d688b680000(0000) knlGS:0000000000000000
Sep 21 07:37:01 sadhana kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 21 07:37:01 sadhana kernel: CR2: 000035e710b1e000 CR3: 0000000101b80000 CR4: 0000000000f50ee0
Sep 21 07:37:01 sadhana kernel: PKRU: 55555554
Sep 21 07:37:01 sadhana kernel: Call Trace:
Sep 21 07:37:01 sadhana kernel:  <TASK>
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? __warn+0x81/0x130
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? report_bug+0x171/0x1a0
Sep 21 07:37:01 sadhana kernel:  ? handle_bug+0x3c/0x80
Sep 21 07:37:01 sadhana kernel:  ? exc_invalid_op+0x17/0x70
Sep 21 07:37:01 sadhana kernel:  ? asm_exc_invalid_op+0x1a/0x20
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? __pfx_autoremove_wake_function+0x10/0x10
Sep 21 07:37:01 sadhana kernel:  hsw_audio_codec_disable+0xe5/0x150 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_audio_codec_disable+0xa8/0x170 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_disable_ddi+0x10f/0x1e0 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_encoders_disable+0x8a/0xb0 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  hsw_crtc_disable+0x129/0x140 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_atomic_commit_tail+0x3f2/0xdf0 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_atomic_commit+0x341/0x390 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  drm_atomic_commit+0x97/0xd0
Sep 21 07:37:01 sadhana kernel:  ? __pfx___drm_printfn_info+0x10/0x10
Sep 21 07:37:01 sadhana kernel:  drm_client_modeset_commit_atomic+0x203/0x250
Sep 21 07:37:01 sadhana kernel:  drm_client_modeset_commit_locked+0x5a/0x160
Sep 21 07:37:01 sadhana kernel:  __drm_fb_helper_restore_fbdev_mode_unlocked+0x5e/0xd0
Sep 21 07:37:01 sadhana kernel:  drm_fb_helper_set_par+0x2f/0x40
Sep 21 07:37:01 sadhana kernel:  intel_fbdev_set_par+0x1a/0x60 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  fb_set_var+0x201/0x420
Sep 21 07:37:01 sadhana kernel:  ? psi_group_change+0x213/0x3c0
Sep 21 07:37:01 sadhana kernel:  fbcon_blank+0x213/0x310
Sep 21 07:37:01 sadhana kernel:  do_unblank_screen+0xa9/0x160
Sep 21 07:37:01 sadhana kernel:  complete_change_console+0x54/0x120
Sep 21 07:37:01 sadhana kernel:  vt_ioctl+0xd8b/0x13f0
Sep 21 07:37:01 sadhana kernel:  tty_ioctl+0x4ed/0x8b0
Sep 21 07:37:01 sadhana kernel:  ? __pfx_drm_dropmaster_ioctl+0x10/0x10
Sep 21 07:37:01 sadhana kernel:  ? drm_ioctl_kernel+0xca/0x170
Sep 21 07:37:01 sadhana kernel:  ? drm_ioctl+0x296/0x4b0
Sep 21 07:37:01 sadhana kernel:  __x64_sys_ioctl+0x91/0xd0
Sep 21 07:37:01 sadhana kernel:  do_syscall_64+0x5d/0x90
Sep 21 07:37:01 sadhana kernel:  ? __x64_sys_ioctl+0xac/0xd0
Sep 21 07:37:01 sadhana kernel:  ? syscall_exit_to_user_mode+0x2b/0x40
Sep 21 07:37:01 sadhana kernel:  ? do_syscall_64+0x6c/0x90
Sep 21 07:37:01 sadhana kernel:  ? syscall_exit_to_user_mode+0x2b/0x40
Sep 21 07:37:01 sadhana kernel:  ? do_syscall_64+0x6c/0x90
Sep 21 07:37:01 sadhana kernel:  ? exc_page_fault+0x7f/0x180
Sep 21 07:37:01 sadhana kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
Sep 21 07:37:01 sadhana kernel: RIP: 0033:0x7f079050c9df
Sep 21 07:37:01 sadhana kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
Sep 21 07:37:01 sadhana kernel: RSP: 002b:00007ffc37b0e6c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Sep 21 07:37:01 sadhana kernel: RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f079050c9df
Sep 21 07:37:01 sadhana kernel: RDX: 0000000000000001 RSI: 0000000000005605 RDI: 000000000000000e
Sep 21 07:37:01 sadhana kernel: RBP: 000055bfca74fe60 R08: 0000000000000001 R09: 0000000000000000
Sep 21 07:37:01 sadhana kernel: R10: 00007f07906b50d8 R11: 0000000000000246 R12: ffffffffffffffe0
Sep 21 07:37:01 sadhana kernel: R13: 00000000ffffffff R14: 0000000000000004 R15: 0000000000000000
Sep 21 07:37:01 sadhana kernel:  </TASK>
Sep 21 07:37:01 sadhana kernel: ---[ end trace 0000000000000000 ]---
Sep 21 07:37:01 sadhana kernel: ------------[ cut here ]------------
Sep 21 07:37:01 sadhana kernel: i915 0000:00:02.0: vblank wait timed out on crtc 1
Sep 21 07:37:01 sadhana kernel: WARNING: CPU: 2 PID: 1064 at drivers/gpu/drm/drm_vblank.c:1310 drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel: Modules linked in: uinput rfcomm ccm typec_displayport qrtr squashfs cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_realtek snd_hda_codec_generic nvidia_uvm(POE) hid_logitech_hidpp snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_cadence snd_sof_intel_hda_mlink snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_s>
Sep 21 07:37:01 sadhana kernel:  drm_display_helper processor_thermal_device crc32_pclmul snd_hda_core asus_wmi iTCO_wdt snd_hwdep processor_thermal_rfim polyval_clmulni uvcvideo mei_pxp cec polyval_generic snd_pcm mei_hdcp ov13858 intel_pmc_bxt nvidia(POE) ledtrig_audio gf128mul videobuf2_vmalloc ghash_clmulni_intel uvc iwlwifi sha512_ssse3 videobuf2_memops spi_nor aesni_intel v>
Sep 21 07:37:01 sadhana kernel:  nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 vboxnetflt(OE) vboxnetadp(OE) nf_tables libcrc32c nfnetlink vboxdrv(OE) sg crypto_user fuse dm_mod loop bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 nvme serio_raw atkbd libps2 nvme_core vivaldi_fmap spi_intel_pci xhci_pci crc32c_intel nvme_common i8042 xhci_pci_renesas spi_intel >
Sep 21 07:37:01 sadhana kernel: Unloaded tainted modules: tuxedo_keyboard(OE):6
Sep 21 07:37:01 sadhana kernel: CPU: 2 PID: 1064 Comm: Xorg Tainted: P        W  OE      6.4.16-1-MANJARO #1 b75fe5796da2edc38c34cd1a3d5a0deee650c91e
Sep 21 07:37:01 sadhana kernel: Hardware name: SchenkerTechnologiesGmbH SCHENKER VISION 16 Pro (M23)/PH6PG01_PH6AG71, BIOS N.1.09A03 05/11/2023
Sep 21 07:37:01 sadhana kernel: RIP: 0010:drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel: Code: 9d fe ff ff 48 8b 7b 08 4c 8b 67 50 4d 85 e4 74 25 e8 dd 33 02 00 89 e9 4c 89 e2 48 c7 c7 e8 8e aa 88 48 89 c6 e8 f9 6e 7d ff <0f> 0b e9 70 fe ff ff 48 8b 1f eb 9a 4c 8b 27 eb d6 e8 53 5e 4a 00
Sep 21 07:37:01 sadhana kernel: RSP: 0018:ffffb7b04444f628 EFLAGS: 00010286
Sep 21 07:37:01 sadhana kernel: RAX: 0000000000000000 RBX: ffff9d59691f8000 RCX: 0000000000000027
Sep 21 07:37:01 sadhana kernel: RDX: ffff9d688b6a16c8 RSI: 0000000000000001 RDI: ffff9d688b6a16c0
Sep 21 07:37:01 sadhana kernel: RBP: 0000000000000001 R08: ffffffff89caeaa0 R09: 0000000000ffff0a
Sep 21 07:37:01 sadhana kernel: R10: 0000000000000000 R11: 0000000000000100 R12: ffff9d5943154b10
Sep 21 07:37:01 sadhana kernel: R13: 0000000000023704 R14: ffff9d594c44f160 R15: 0000000030000000
Sep 21 07:37:01 sadhana kernel: FS:  00007f078fb53480(0000) GS:ffff9d688b680000(0000) knlGS:0000000000000000
Sep 21 07:37:01 sadhana kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 21 07:37:01 sadhana kernel: CR2: 000035e710b1e000 CR3: 0000000101b80000 CR4: 0000000000f50ee0
Sep 21 07:37:01 sadhana kernel: PKRU: 55555554
Sep 21 07:37:01 sadhana kernel: Call Trace:
Sep 21 07:37:01 sadhana kernel:  <TASK>
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? __warn+0x81/0x130
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? report_bug+0x171/0x1a0
Sep 21 07:37:01 sadhana kernel:  ? handle_bug+0x3c/0x80
Sep 21 07:37:01 sadhana kernel:  ? exc_invalid_op+0x17/0x70
Sep 21 07:37:01 sadhana kernel:  ? asm_exc_invalid_op+0x1a/0x20
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? drm_wait_one_vblank+0x1f7/0x210
Sep 21 07:37:01 sadhana kernel:  ? __pfx_autoremove_wake_function+0x10/0x10
Sep 21 07:37:01 sadhana kernel:  hsw_audio_codec_disable+0xed/0x150 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_audio_codec_disable+0xa8/0x170 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_disable_ddi+0x10f/0x1e0 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_encoders_disable+0x8a/0xb0 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  hsw_crtc_disable+0x129/0x140 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_atomic_commit_tail+0x3f2/0xdf0 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  intel_atomic_commit+0x341/0x390 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  drm_atomic_commit+0x97/0xd0
Sep 21 07:37:01 sadhana kernel:  ? __pfx___drm_printfn_info+0x10/0x10
Sep 21 07:37:01 sadhana kernel:  drm_client_modeset_commit_atomic+0x203/0x250
Sep 21 07:37:01 sadhana kernel:  drm_client_modeset_commit_locked+0x5a/0x160
Sep 21 07:37:01 sadhana kernel:  __drm_fb_helper_restore_fbdev_mode_unlocked+0x5e/0xd0
Sep 21 07:37:01 sadhana kernel:  drm_fb_helper_set_par+0x2f/0x40
Sep 21 07:37:01 sadhana kernel:  intel_fbdev_set_par+0x1a/0x60 [i915 4d14ecc94f6989e004de0a500c09742965fd01a0]
Sep 21 07:37:01 sadhana kernel:  fb_set_var+0x201/0x420
Sep 21 07:37:01 sadhana kernel:  ? psi_group_change+0x213/0x3c0
Sep 21 07:37:01 sadhana kernel:  fbcon_blank+0x213/0x310
Sep 21 07:37:01 sadhana kernel:  do_unblank_screen+0xa9/0x160
Sep 21 07:37:01 sadhana kernel:  complete_change_console+0x54/0x120
Sep 21 07:37:01 sadhana kernel:  vt_ioctl+0xd8b/0x13f0
Sep 21 07:37:01 sadhana kernel:  tty_ioctl+0x4ed/0x8b0
Sep 21 07:37:01 sadhana kernel:  ? __pfx_drm_dropmaster_ioctl+0x10/0x10
Sep 21 07:37:01 sadhana kernel:  ? drm_ioctl_kernel+0xca/0x170
Sep 21 07:37:01 sadhana kernel:  ? drm_ioctl+0x296/0x4b0
Sep 21 07:37:01 sadhana kernel:  __x64_sys_ioctl+0x91/0xd0
Sep 21 07:37:01 sadhana kernel:  do_syscall_64+0x5d/0x90
Sep 21 07:37:01 sadhana kernel:  ? __x64_sys_ioctl+0xac/0xd0
Sep 21 07:37:01 sadhana kernel:  ? syscall_exit_to_user_mode+0x2b/0x40
Sep 21 07:37:01 sadhana kernel:  ? do_syscall_64+0x6c/0x90
Sep 21 07:37:01 sadhana kernel:  ? syscall_exit_to_user_mode+0x2b/0x40
Sep 21 07:37:01 sadhana kernel:  ? do_syscall_64+0x6c/0x90
Sep 21 07:37:01 sadhana kernel:  ? exc_page_fault+0x7f/0x180
Sep 21 07:37:01 sadhana kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
Sep 21 07:37:01 sadhana kernel: RIP: 0033:0x7f079050c9df
Sep 21 07:37:01 sadhana kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
Sep 21 07:37:01 sadhana kernel: RSP: 002b:00007ffc37b0e6c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Sep 21 07:37:01 sadhana kernel: RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f079050c9df
Sep 21 07:37:01 sadhana kernel: RDX: 0000000000000001 RSI: 0000000000005605 RDI: 000000000000000e
Sep 21 07:37:01 sadhana kernel: RBP: 000055bfca74fe60 R08: 0000000000000001 R09: 0000000000000000
Sep 21 07:37:01 sadhana kernel: R10: 00007f07906b50d8 R11: 0000000000000246 R12: ffffffffffffffe0
Sep 21 07:37:01 sadhana kernel: R13: 00000000ffffffff R14: 0000000000000004 R15: 0000000000000000
Sep 21 07:37:01 sadhana kernel:  </TASK>
Sep 21 07:37:01 sadhana kernel: ---[ end trace 0000000000000000 ]---

So, it seems a “flip_done_timeout” and “vblank timeout” on the external display… but what puzzles me the most is that it’s related to the i915 driver… shouldn’t I be using the discrete card (nvidia)??

This is what my inxi -G looks like now:

Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] driver: nvidia
    v: 535.104.05
  Device-3: SunplusIT FHD Webcam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting,nvidia
    dri: iris gpu: i915 resolution: 1: 3840x2160~60Hz 2: 2176x1360~240Hz
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.

Is my laptop still using the integrated GPU (at least partially) here? and if so, how can I make it so it uses exclusively the discrete one (or fix the issue with the flip_done_timeout and vblank timeout)?

Thanks in advance for all your help!

there is a ‘workaround’ on how to post links until you approved, just use formatting for links…


yes you should be running on nvidia … maybe its the intel drivers that you were tinkering with:

reverse all the changes that you made regarding the intel gpu, reboot and test…
also try with different kernels: 6.1, 6.5, since you should be on nvidia, there should no longer be the crashes…
also maybe the port for the external monitor is wired into the intel gpu?

Hi @brahma , thanks for all your input, it helped me a lot!
So, you were right about the ports. I checked with the laptop manufacturer (Tuxedo) and the confirmed that the usb-c port I was using was directly hardwired to the iGPU! fortunately, there is another usb-c port directly connected to the dGPU so I used that one and now I can see that the “gpu” used is the discrete one.
There was still some tearing going on on the external display but this was easy to fix just by enabling the “Full composition pipeline” in the nvidia settings panel, so now everything seems to work perfectly (I also moved up to Kernel 6.5).

Thanks again for the precious support!

2 Likes

settings made in the nvidia settings panel will be reset with every boot…
if that happens, you can enable the composition pipeline permanently with envycontrol:

sudo envycontrol -s nvidia --force-comp

reboot …

more info for envycontrol: just type envycontrol in terminal, and:


but we still dont know why the igpu doesnt work properly… maybe its the qtile you are using, something doesnt sit well with it, and everything would work without problems using some other desktop?

Ahh, that’s great to know thanks!
I noticed that (even by having the nvidia settings panel regenerate X11/xorg.conf that didn’t seem to make the changes persistent!); Until now I had solved it by re-applying the change via the nvidia-settings command at each reboot (I was doing it as part of my autorandr script) but envycontrol is definitely a better solution!
Thanks again

Still getting that error

Are you the same person that was posting before?

Are you also still using 6.4, 6.5 or some other EOL kernel?

And if its the same as the linked issue, have you tried any of the options?

i915.dmc_firmware_path=

Don’t know what person you mean.

I tried so many kernel versions, the default one that comes with the OS etc. The one i am using right now is 6.8.0-060800rc3-generic.

Yes i have tried i915.dmc_firmware_path= and no effect, still getting the freeze and error.

This thread is almost 6 months old and was created and mostly interacted with by the original poster @damdam

Now, after all this time, you post a very short message

So … are you the original poster here under a different name … or someone else stating “Still getting that error.”?

No, i am someone else. Just saying that i am having a similar issue.

Hey @Lameli , not sure if this can be of help but I stopped having issues when I added this to my grub config:

video=SVIDEO-1:d i915.dmc_firmware_path=

I’m now on Kernel 6.7.0-0, btw.