Edent,
@Edent@mastodon.social avatar

I think I need someone with better skills to explain something to me.

How can I tell if my laptop's built-in graphics card supports 4k@60Hz?

I'm going Laptop→USB-C 3.2 cable→Hub→DisplayPort→DP cable→Monitor.

If I use a Windows machine, I get 2160p@60Hz - so I know the cables & hubs are fine.

Ubuntu / Pop only does 4k@30Hz.

My graphics are
Mesa Intel® UHD Graphics (CML GT2) & my processor is i5-10210U.

What command-line incantation do I need to see my GPU's supported outputs?

the_accidental,
@the_accidental@mastodon.world avatar

@Edent what’s the hub? I’m wondering if it is actually DisplayPort or if it is using DisplayLink to get a display over USB (rather than using DisplayPort connections to your laptop over the usb-c cable) if it’s displaylink it’s a driver thing and nothing to do with your GPU.

the_accidental,
@the_accidental@mastodon.world avatar

@Edent ah wait, that’s a DP1.2 GPU not 1.4 so it won’t do USB3 And 4k60 over one cable, you’d need to make it use the usb2 lines so all the lanes are for DP (if it’s DP proper and not displaylink). Not sure how you force Linux to do that, bar maybe unloading the usb3 kernel modules.

Edent,
@Edent@mastodon.social avatar

@the_accidental
Yeah, that's the conclusion I'm coming to. Mind you, I can't even get 4K60 over the laptop's built in HDMI.

Might be new laptop time!

the_accidental,
@the_accidental@mastodon.world avatar

@Edent ah well that CPU doesn’t support 4k60 on hdmi so that’s no mystery at least. It’s still hard to get full hdmi 2.1 on laptops annoyingly, with 4k120/10bit HDR for modern screens. Note the gotcha here that much of 2.1 spec is optional so you need to check details :-(

Edent,
@Edent@mastodon.social avatar

@the_accidental
Where are you seeing the spec for the CPU's support?
Want to make sure the next one I buy is OK.

tshirtman,
@tshirtman@mas.to avatar

@Edent sometimes xrandr doesn't show you all that's available, so you can create/add modes and see how it goes.

$ cvt 3840 2160 60
[…]
Modeline "3840x2160_60.00" …

give that result (after "Modeline") to xrandr --newmode

$ xrandr --newmode "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync

add that new mode to your output

$ xrandr --addmode eDP 3840x2160_60.00

set your output to that mode

$ xrandr --output eDP --mode 3840x2160_60.00

🤞
I dunno about wayland

dwm,
@dwm@mastodon.social avatar

@Edent: xrandr in a command-line will hopefully show you useful things. (This can also be used to issue commands.)

Had this recently on my own device, it struggled to display both locally and on the 4K display. I found that increasing the amount of RAM allocated to the on-board graphics (in the BIOS) helped; I suspect the graphics hardware was always capable of it, but constrained by the default configuration.

dwm,
@dwm@mastodon.social avatar

@Edent With the external display running, you could try disabling the on-board; if the capabilities improve, it indicates some kind of resource bottleneck in your device rather than a connectivity problem outside it.

Edent,
@Edent@mastodon.social avatar

@dwm Oooh, I hadn't thought of that. Ta!

bean,

@Edent I think it should just be xrandr if you're on X and not Wayland. That should show you all the available resolution/refresh rate configurations supported natively by your card and drivers. Having a hub could definitely make it harder to find the problem though :/

Edent,
@Edent@mastodon.social avatar

@bean I'm using Wayland.
I tried going direct from the laptop's HDMI port - but that was still limited to 30Hz.

dwm,
@dwm@mastodon.social avatar

@Edent In my recent case, I found the HDMI on my USB-C dock was less capable than DP.

kevinctofel,
@kevinctofel@hachyderm.io avatar

@Edent The GPU supported resolutions and refresh rates are chip dependent. That chip can do 4K 60Hz over DP, per Intel: https://ark.intel.com/content/www/us/en/ark/products/195436/intel-core-i5-10210u-processor-6m-cache-up-to-4-10-ghz.html

You likely need to configure Linux using xrandar to get the same resolution \ refresh rates as Windows: https://linuxconfig.org/how-to-configure-your-monitors-with-xrandr-in-linux

Edent,
@Edent@mastodon.social avatar

@kevinctofel interesting, thanks.
I'm using Wayland (otherwise external screens tear horribly).
I'll try booting into an X session to see if that works.

kevinctofel,
@kevinctofel@hachyderm.io avatar

@Edent Ah, Wayland is a different beast. I use Pop as well, but still with X sessions (for now). This may be of use for Wayland: https://ubuntuhandbook.org/index.php/2021/05/custom-screen-resolution-ubuntu-wayland-xorg/

JustineSmithies,
@JustineSmithies@fosstodon.org avatar

@Edent Good question as both xrandr for X and wlr-randr for Wayland only show monitors resolutions I think ? Maybe I'm wrong though and it could be the GPU's min and max resolutions ??

Edent,
@Edent@mastodon.social avatar

@JustineSmithies yup, just what the monitor reports back.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines