this post was submitted on 18 Sep 2023
35 points (100.0% liked)

Linux

48352 readers
835 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello all,

I've been scratching my head with this for a while now, and some help would be greatly appreciated. My issue is that my monitor's native resolution (3440x1440) and refresh rates are not recognized by Ubuntu natively, whether I'm using Wayland or Xorg.

The monitor's EDID file contains a mode with the actual screen's resolution in DTD (Detailed Timing Descriptors) format, but neither Xorg nor Wayland seem to be able read it for some reason.

I've really tried a few things now, neither of which worked, so a few pointers would be greatly appreciated!

What works

Using X11 and manually setting xrandr's mode to the output of gtf 3440 1440 60. That's pretty much the only solution I've found to use the monitor's actual resolution so far.

What did not work

  • Modifying the grub settings to set the video output to the same resolution/framerate as what works on X11
  • Using the edid-generator to generate a custom EDID file using those same settings, and telling grub to take it into account. It was quite a pain to make it work by itself, and I have suspicions that it might not work because it was not built to accommodate resolutions not supported by EDID 1.3 (which are limited 16:10, 4:3, 5:4, 16:9).
  • Doing either of the two previous points using the settings from the EDID file (read from edid-decode < /sys/class/drm/card0-DP-3/edid)
  • Unsurprisingly, trying to use xrandr to set the correct output to the Wayland monitor (XWAYLAND0)
  • Some other stuff, probably not worth mentioning

Some other info

  • Ubuntu 22.04
  • Gnome 42.9
  • X.org 1.21.1.4
  • Mesa Intel Graphics (not a gaming rig, but the chip is able to manage a 3440x1440 output)
  • Laptop: Tuxedo InfinityBook Pro Gen7 / monitor: DELL S3422DWG

Edit: the solution

@[email protected] cracked it, the problem is from the dongle: I had tested the cable but never the dongle, obviously. Thank you all for your support!

top 12 comments
sorted by: hot top controversial new old
[–] Rustmilian 5 points 1 year ago (1 children)
[–] hydroel 1 points 1 year ago* (last edited 1 year ago)

I haven't, but what would they bring to the table? Would they allow specific tweaks like xrandr?

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

what is your hardware specs?

[–] hydroel 2 points 1 year ago (1 children)

Added to the main post. I didn't in the first place as I'm not so sure it's relevant (outside of the GPU and supported resolution, which I specified)

Anyway: Tuxedo InfinityBook Pro Gen 7, DELL S3422DWG

[–] [email protected] 7 points 1 year ago (1 children)

Only things I can think of are that your hdmi or dp cable is out of spec, or if you are using a thunderbolt dongle/dock maybe the ports on that are out of spec

[–] hydroel 5 points 1 year ago (1 children)

I had checked the HDMI cable several times but never thought about checking the dongle: of course that was it. Good catch, thank you!

[–] [email protected] 2 points 1 year ago

You're welcome! Glad I could help!

[–] [email protected] 1 points 1 year ago (1 children)

Damn, this makes me think that it's an issue with Dell monitors when connected through DP. I have a similar issue with my monitors on kde where my dell monitor goes into a 1024x768 resolution after a suspend. My other monitor is fine, but it is not dell. So, even if I check the resolutions list, it's not there anymore 3840x2160 I'd have to reboot then it'll show up. I wonder if an update somewhere messed with Dell monitors.

[–] hydroel 1 points 1 year ago (1 children)

Might be that Dell devs don't give a damn about correct specs (which are usually implemented in Linux) and only test on Windows. Mine is connected in HDMI though.

Does this monitor work well with Windows?

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

No idea. I don't have windows anywhere on my PC, so can't tell ya. I can tell you that ~~I don't have that issue on Wayland~~ never fucking mind, I have it on both now. Only on x11. Wayland has a different issue with the monitor that is not this. Lol Damn, seems like ~~doors~~ walls are closing in on me with Linux. I have all AMD, not sure shit is not working. Using HDMI gives me on 30hz which is stupid. Good thing it fixes for me when I reboot

[–] ag10n 2 points 1 year ago (1 children)

HDMI 2.0 has limited support for high-res displays at 21:9. Check that your cables also are up to the task.

Running both the internal and external display at these high resolutions will be a challenge, only getting 30hz here makes sense.

[–] [email protected] 2 points 1 year ago

Removed the hdmi and put back the DP. Switched back to xorg, and all good for now