Resolution doesn't adapt to actual screen size, Xrandr doesn't help

Hello,

I’m using Fedora Linux 40 (Workstation edition) on a PC with CPU Atom x6425E.
To this PC a display is connected over LVDS with next resolution: 1280x1024.

Windows related OS systems image on the display is ok.
On Linux OS systems the image isn’t shown correctly, because the wrong resolution is selected.
To solve this problem I used Xrandr, the solution is working on different linux OS but some how on Fedora the issue remains.
Picture of issue:

Performed commands:
cvt 1280 1024
xrandr --newmode “1280x1024_60.00” …
xrandr --addmode eDP-1 “1280x1024_60.00”

xrandr --output eDP-1 --mode “1280x1024_60.00”

After the output command the issue remains.

I thought maybe I have to reboot and placed the above three xrandr commands in .xprofile.
But no luck either.

I hope someone can point me in the right direction.

Thanks for your input.

Xrandr only wotks with X11. Are you using Wayland?

Hello Barry,
Yes, I’m using Wayland, I was unaware that xrandr didn’t work in wayland.

I installed then plasma-workspace-x11 package (plus kwin-x11).
Restart with complete shutdown selected Plasma (x11) and did the above commands again.
But unfortunately no luck here.

The strange thing is that when I’m in Grub or when I boot in problem mode I don’t have this issue.
But with normal boot, the moment fedora logo appears it switches to the wrong resolution.
And I have the issue you see in the picture above.

Login into plasma wayland and run these commands and post the output please.

inxi -Fzxx
kscreen-doctor -o

FYI commands that start with x are often X11 commands.

1 Like

Hello Barry,

Sorry, I was away and couldn’t do the test.
Below you can find the output:

inxi -Fzxx

System:
  Kernel: 6.11.4-201.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.2.2 tk: Qt v: N/A wm: kwin_x11 dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop Mobo: DFI model: EHL556 serial: <superuser required>
    UEFI: American Megatrends LLC. v: B24B.04A date: 11/04/2024
CPU:
  Info: quad core model: Intel Atom x6425E bits: 64 type: MCP
    arch: Tremont Elkhart Lake rev: 1 cache: L1: 256 KiB L2: 1.5 MiB L3: 4 MiB
  Speed (MHz): avg: 800 min/max: 800/3000 cores: 1: 800 2: 800 3: 800 4: 800
    bogomips: 15974
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Elkhart Lake [UHD Graphics Gen11 32EU] driver: i915
    v: kernel arch: Gen-11 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:4571
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 24.1.3
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1024x768 s-dpi: 96
  Monitor-1: eDP-1 res: 1024x768 size: N/A
  API: OpenGL v: 4.6 vendor: intel mesa v: 24.1.7 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel UHD Graphics (EHL)
    device-ID: 8086:4571
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Elkhart Lake High Density Audio bus interface vendor: DFI
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:4b58
  API: ALSA v: k6.11.4-201.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I225-IT vendor: DFI driver: igc v: kernel pcie:
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 01:00.0 chip-ID: 8086:0d9f
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Ethernet I225-IT vendor: DFI driver: igc v: kernel pcie:
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0 chip-ID: 8086:0d9f
  IF: enp2s0 state: down mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-1.1:3 chip-ID: 0bda:8153
  IF: enp0s20f0u1u1 state: down mac: <filter>
