You are not logged in.

#1 2024-05-13 09:01:30

problematic
Member
Registered: 2024-05-13
Posts: 7

[Resolved] Intel Graphics glitching out display.

Hi, I have an arch installation on the laptop with the below specs.

                   -`                    arch-db@arch-lenovo 
                  .o+`                   ------------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: 82L3 IdeaPad 5 Pro 14ITL6 
               `+oooooo:                 Kernel: 6.6.29-1-vfio-lts 
               -+oooooo+:                Uptime: 1 hour 
             `/:-:++oooo+:               Packages: 850 (pacman) 
            `/++++/+++++++:              Shell: fish 3.7.1 
           `/++++++++++++++:             Resolution: 2880x1800 
          `/+++ooooooooooooo/`           DE: Plasma 6.0.4 
         ./ooosssso++osssssso+`          WM: kwin 
        .oossssso-````/ossssss+`         Theme: Breeze-Dark [GTK2], Breeze [GTK 
       -osssssso.      :ssssssso.        Icons: breeze-dark [GTK2/3] 
      :osssssss/        osssso+++.       Terminal: terminator 
     /ossssssss/        +ssssooo/-       CPU: 11th Gen Intel i7-1165G7 (8) @ 4. 
   `/ossssso+/:-        -:/+osssso+-     GPU: Intel TigerLake-LP GT2 [Iris Xe G 
  `+sso+:-`                 `.-/+oso:    Memory: 3423MiB / 15779MiB 

Recently, I had my laptop monitor changed due to damage and the repair shop gave me an upgraded screen with 120hz (previously 60hz) and 2880x1800 resolution (previously 2.2k). I have been facing issues with my screen where in color lines randomly appear at the right side of the screen and some times the entire screen renders. I had some issues with this in Windows too since I am dual booted but they got resolved when I installed the intel VGA driver from Lenovo's product page but the issue persists in arch. I tried various methods by which I could get it to work but none have worked.

First, I tried the experimental Iris Xe graphics driver as given here https://wiki.archlinux.org/title/intel_ … _Xe_driver but it did not allow me to change the resolution and the refresh rate. However, that did not give me the colored lines when I was using it. So I removed the experimental driver, rebuilt grub and rebooted and I had the 120h but the issue started occurring. Just to be clear, I have mesa lib32-mesa vulkan-intel lib32-vulkan-intel intel-media-driver installed. For VGA purpose I thought that I needed it and I installed the following packages - linux-vfio-lts linux-vfio from the aur repo for hopes of VGA but they also didn't resolve any issues.

This is the output of glxinfo - https://hastebin.com/share/irugezivug.yaml and this of lspci -k | grep -EA2 '(VGA|3D)' - https://hastebin.com/share/efipuxidec.yaml.

Last edited by problematic (2024-05-14 11:29:15)

Offline

#2 2024-05-13 10:30:57

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,213

Re: [Resolved] Intel Graphics glitching out display.

First, I tried the experimental Iris Xe graphics driver as given here https://wiki.archlinux.org/title/intel_ … _Xe_driver but it did not allow me to change the resolution and the refresh rate

It's fixed, in that case. did you open a issue for the res?


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#3 2024-05-13 10:58:18

problematic
Member
Registered: 2024-05-13
Posts: 7

Re: [Resolved] Intel Graphics glitching out display.

jl2 wrote:

It's fixed, in that case. did you open a issue for the res?

No, I haven't. Where do I open an issue? Because I tried the new driver in X11 and it doesn't show my monitor, brightness is locked at max, resolution at max and refresh rate at 60hz.

Offline

#4 2024-05-13 11:44:26

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,213

Re: [Resolved] Intel Graphics glitching out display.

following some links from the wiki page: https://gitlab.freedesktop.org/drm/xe/kernel

You should also first test linux-git to see if it's already fixed.

and this is a new driver, it's experimental up to now, have a backup boot plan.

Last edited by jl2 (2024-05-13 11:46:32)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#5 2024-05-13 11:58:39

problematic
Member
Registered: 2024-05-13
Posts: 7

Re: [Resolved] Intel Graphics glitching out display.

jl2 wrote:

following some links from the wiki page: https://gitlab.freedesktop.org/drm/xe/kernel

Got it. Thanks. There's a lot of issues but I don't see brightness or resolution or refresh rate being mentioned in any.

jl2 wrote:

and this is a new driver, it's experimental up to now, have a backup boot plan.

The backup plan for now is the normal one. Just need to change grub cmdline.

Is there any way I can get the resolution/refresh rate to work other than just waiting for issue resolution on the driver end?

Offline

#6 2024-05-13 22:02:36

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,772

Re: [Resolved] Intel Graphics glitching out display.

With the current setup, post the outputs of

systool -vm i915
xrandr -q
for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

and your Xorg log, https://wiki.archlinux.org/title/Xorg#General

You'll need https://aur.archlinux.org/packages/edid-decode-git for the edid decoding loop

You're probably pushing the limits of the systems signal capacity - I guess "xrandr --output <outputname> --rate 60" makes the artifacts go away?

Offline

#7 2024-05-14 04:50:07

problematic
Member
Registered: 2024-05-13
Posts: 7

Re: [Resolved] Intel Graphics glitching out display.

seth wrote:
systool -vm i915
Module = "i915"

  Attributes:
    coresize            = "4145152"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "44"
    srcversion          = "F8A998121AAF44CC405861E"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    enable_hd_vgaarb    = "N"

  Sections:
seth wrote:
xrandr -q
Screen 0: minimum 320 x 200, current 2880 x 1800, maximum 16384 x 16384
eDP-1 connected primary 2880x1800+0+0 (normal left inverted right x axis y axis) 300mm x 190mm
   2880x1800    120.00*+  60.00 +
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
seth wrote:
for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done
/sys/class/drm/card1
/sys/class/drm/card1/edid: No such file or directory
=================
/sys/class/drm/card1-DP-1
EDID of '/sys/class/drm/card1-DP-1/edid' was empty.
=================
/sys/class/drm/card1-DP-2
EDID of '/sys/class/drm/card1-DP-2/edid' was empty.
=================
/sys/class/drm/card1-eDP-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 51 b8 04 20 00 00 00 00
28 20 01 04 b5 1e 13 78 07 66 e5 a3 53 4c 98 24
10 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 97 86 40 a0 b0 08 59 70 30 20
36 00 2c be 10 00 00 18 00 00 00 fd 00 3c 78 fc
fc 55 00 0a 20 20 20 20 20 20 00 00 00 10 00 0a
20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 fc
00 54 4c 31 34 30 41 44 58 50 32 34 2d 30 01 80

70 12 79 00 00 03 01 14 2e 0d 01 85 3f 0b 9f 00
2f 00 1f 00 07 07 58 00 02 00 05 00 2b 00 06 27
00 3c 78 00 00 81 00 1e e3 05 80 00 e6 06 07 01
60 60 23 72 1a 00 00 03 03 3c 78 00 04 60 23 60
23 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 90

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: TMX
    Model: 8196
    Made in: week 40 of 2022
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 10
    DisplayPort interface
    Maximum image size: 30 cm x 19 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4
    Default (sRGB) color space is primary color space
    First detailed timing includes the native pixel format and preferred refresh rate
    Display supports continuous frequencies
  Color Characteristics:
    Red  : 0.6376, 0.3261
    Green: 0.2978, 0.5957
    Blue : 0.1435, 0.0644
    White: 0.3134, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:  2880x1800   59.999373 Hz  16:10   113.339 kHz    344.550000 MHz (300 mm x 190 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol N
                 Vfront    3 Vsync   6 Vback   80 Vpol N
    Display Range Limits:
      Monitor ranges (GTF): 60-120 Hz V, 252-252 kHz H, max dotclock 850 MHz
    Dummy Descriptor:
    Display Product Name: 'TL140ADXP24-0'
  Extension blocks: 1
Checksum: 0x80

----------------

Block 1, DisplayID Extension Block:
  Version: 1.2
  Extension Count: 0
  Display Product Type: Extension Section
  Video Timing Modes Type 1 - Detailed Timings Data Block:
    DTD:  2880x1800  120.000488 Hz  16:10   226.681 kHz    689.110000 MHz (aspect 16:10, no 3D stereo, preferred)
               Hfront   48 Hsync  32 Hback   80 Hpol N
               Vfront    3 Vsync   6 Vback   80 Vpol N
  Adaptive Sync Data Block:
    Descriptor #1:
      Native Panel Range
      Fixed Average V-Total and Adaptive V-Total
      'Max Single Frame Duration Increase' field value without jitter impact
      'Max Single Frame Duration Decrease' field value without jitter impact
      Max Duration Increase: 0.00 ms
      Max Duration Decrease: 0.00 ms
      Min Refresh Rate: 60 Hz
      Max Refresh Rate: 121 Hz
  CTA-861 DisplayID Data Block:
  Colorimetry Data Block:
    BT2020RGB
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      Traditional gamma - HDR luminance range
      SMPTE ST2084
    Supported static metadata descriptors:
      Static metadata type 1
    Desired content max luminance: 96 (400.000 cd/m^2)
    Desired content max frame-average luminance: 96 (400.000 cd/m^2)
    Desired content min luminance: 35 (0.075 cd/m^2)
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 3.3
    Minimum Refresh Rate: 60 Hz
    Maximum Refresh Rate: 120 Hz
    Flags 1.x: 0x00
    Flags 2.x: 0x04
    Maximum luminance: 96 (400.000 cd/m^2)
    Minimum luminance: 35 (0.075 cd/m^2)
    Maximum luminance (without local dimming): 96 (400.000 cd/m^2)
    Minimum luminance (without local dimming): 35 (0.075 cd/m^2)
  Checksum: 0x46
Checksum: 0x90
=================
/sys/class/drm/card1-HDMI-A-1
EDID of '/sys/class/drm/card1-HDMI-A-1/edid' was empty.
=================
seth wrote:

and your Xorg log

https://hastebin.skyra.pw/awelucinay.yaml

seth wrote:

You're probably pushing the limits of the systems signal capacity - I guess "xrandr --output <outputname> --rate 60" makes the artifacts go away?

xrandr hasn't been able to change anything for me. I tried to change resolution, change refresh rate and even brightness using xrandr but it does not show any changes. I had to manually set the refresh rate to 60hz using KDE settings and yes the artifacts do go away. It seems to be an issue with rendering 120hz I think.

Offline

#8 2024-05-14 06:57:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,772

Re: [Resolved] Intel Graphics glitching out display.

xrandr hasn't been able to change anything for me.… I had to manually set the refresh rate to 60hz using KDE settings

You're likely running plasma on wayland?
Same issue w/ plasma on Xorg?

Display supports continuous frequencies

https://wiki.archlinux.org/title/Variable_refresh_rate

DTD:  2880x1800  120.000488 Hz  16:10   226.681 kHz    689.110000 MHz (aspect 16:10, no 3D stereo, preferred)

The display is already advertising a (non-cvt) reduced blanking modeline sad

It's not listed in the module parameter settings at all, but try to explicitly enable https://wiki.archlinux.org/title/Intel_ … nable_fbc)

Offline

#9 2024-05-14 08:23:22

problematic
Member
Registered: 2024-05-13
Posts: 7

Re: [Resolved] Intel Graphics glitching out display.

seth wrote:

You're likely running plasma on wayland?
Same issue w/ plasma on Xorg?

I have checked on both wayland and X11 (xorg, I think) and in neither it is working. I know that it is supposed to work only for Xorg but it's not working in that.

seth wrote:
Display supports continuous frequencies

https://wiki.archlinux.org/title/Variable_refresh_rate

It does not have anything for Intel graphics. Just that it needs to be updated on it but nothing there and nothing on the talks page too.

seth wrote:

The display is already advertising a (non-cvt) reduced blanking modeline sad

It's not listed in the module parameter settings at all, but try to explicitly enable https://wiki.archlinux.org/title/Intel_ … nable_fbc)

I have enabled now but it is still flickering on 120hz.

Offline

#10 2024-05-14 11:28:08

problematic
Member
Registered: 2024-05-13
Posts: 7

Re: [Resolved] Intel Graphics glitching out display.

Ok so the issue has been resolved. The solution was to not use the linux-vfio or linux-vfio-lts packages and make the following changes to /etc/X11/xorg.conf.d/20-modesetting.conf

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "modesetting"
    Option      "VariableRefresh" "true"
EndSection

Thanks to seth because I got the hint for variable refresh rate from his query.

Offline

#11 2024-05-14 11:37:59

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,772

Re: [Resolved] Intel Graphics glitching out display.

Ftr, do you actually need both or do you get away w/ only either the vanilla kernel XOR explicitly enabling VRR (you've an eligible IGP, so it should™ work)?

Offline

#12 2024-05-14 11:45:04

problematic
Member
Registered: 2024-05-13
Posts: 7

Re: [Resolved] Intel Graphics glitching out display.

seth wrote:

Ftr, do you actually need both or do you get away w/ only either the vanilla kernel XOR explicitly enabling VRR (you've an eligible IGP, so it should™ work)?

I had to explicitly enable VRR. Vanilla kernel didn't help me. I am using linux-lts currently.

Offline

Board footer

Powered by FluxBB