Drives:
  Local Storage: total: 133.65 GiB used: 9.28 GiB (6.9%)
  ID-1: /dev/sda vendor: Transcend model: TS128GSSD470K size: 119.24 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb model: Multiple Card Reader size: 14.41 GiB type: USB
    rev: 2.0 spd: 480 Mb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 117.66 GiB used: 4.91 GiB (4.2%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 296.6 MiB (30.5%) fs: ext4
    dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 117.66 GiB used: 4.91 GiB (4.2%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 7.59 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.59 GiB used: 2.07 GiB (27.2%)
  Processes: 244 Power: uptime: 1d 22h 26m wakeups: 2 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: N/A Shell: Bash
    v: 5.2.26 running-in: gnome-terminal inxi: 3.3.36
kscreen-doctor -o

Output: 66 eDP-1
	enabled
	connected
	priority 1
	Panel
	Modes:  71:1024x768@60*!  72:960x720@60  73:928x696@60  74:896x672@60  75:1024x576@60  76:1024x576@60  77:1024x576@60  78:1024x576@60  79:960x600@60  80:960x600@60  81:960x540@60  82:960x540@60  83:960x540@60  84:960x540@60  85:800x600@60  86:800x600@60  87:800x600@56  88:840x525@60  89:840x525@60  90:864x486@60  91:864x486@60  92:700x525@60  93:800x450@60  94:800x450@60  95:640x512@60  96:700x450@60  97:700x450@60  98:640x480@60  99:640x480@60  100:720x405@60  101:720x405@59  102:684x384@60  103:684x384@60  104:640x400@60  105:640x400@60  106:640x360@60  107:640x360@60  108:640x360@60  109:640x360@59  110:512x384@60  111:512x288@60  112:512x288@60  113:480x270@60  114:480x270@60  115:400x300@60  116:400x300@56  117:432x243@60  118:432x243@60  119:320x240@60  120:360x202@60  121:360x202@59  122:320x180@60  123:320x180@59  1534:1280x1024@60 
	Geometry: 0,0 1024x768
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported
Output: 67 HDMI-1
	disabled
	disconnected
	priority 0
	HDMI
	Modes: 
	Geometry: 0,0 0x0
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported
Output: 68 DP-1
	disabled
	disconnected
	priority 0
	DisplayPort
	Modes: 
	Geometry: 0,0 0x0
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported
Output: 69 HDMI-2
	disabled
	disconnected
	priority 0
	HDMI
	Modes: 
	Geometry: 0,0 0x0
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported

Hello Barry,

I saw that I didn’t active the right resolution.
Below the correct output when I have activated the right resolution but issue persists:

test@fedora:~$ inxi -Fzxx
System:
  Kernel: 6.11.4-201.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.2.2 tk: Qt v: N/A wm: kwin_x11 dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop Mobo: DFI model: EHL556 serial: <superuser required>
    UEFI: American Megatrends LLC. v: B24B.04A date: 11/04/2024
CPU:
  Info: quad core model: Intel Atom x6425E bits: 64 type: MCP
    arch: Tremont Elkhart Lake rev: 1 cache: L1: 256 KiB L2: 1.5 MiB L3: 4 MiB
  Speed (MHz): avg: 789 min/max: 800/3000 cores: 1: 789 2: 789 3: 789 4: 789
    bogomips: 15974
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Elkhart Lake [UHD Graphics Gen11 32EU] driver: i915
    v: kernel arch: Gen-11 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:4571
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 24.1.3
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x1024 s-dpi: 96
  Monitor-1: eDP-1 res: 1280x1024 size: N/A
  API: OpenGL v: 4.6 vendor: intel mesa v: 24.1.7 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel UHD Graphics (EHL)
    device-ID: 8086:4571
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Elkhart Lake High Density Audio bus interface vendor: DFI
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:4b58
  API: ALSA v: k6.11.4-201.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I225-IT vendor: DFI driver: igc v: kernel pcie:
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 01:00.0 chip-ID: 8086:0d9f
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Ethernet I225-IT vendor: DFI driver: igc v: kernel pcie:
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0 chip-ID: 8086:0d9f
  IF: enp2s0 state: down mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-1.1:3 chip-ID: 0bda:8153
  IF: enp0s20f0u1u1 state: down mac: <filter>
Drives:
  Local Storage: total: 133.65 GiB used: 9.28 GiB (6.9%)
  ID-1: /dev/sda vendor: Transcend model: TS128GSSD470K size: 119.24 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb model: Multiple Card Reader size: 14.41 GiB type: USB
    rev: 2.0 spd: 480 Mb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 117.66 GiB used: 4.91 GiB (4.2%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 296.6 MiB (30.5%) fs: ext4
    dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 117.66 GiB used: 4.91 GiB (4.2%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 7.59 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.59 GiB used: 2.16 GiB (28.4%)
  Processes: 242 Power: uptime: 1d 22h 35m wakeups: 2 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: N/A Shell: Bash
    v: 5.2.26 running-in: gnome-terminal inxi: 3.3.36
kscreen-doctor -o
Output: 66 eDP-1
	enabled
	connected
	priority 1
	Panel
	Modes:  71:1024x768@60!  72:960x720@60  73:928x696@60  74:896x672@60  75:1024x576@60  76:1024x576@60  77:1024x576@60  78:1024x576@60  79:960x600@60  80:960x600@60  81:960x540@60  82:960x540@60  83:960x540@60  84:960x540@60  85:800x600@60  86:800x600@60  87:800x600@56  88:840x525@60  89:840x525@60  90:864x486@60  91:864x486@60  92:700x525@60  93:800x450@60  94:800x450@60  95:640x512@60  96:700x450@60  97:700x450@60  98:640x480@60  99:640x480@60  100:720x405@60  101:720x405@59  102:684x384@60  103:684x384@60  104:640x400@60  105:640x400@60  106:640x360@60  107:640x360@60  108:640x360@60  109:640x360@59  110:512x384@60  111:512x288@60  112:512x288@60  113:480x270@60  114:480x270@60  115:400x300@60  116:400x300@56  117:432x243@60  118:432x243@60  119:320x240@60  120:360x202@60  121:360x202@59  122:320x180@60  123:320x180@59  1534:1280x1024@60* 
	Geometry: 0,0 1280x1024
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported
Output: 67 HDMI-1
	disabled
	disconnected
	priority 0
	HDMI
	Modes: 
	Geometry: 0,0 0x0
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported
Output: 68 DP-1
	disabled
	disconnected
	priority 0
	DisplayPort
	Modes: 
	Geometry: 0,0 0x0
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported
Output: 69 HDMI-2
	disabled
	disconnected
	priority 0
	HDMI
	Modes: 
	Geometry: 0,0 0x0
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable
	Brightness control: unsupported

As I read your post it seems you are using wayland which requires kms which uses edid/displayid to select resolutions.

What do you get when you run

wayland-info

And then run di-edid-decode against the monitor in question. This example has a monitor on card1-DP-2:

di-edid-decode /sys/class/drm/card1-DP-2/edid

The most direct solution is to get updated firmware from the display manufacturer that includes all the resolutions they support. But it seems manufacturers have not done the work. Instead they get the addional resolutions by supplying a monitor driver to MS but not for Linux (basically the additional edid data not included in the fw).

There are a number of workarounds, some covered in this post, to possibley overcome the manufacturers deficiencies.

1 Like

eDP may not have edid - resolution may be defined in the firmware.

Does the BIOS know about the LVDS screen?

@barryascott,

On a laptop I have I can run

di-edid-decode /sys/class/drm/card1-eDP-1/edid

to get the edid of the panel.

Thank you very much guys!
I’m checking with the supplier for adjusting the edid file in the Bios.

I will try your ideas and info!
I can perform the requested tests next friday. Keep you posted and thansk for the explanation!

Added f40, wayland, workstation

I am also a bit confused, you use workstation right? So GNOME

But you installed plasma with x11?

Hello All,

Yes, in the BIOS the screen is visible and correct.
I put it back on Gnome and tried the proposed commands:

wayland-info gives next output:
wayland-info
interface: ‘wl_compositor’, version: 6, name: 1
interface: ‘wl_drm’, version: 2, name: 2
interface: ‘wl_shm’, version: 2, name: 3
formats (fourcc):
0x32315559 = ‘YU12’
0x30313050 = ‘P010’
0x3231564e = ‘NV12’
0x56595559 = ‘YUYV’
0x48344258 = ‘XB4H’
0x48344241 = ‘AB4H’
0x48345258 = ‘XR4H’
0x48345241 = ‘AR4H’
0x30334258 = ‘XB30’
0x30334241 = ‘AB30’
0x30335258 = ‘XR30’
0x30335241 = ‘AR30’
0x36314752 = ‘RG16’
0x34324258 = ‘XB24’
0x34324241 = ‘AB24’
1 = ‘XR24’
0 = ‘AR24’
interface: ‘wl_output’, version: 4, name: 4
name: eDP-1
description: Built-in display
x: 0, y: 0, scale: 1,
physical_width: 0 mm, physical_height: 0 mm,
make: ‘unknown’, model: ‘unknown’,
subpixel_orientation: unknown, output_transform: normal,
mode:
width: 1024 px, height: 768 px, refresh: 60.003 Hz,
flags: current preferred
interface: ‘zxdg_output_manager_v1’, version: 3, name: 5
xdg_output_v1
output: 4
name: ‘eDP-1’
description: ‘Built-in display’
logical_x: 0, logical_y: 0
logical_width: 1024, logical_height: 768
interface: ‘wl_data_device_manager’, version: 3, name: 6
interface: ‘zwp_primary_selection_device_manager_v1’, version: 1, name: 7
interface: ‘wl_subcompositor’, version: 1, name: 8
interface: ‘xdg_wm_base’, version: 6, name: 9
interface: ‘gtk_shell1’, version: 5, name: 10
interface: ‘wp_viewporter’, version: 1, name: 11
interface: ‘wp_fractional_scale_manager_v1’, version: 1, name: 12
interface: ‘zwp_pointer_gestures_v1’, version: 3, name: 13
interface: ‘zwp_tablet_manager_v2’, version: 1, name: 14
interface: ‘wl_seat’, version: 8, name: 15
name: seat0
capabilities: pointer keyboard
keyboard repeat rate: 33
keyboard repeat delay: 500
interface: ‘zwp_relative_pointer_manager_v1’, version: 1, name: 16
interface: ‘zwp_pointer_constraints_v1’, version: 1, name: 17
interface: ‘zxdg_exporter_v2’, version: 1, name: 18
interface: ‘zxdg_importer_v2’, version: 1, name: 19
interface: ‘zxdg_exporter_v1’, version: 1, name: 20
interface: ‘zxdg_importer_v1’, version: 1, name: 21
interface: ‘zwp_linux_dmabuf_v1’, version: 5, name: 22
main device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
tranche
target device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
flags: none
formats (fourcc) and modifiers (names):
0x48344241 = ‘AB4H’; 0x0000000000000000 = LINEAR
0x48344241 = ‘AB4H’; 0x0100000000000001 = INTEL_X_TILED
0x48344241 = ‘AB4H’; 0x0100000000000002 = INTEL_Y_TILED
0x48344241 = ‘AB4H’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x48344241 = ‘AB4H’; 0x00ffffffffffffff = INVALID
0x48344258 = ‘XB4H’; 0x0000000000000000 = LINEAR
0x48344258 = ‘XB4H’; 0x0100000000000001 = INTEL_X_TILED
0x48344258 = ‘XB4H’; 0x0100000000000002 = INTEL_Y_TILED
0x48344258 = ‘XB4H’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x48344258 = ‘XB4H’; 0x00ffffffffffffff = INVALID
0x30335241 = ‘AR30’; 0x0000000000000000 = LINEAR
0x30335241 = ‘AR30’; 0x0100000000000001 = INTEL_X_TILED
0x30335241 = ‘AR30’; 0x0100000000000002 = INTEL_Y_TILED
0x30335241 = ‘AR30’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x30335241 = ‘AR30’; 0x00ffffffffffffff = INVALID
0x30335258 = ‘XR30’; 0x0000000000000000 = LINEAR
0x30335258 = ‘XR30’; 0x0100000000000001 = INTEL_X_TILED
0x30335258 = ‘XR30’; 0x0100000000000002 = INTEL_Y_TILED
0x30335258 = ‘XR30’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x30335258 = ‘XR30’; 0x00ffffffffffffff = INVALID
0x30334241 = ‘AB30’; 0x0000000000000000 = LINEAR
0x30334241 = ‘AB30’; 0x0100000000000001 = INTEL_X_TILED
0x30334241 = ‘AB30’; 0x0100000000000002 = INTEL_Y_TILED
0x30334241 = ‘AB30’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x30334241 = ‘AB30’; 0x00ffffffffffffff = INVALID
0x34325241 = ‘AR24’; 0x0000000000000000 = LINEAR
0x34325241 = ‘AR24’; 0x0100000000000001 = INTEL_X_TILED
0x34325241 = ‘AR24’; 0x0100000000000002 = INTEL_Y_TILED
0x34325241 = ‘AR24’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x34325241 = ‘AR24’; 0x00ffffffffffffff = INVALID
0x34324241 = ‘AB24’; 0x0000000000000000 = LINEAR
0x34324241 = ‘AB24’; 0x0100000000000001 = INTEL_X_TILED
0x34324241 = ‘AB24’; 0x0100000000000002 = INTEL_Y_TILED
0x34324241 = ‘AB24’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x34324241 = ‘AB24’; 0x00ffffffffffffff = INVALID
0x34325258 = ‘XR24’; 0x0000000000000000 = LINEAR
0x34325258 = ‘XR24’; 0x0100000000000001 = INTEL_X_TILED
0x34325258 = ‘XR24’; 0x0100000000000002 = INTEL_Y_TILED
0x34325258 = ‘XR24’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x34325258 = ‘XR24’; 0x00ffffffffffffff = INVALID
0x34324258 = ‘XB24’; 0x0000000000000000 = LINEAR
0x34324258 = ‘XB24’; 0x0100000000000001 = INTEL_X_TILED
0x34324258 = ‘XB24’; 0x0100000000000002 = INTEL_Y_TILED
0x34324258 = ‘XB24’; 0x0100000000000004 = INTEL_Y_TILED_CCS
0x34324258 = ‘XB24’; 0x00ffffffffffffff = INVALID
0x36314752 = ‘RG16’; 0x0000000000000000 = LINEAR
0x36314752 = ‘RG16’; 0x0100000000000001 = INTEL_X_TILED
0x36314752 = ‘RG16’; 0x0100000000000002 = INTEL_Y_TILED
0x36314752 = ‘RG16’; 0x00ffffffffffffff = INVALID
0x32315559 = ‘YU12’; 0x0000000000000000 = LINEAR
0x32315559 = ‘YU12’; 0x0100000000000001 = INTEL_X_TILED
0x32315559 = ‘YU12’; 0x0100000000000002 = INTEL_Y_TILED
0x32315559 = ‘YU12’; 0x00ffffffffffffff = INVALID
0x3231564e = ‘NV12’; 0x0000000000000000 = LINEAR
0x3231564e = ‘NV12’; 0x0100000000000001 = INTEL_X_TILED
0x3231564e = ‘NV12’; 0x0100000000000002 = INTEL_Y_TILED
0x3231564e = ‘NV12’; 0x00ffffffffffffff = INVALID
0x30313050 = ‘P010’; 0x0000000000000000 = LINEAR
0x30313050 = ‘P010’; 0x0100000000000001 = INTEL_X_TILED
0x30313050 = ‘P010’; 0x0100000000000002 = INTEL_Y_TILED
0x30313050 = ‘P010’; 0x00ffffffffffffff = INVALID
0x56595559 = ‘YUYV’; 0x0000000000000000 = LINEAR
0x56595559 = ‘YUYV’; 0x0100000000000001 = INTEL_X_TILED
0x56595559 = ‘YUYV’; 0x0100000000000002 = INTEL_Y_TILED
0x56595559 = ‘YUYV’; 0x00ffffffffffffff = INVALID
interface: ‘wp_single_pixel_buffer_manager_v1’, version: 1, name: 23
interface: ‘zwp_keyboard_shortcuts_inhibit_manager_v1’, version: 1, name: 24
interface: ‘zwp_text_input_manager_v3’, version: 1, name: 25
interface: ‘wp_presentation’, version: 1, name: 26
presentation clock id: 1 (CLOCK_MONOTONIC)
interface: ‘xdg_activation_v1’, version: 1, name: 27
interface: ‘zwp_idle_inhibit_manager_v1’, version: 1, name: 28
interface: ‘wp_linux_drm_syncobj_manager_v1’, version: 1, name: 29

When I try the other command:
di-edid-decode /sys/class/drm/card1-eDP-1/edid

I got next message:
di_edid_parse failed: Invalid argument

I try different ways but I keep getting the Invalid issue.

Kind regards

@janclick,

Definitely odd. What do you get from

ls -l /sys/class/drm/*/edid

If /sys/class/drm/card1-eDP-1 really is the lcd panel at issue, suppling the edid manually would be something to try. Maybe extract the edid while running MSWindows and copy the file into Linux. In this reply is a link to an MS article on one way they have to extract edid to a file. I do not run any MS products so will not be trying out any of their methods.

Hello Stephen

Below the feedback:

ls -l /sys/class/drm/*/edid
-r–r–r–. 1 root root 0 Nov 18 14:56 /sys/class/drm/card1-DP-1/edid
-r–r–r–. 1 root root 0 Nov 18 14:55 /sys/class/drm/card1-eDP-1/edid
-r–r–r–. 1 root root 0 Nov 18 14:56 /sys/class/drm/card1-HDMI-A-1/edid
-r–r–r–. 1 root root 0 Nov 18 14:56 /sys/class/drm/card1-HDMI-A-2/edid

I will check the link you have send as well!

Hello,

I checked the status with next command:
cat /sys/class/drm/card1-eDP-1/status
connected

But then I saw that the EDID files under drm are all 0bytes?
So that’s why I think it fails.

Somehow I think the EDID file from the BIOS isn’t read correctly.
Any idea’s what the reason can be?
If tested on Windows, I don’t have an issue. But on Linux based systems, I have this issue.

Kind regards,
Jan

ls edid showing as 0 bytes seems normal

cat /sys/class/drm/card1-eDP-1/edid | od -x

Response of above command i: 0000000

No edid data from the lcd panel yet it has a status of connected. Intel UHD Gen11 32EU gpu. Atom x6425E cpu.

I am not familliar with that hardware but it seems to me the edid/displayid should be there. Maybe the panel manufacturer leave that up to the integrator? There are edid editors on the market. I would think you would need to have good knowledge of the panel capabilities and vesa standards to construct a valid edid from scratch.

But you get what you want in MSWindows. So extracting the edid from MSWindows and using it on Linux should be valid.

Other than that a conversation with the panel manufacturer may be informative.

I found the solution for the problem.
I changed the settings in GRUB:

  • sudo nano /etc/default/grub
  • GRUB_CMDLINE_LINUX=“quiet splash video=1920x1080”
  • sudo grub2-mkconfig -o /boot/grub2/grub.cfg

After the regeneration, I restart and everything is fine!

I still don’t understand why de EDID is wrong here but I can go forward.
Thanks for the support!