New around here? Register your SA Forums Account here!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $10! We charge money because it costs us money per month for bills alone, and since we don't believe in shady internet advertising, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Tiny Timbs
Sep 6, 2008

MH: Wilds seems extremely egalitarian in that it's hosed up for everyone in different ways

Adbot
ADBOT LOVES YOU

v1ld
Apr 16, 2012

Kibner posted:

Monster Hunter Wilds keeps crashing on me and it is infuriating. Have tried so many different combinations of proton versions, REFramework installed or not, and various launch options. Going to try adding LD_PRELOAD="" tomorrow and see if that fixes it.

Didn't go through the whole github issue but did you try adding the env vars that enable RT and DLSS if you're on an NVidia GPU? Since the game can use both, I mean.

Kibner
Oct 21, 2008

Acguy Supremacy

v1ld posted:

Didn't go through the whole github issue but did you try adding the env vars that enable RT and DLSS if you're on an NVidia GPU? Since the game can use both, I mean.

I’m on AMD and running Bazzite. I should have included that, sorry.

E: reading that GitHub issue and I am crashing during gameplay. Sometimes after an hour, sometimes after ten minutes

Kibner fucked around with this message at 13:58 on Mar 12, 2025

Kevin Bacon
Sep 22, 2010


Kibner posted:

I’m on AMD and running Bazzite. I should have included that, sorry.

E: reading that GitHub issue and I am crashing during gameplay. Sometimes after an hour, sometimes after ten minutes

did you try the bleeding edge version of proton experimental? a lot of people (also me) are saying that fixed their crashing issues. what does your dmesg/journalctl logs say? ring timeout?

Kibner
Oct 21, 2008

Acguy Supremacy

Kevin Bacon posted:

did you try the bleeding edge version of proton experimental? a lot of people (also me) are saying that fixed their crashing issues. what does your dmesg/journalctl logs say? ring timeout?

i do not know how to get the bleeding edge version of experimental or get those logs. i will look that up after it crashes again this evening.

but i was reading through that github ticket and found this: https://gitlab.freedesktop.org/drm/amd/-/issues/3131. it's about the linux amddriver using the wrong limits for some cards. according to LACT, my 7900XTX was being given a maximum boost clock of 2970 instead of what should have been 2498. and my cooling system was letting it actually clock that high, too. so, that probably added to the issues.

Kevin Bacon
Sep 22, 2010


Kibner posted:

i do not know how to get the bleeding edge version of experimental or get those logs. i will look that up after it crashes again this evening.

but i was reading through that github ticket and found this: https://gitlab.freedesktop.org/drm/amd/-/issues/3131. it's about the linux amddriver using the wrong limits for some cards. according to LACT, my 7900XTX was being given a maximum boost clock of 2970 instead of what should have been 2498. and my cooling system was letting it actually clock that high, too. so, that probably added to the issues.

oh i see, apologies! in your steam library, search for "proton experimental", right click > properties, then in the betas tab, select bleeding edge. i think that should download it, and then you just select proton experimental in monster hunter's proton versions and give it a go. should probably do the trick!

Kibner
Oct 21, 2008

Acguy Supremacy

Kevin Bacon posted:

oh i see, apologies! in your steam library, search for "proton experimental", right click > properties, then in the betas tab, select bleeding edge. i think that should download it, and then you just select proton experimental in monster hunter's proton versions and give it a go. should probably do the trick!

Thanks! Unfortunately, I have changed proton versions too many times in too short a time period so now I am locked out of playing the game until Denuvo lets me play in another 24 hours. :(

Kevin Bacon
Sep 22, 2010


yeah the whole monster hunter situation is kind of a nightmare for linux users if youre having any issues. hope its smooth sailing from here on out though! :cheers:

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

Kibner posted:

but i was reading through that github ticket and found this: https://gitlab.freedesktop.org/drm/amd/-/issues/3131. it's about the linux amddriver using the wrong limits for some cards. according to LACT, my 7900XTX was being given a maximum boost clock of 2970 instead of what should have been 2498. and my cooling system was letting it actually clock that high, too. so, that probably added to the issues.

LMAO. I've had the same card since release and never knew of that issue. Tried booting up Cyberpunk, which I've played for about 200 hours over the past couple of years, and sure enough CoolerControl shows the clock at 3000MHz or so in crowded areas.

Never had a noticeable amounts of crashing, though, except back in early 2023 when the drivers were brand new. Even when I played around with local Stable Diffusion I rarely had issues. While I did use CoolerControl to enforce safe temperatures during demanding games (I'll be wearing noise-cancelling headphones for those anyway), I must have rolled pretty well on the chip lottery for the GPU to be so chill, forgive the pun.

Oh well. Makes up for the lovely 6600K I got back in 2016 that couldn't hold a stable OC even to 4.1GHz :argh:

Fucking Moron
Jan 9, 2009

Lifroc posted:

reserved

So I am a complete loving moron when it comes to this but would...

GameMode (https://github.com/FeralInteractive/gamemode): Automatically tune your system for max performance when running a game.

Help make a Steamdeck run a bit better?

I hope this is not my dumbest question to date.

Less Fat Luke
May 23, 2003

Exciting Lemon
Not really any advantage. That app let's you run certain things when a game starts but the Deck incorporates all the "easy" wins for gaming stuff so it won't do anything. On a desktop it's nice cause you can use it to pause notifications or whatever but on the Deck their tools for setting TDP and what not are much more important for game performance.

v1ld
Apr 16, 2012

What helps the Deck run better for me is to use those power limiting tools somewhat aggressively. Set the frame rate you want to target as the screen's refresh rate then look at the graph to see how steadily the game maintains it. Then tweak game settings until it's a stable refresh rate, possibly dropping a tier if you need to (i.e., I'll usually target 45Hz on the 90Hz screen and then drop to 30Hz if it's not sustainable to maintain an integer ratio from 90Hz - but I'm less susceptible than most to low-hz-bleeding-eye problems).

Once that's done I'll look at CPU/GPU usage and start tweaking power draw. If CPU is typically say 20%, I'm going to drop max power draw to 8 Watts or lower almost immediately and see if the game still holds that frame rate. Same for GPU.

It's really easy to do this on the Deck since all of the profiling output, the game itself and the controls you need are all on the same screen. If only everything was so easy to tweak, measure, and tweak again.

JammyB
May 23, 2001

I slept with Mary and Joseph never found out
Just got set up for Linux gaming and so far I'm well impressed. Absolutely amazing to get some old games running again and I've got loads I want to ask. But right now I've got one main problem that I'm hoping someone can help with and it's performance.

I've got a refurb Lenovo T14 Gen 2 laptop, which is a Ryzen 5850U, 16gb DDR4 and SSD. Fresh install of Arch with Hyprland, open source AMD drivers (vulkan-radeon) and I'm fairly confident I got things set up fairly well and cleanly.

I never ran Windows on here so unfortunately I'm just comparing gaming performance with what I've seen on youtube. I searched for 5850U gaming (or 5000U which is pretty much the same). I can see videos like this one on ETA Prime's channel with a similar laptop running Forza Horizon 4 at 1080p / low / ~60fps (on Windows), or this tiny PC one on Arch also matching that.

I'm only achieving 30fps on mine at the same settings, which doesn't seem right.

I'm measuring performance with MangoHud and can see the GPU is maxed out. I've tried with and without GameMode, using "gamemoderun %command%" in Steam and that doesn't seem to make any difference.

I first suspected some kind of low power mode, and admittedly I'm not entirely sure what I'm doing here. I installed the cpupower package and enabled the service, but haven't spent much time reading up yet. I measured power at the wall at around 25-30W so I'm assuming it's not on some kind of battery-saving mode.

In Steam, I've tried Proton Hotfix, Proton Experimental and Proton 9 and there's not much difference. The only other thing of note is in game I have the display set to window mode, because fullscreen doesn't seem to play well with Hyprland in this or other games (often just get a black screen). That's not what I'd expect to do in Windows but I'm assuming that's not the issue.

Would appreciate it any suggestions on what else I can check that I might have missed/misconfigured, or whether there's any other good comparable benchmark stuff I can run.

Fucking Moron
Jan 9, 2009

v1ld posted:

What helps the Deck run better for me is to use those power limiting tools somewhat aggressively. Set the frame rate you want to target as the screen's refresh rate then look at the graph to see how steadily the game maintains it. Then tweak game settings until it's a stable refresh rate, possibly dropping a tier if you need to (i.e., I'll usually target 45Hz on the 90Hz screen and then drop to 30Hz if it's not sustainable to maintain an integer ratio from 90Hz - but I'm less susceptible than most to low-hz-bleeding-eye problems).

Once that's done I'll look at CPU/GPU usage and start tweaking power draw. If CPU is typically say 20%, I'm going to drop max power draw to 8 Watts or lower almost immediately and see if the game still holds that frame rate. Same for GPU.

It's really easy to do this on the Deck since all of the profiling output, the game itself and the controls you need are all on the same screen. If only everything was so easy to tweak, measure, and tweak again.

I have a feeling if I try this it will blow up and burn down Mrs. Moron's favorite couch.

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

JammyB posted:

Would appreciate it any suggestions on what else I can check that I might have missed/misconfigured, or whether there's any other good comparable benchmark stuff I can run.

I'd definitely first determine if it's a Forza Horizon 4-specific issue or a more general one. You can get the 3DMark Demo for free on Steam, and check if you're also underperforming other T14s by 50% or if it's closer.

I would also install LACT or CoolerControl to check the sensors and clock, to ensure that your GPU is both running at full clock speed and not heat throttling. LACT will also let you set AMD native power states.

Klyith
Aug 3, 2007

GBS Pledge Week

JammyB posted:

I've got a refurb Lenovo T14 Gen 2 laptop, which is a Ryzen 5850U, 16gb DDR4 and SSD.

Random thought: are you sure the ram is 2 8GB sticks, and not a single 16? That's a thing they do sometimes to save a buck, and it kills performance for iGPU systems real bad.

Otherwise seconding NihilCredo, a GPU monitoring tool is a good idea. There's also just nvtop for a simple CLI program that shouldn't need any permissions (works on AMD despite the name).

Kibner
Oct 21, 2008

Acguy Supremacy
good news! either proton experimental (bleeding edge) or downclocking my gpu to the manufacturer limits stopped Mon Hun Wilds from crashing!

bad news is that i'm still getting pretty persistent stutter. it might be shader stutter; i don't know.

v1ld
Apr 16, 2012

Install REFramework and update the Direct Storage DLLs. The former turns off a bunch of tamper detection scans that are messing with your performance.

You'll need to set WINEDLLOVERRIDES for REFramework's dinput8.dll, Google that if you haven't done it before

Kibner
Oct 21, 2008

Acguy Supremacy

v1ld posted:

Install REFramework and update the Direct Storage DLLs. The former turns off a bunch of tamper detection scans that are messing with your performance.

You'll need to set WINEDLLOVERRIDES for REFramework's dinput8.dll, Google that if you haven't done it before

I installed the former but haven’t installed the latter. Will try it tomorrow.

JammyB
May 23, 2001

I slept with Mary and Joseph never found out
Thanks both for these suggestions.

Klyith posted:

Random thought: are you sure the ram is 2 8GB sticks, and not a single 16? That's a thing they do sometimes to save a buck, and it kills performance for iGPU systems real bad.

Otherwise seconding NihilCredo, a GPU monitoring tool is a good idea. There's also just nvtop for a simple CLI program that shouldn't need any permissions (works on AMD despite the name).

It looks like these T14s do typically ship with 1x16gb soldered memory + a spare slot, so that's a good spot and perhaps I'm not comparing like with like.

NihilCredo posted:

I'd definitely first determine if it's a Forza Horizon 4-specific issue or a more general one. You can get the 3DMark Demo for free on Steam, and check if you're also underperforming other T14s by 50% or if it's closer.

I would also install LACT or CoolerControl to check the sensors and clock, to ensure that your GPU is both running at full clock speed and not heat throttling. LACT will also let you set AMD native power states.

I've been playing around this morning. I couldn't get 3DMark Demo to run the benchmark unfortunately (it just errored), but anecdotally I don't think Forza is an outlier - will have to find some other reference points. Really wish I hadn't been so hasty to scrap the Windows 11 install that it shipped with! Maybe in a few weeks I'll put it back on and give it a quick sanity check.

This BIOS doesn't have any CPU setup unfortunately - only shows CPU clock at 1.9Ghz which is the correct base frequency for this chip.

I've been doing some further testing with htop, nvtop, lact, s-tui and cpupower:
- When launching a game on Steam, cpupower shows the currency policy switching from powersave to performance when Steam launches a game, great
- thermals: both in games and s-tui stress tests, I never see anything higher than 58-62C.
- Clock frequencies: s-tui pushes all CPU cores to 2.1Ghz which seems ok. Looking at cpufreq settings under /sys/devices shows correct frequency settings too.
- Lact shows GPU power states 0:200mhz, 1:700mhz and 2:2000mhz. This is new to me and I haven't had time to understand this yet and whether that's expected.

Gaming results are puzzling me. Testing this time using BallsticNG on Steam with GameMode:
- 1080p @ ~40fps: CPU clocks 1.4Ghz, GPU clocks 1.5Ghz, temp 59C. GPU 99% utilised. Power usage jumps 12-20W. Throttling jumps between Power(SPPT) and Power(FPPT, SPPT).
- 720P @ 60fps limit: CPU clocks 1.4-2Ghz, GPU 1.5-1.8Ghz, temp 58C. GPU ~75% utilised. Power usage jumps 8-20W. Throttling jumps between Power(SPPT) and Power(FPPT, SPPT).

So when the GPU is fully utilised, it seems to lock both the CPU and GPU clock speeds consistently to a lower frequency - they don't bounce around like at 720p. This is my first time using Ryzen/iGPUs, but that seems unexpected to me. I would expect the CPU clocks to go lower to allow GPU to stay high... not sure.

I should say as well to avoid wasting time that this is just my backup computer so as long as I've not misconfigured it I don't mind if performance isn't amazing. My main goal is to familiarise myself with Arch, dry-run Hyprland and test compatibility before taking the plunge and formatting my main PC.

Kibner
Oct 21, 2008

Acguy Supremacy
I think Frame Generation was crashing me and causing excessive stutters. Or at least causing me to drop connection when playing in a lobby with my partner. Turning Frame Generation off seems to work.

I found this in dmesg while FG was running:

code:
[10130.127131] umip_printk: 57 callbacks suppressed
[10130.127134] umip: MonsterHunterWi[6054] ip:158ea27d1 sp:89adf818: SGDT instruction cannot be used by applications.
[10130.127137] umip: MonsterHunterWi[6054] ip:158ea27d1 sp:89adf818: For now, expensive software emulation returns the result.
[10130.329806] umip: MonsterHunterWi[6056] ip:156baacc4 sp:8a5df908: SGDT instruction cannot be used by applications.
[10130.329811] umip: MonsterHunterWi[6056] ip:156baacc4 sp:8a5df908: For now, expensive software emulation returns the result.
[10130.984914] umip: MonsterHunterWi[6056] ip:154a8c355 sp:8a5df828: SGDT instruction cannot be used by applications.
[10732.455582] amdgpu 0000:03:00.0: amdgpu: Dumping IP State
[10732.457982] amdgpu 0000:03:00.0: amdgpu: Dumping IP State Completed
[10732.458078] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 timeout, but soft recovered
[10749.359751] umip_printk: 57 callbacks suppressed

Kibner fucked around with this message at 02:10 on Mar 14, 2025

Truga
May 4, 2014
Lipstick Apathy
i decided to turn on hdr to see what all the fuss is about now that it's super easy, at least on kde.

deep rock galactic looks pretty amazing with this even on a lovely hdr screen, but i also tried a couple other games and most seem to just apply a gray filter over the screen to desaturate everything, and then give you a slider to adjust how bright or dark the filter is?

is that really how it works in most games or does gamescope hdr just bug out randomly? because that sounds incredibly poo poo and stupid lmao

Mr. Crow
May 22, 2008

Snap City mayor for life
You need to run gamescope in an embedded session otherwise it'll probably not work, the washed out colors means its broken. Theres supposedly some arcane combinaton of kde, wine, dxvk etc. that makes it work but its way simpler to just log into a gamescope session. Supposedly it'll work soontm though.

Kibner
Oct 21, 2008

Acguy Supremacy
Yeah, this is the bare minimum you need to put in your launch options for a game in Steam to run HDR in gamescope:

code:
DXVK_HDR=1 gamescope --hdr-enabled -- %command%
Having the environment variable set as well as the argument in gamescope is just a failsafe so that if a game doesn't recognize one, it will recognize the other.

Truga
May 4, 2014
Lipstick Apathy
well i thought it was broken when i tried path of exile 2 every now and then as kde/gamescope updates trickled in

but today i tried deep rock galactic and it works great. if i enable hdr, the environment and menus stays basically the same, as one would except, just the bright poo poo like the sun through the station window or staring directly at a flare or explosions is much brighter, and there's much less colour "compression" happening around bright or dark objects

in path of exile 2, the game just gets a lovely gray filter, and according to google i'm not the only one seeing this lol

also, since kde 6.1 or 6.2 it's very easy to get it working, you just need a newish version of gamescope and put this into steam's launch option
gamemoderun gamescope -H 1440 -W 2560 -r 165 --mangoapp --hdr-enabled --adaptive-sync -- %command%

fake edit: also DXVK_HDR=1 isn't needed anymore, it seems to be default in anything recent as setting it or not has no effect on the game

Tiny Timbs
Sep 6, 2008

You have to max the HDR brightness in PoE 2 to get it to look right. Works For Me.

Truga
May 4, 2014
Lipstick Apathy
huh yeah, that does somehow make it better what the hell lmao

Klyith
Aug 3, 2007

GBS Pledge Week
PoE 2 hdr has come up before ITT and the impression I got after looking around the reddits etc is that it sucks in general, even on windows. And that the devs only added the feature due to it being the most requested feature.

Truga
May 4, 2014
Lipstick Apathy
yeah, looks like there are quite a few games like that out there where hdr is just a box to check on the feature list but absolutely no thought was given to it

e: i did find this thing yesterday while setting up stuff tho https://github.com/HikariKnight/ScopeBuddy

Truga fucked around with this message at 14:13 on Mar 15, 2025

v1ld
Apr 16, 2012

Ironically but unsurprisingly, the Steam Deck has a much better HDR experience than I've had in Windows. Stuff mostly Just Works when it's supported - and the game itself hasn't made a hash of it, like PoE2 sounds like it has.

Tiny Timbs
Sep 6, 2008

Klyith posted:

PoE 2 hdr has come up before ITT and the impression I got after looking around the reddits etc is that it sucks in general, even on windows. And that the devs only added the feature due to it being the most requested feature.

I like it lol

Spell effects look really cool with it

Well Played Mauer
Jun 1, 2003

We'll always have Cabo
Yeah IME some games really phone in HDR.

Serephina
Nov 8, 2005

恐竜戦隊
ジュウレンジャー
This is going very offtopic, but can someone explain HDR in gaming to me? I have a firm grasp of what it means for photography, but for a video game... unless the monitor itself is altering its display/backlight etc, there's nothing the software application can do, right? Like, it can draw colourful bright images to the buffer right next to dark subtle ones by default, it's not as if they're being limited by bit palette?

pseudorandom name
May 6, 2007

They are being limited by bit palette.

SDR is 24 bit color, 8 bits per color channel, using the sRGB color space.

HDR is 30 bit color, 10 bits per color channel, using a variety of different (larger) color spaces.

Klyith
Aug 3, 2007

GBS Pledge Week

Serephina posted:

This is going very offtopic, but can someone explain HDR in gaming to me? I have a firm grasp of what it means for photography, but for a video game... unless the monitor itself is altering its display/backlight etc,

Most monitors with HDR do exactly that, they have local dimming / mini led backlight with a number of zones. Cheaper ones get away with dimming the edge lights, which means a small number of zones that can't track very well. Expensive panels have mini leds directly behind the panel and more zones.

https://www.rtings.com/tv/tests/picture-quality/local-dimming

I think some cheap monitors with "HDR" just change the whole backlight with no zones, and so they look like poo poo in any scene with contrast.

Truga
May 4, 2014
Lipstick Apathy
yeah my monitor just sets the backlight to full blast when in hdr mode. it just barely increases contrast, but it's actually surprisingly alright for an ips in that black is still black outside of borderline cases like very dark scenes in an unlit room. and while i'd much rather have an oled, i'm not getting one until they can do 8h+/day of computer work poo poo without burnin, considering how expensive they are

what it does do, however, is make details in low contrast situations more visible. normally when there's a really bright effect you just see a flat bright blotch, but with hdr on you can clearly see the actual geometry because there's 4 times the amount of bright yellows or whatever

Squiggle
Sep 29, 2002

I don't think she likes the special sauce, Rick.


I have one nagging problem with my Linux gaming experience after switching fully a few months ago, and I'm wondering if anyone knows how I can do this:

On KDE Wayland, Fedora, I've got Sunshine rigged up with a "Do" command when I connect to it:

sh -c "kscreen-doctor output.HDMI-A-1.mode.${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}@${SUNSHINE_CLIENT_FPS}"

This should be pulling the client's resolution and refresh rate and feeding it back to the host and setting it for the duration of the stream, otherwise I get a big dumb black border around shrunken streaming content. But it only actually works if there's a matching resolution available to my host machine's monitor, which I can see in the KDE "Display & Monitor" system settings.

So, 1920x1080x60 from my TV when my Steam Deck is docked to it? Works great, perfect, no notes.
But from the 1280x800x90 of the Deck itself when just playing handheld, no luck, it just sticks to the host's native 3440x1440.

I know 1280x800x90 is a supported mode from my Windows time, but on my Fedora boot (maybe just Wayland?) it's not available to me. Is there a way to add a res/refresh rate combo to my available choices? Googling for an answer, it seems to require modifying my GRUB configuration, but I don't know what that is and it is implied to be uhhh...risky? Am I maybe getting into something I shouldn't be touching with my current knowledge level?

Squiggle fucked around with this message at 19:43 on Mar 18, 2025

Kibner
Oct 21, 2008

Acguy Supremacy

Squiggle posted:

I have one nagging problem with my Linux gaming experience after switching fully a few months ago, and I'm wondering if anyone knows how I can do this:

On KDE Wayland, Fedora, I've got Sunshine rigged up with a "Do" command when I connect to it:

sh -c "kscreen-doctor output.HDMI-A-1.mode.${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}@${SUNSHINE_CLIENT_FPS}"

This should be pulling the client's resolution and refresh rate and feeding it back to the host and setting it for the duration of the stream, otherwise I get a big dumb black border around shrunken streaming content. But it only actually works if there's a matching resolution available to my host machine's monitor, which I can see in the KDE "Display & Monitor" system settings.

So, 1920x1080x60 from my TV when my Steam Deck is docked to it? Works great, perfect, no notes.
But from the 1280x800x90 of the Deck itself when just playing handheld, no luck, it just sticks to the host's native 3440x1440.

I know 1280x800x90 is a supported mode from my Windows time, but on my Fedora boot (maybe just Wayland?) it's not available to me. Is there a way to add a res/refresh rate combo to my available choices? Googling for an answer, it seems to require modifying my GRUB configuration, but I don't know what that is and it is implied to be uhhh...risky?

What modes do you see when you run "kscreen-doctor -o"? Also, are you trying to enable/disable HDR when you are connecting via your Steam Deck? If so, you will need to add a sleep command between setting the resolution and configuring the brightness. It works for me like this:

1) kscreen-doctor output.DP-3.mode.35 output.DP-3.scale.1 output.DP-3.hdr.disable
2) sleep 1
3) kscreen-doctor output.DP-3.brightness.1

And then undo would be:
1) kscreen-doctor output.DP-3.mode.2 output.DP-3.scale.1.5 output.DP-3.hdr.enable
2) sleep 1
3) kscreen-doctor output.DP-3.brightness.100

"mode.35" for me is "1280x800@60"
"mode.2" is "3840x2160@240"

Kibner fucked around with this message at 19:50 on Mar 18, 2025

Tiny Timbs
Sep 6, 2008

I think I found the GRUB instructions you were talking about and they're just describing adding a kernel parameter which is not risky at all if you can handle undoing it (or restoring a backup file) from a TTY if it doesn't work:

quote:

I use Arch with nvidia dunno if this will work for you but you can try this took me a very long time to figure out but here is how i did it.

1.- You need the EDID of the monitor which you want to modify with your custom resolutions i used qemu-edid but you can use regular CRU on windows to extract it also you can do a blank new one but you have to set all the monitor resolutions from scratch.

2.-When you have the .bin file put in a user folder there you can modify it using CRU thru wine this is the way it worked for me and set your custom resolutions.

3.- After making your .bin file you have to copy in /lib/firmware/edid/ so your file will look something like /lib/firmware/edid/your-file.bin

4.-You need your monitor id mine is DP-1 check yours using xrandr, go to your GRUB file to edit mine is in /etc/default/grub and put this command GRUB_CMDLINE_LINUX_DEFAULT = drm.edid_firmware=DP-1:edid/your-file.bin and update your grub i use "sudo grub-mkconfig -o /boot/grub/grub.cfg" to do this.

5.- if everything is ok you will see your custom resolutions without issues in wayland.

https://www.reddit.com/r/linux_gaming/comments/1e5hi27/how_to_set_custom_resolutions_and_refresh_rate/

If you're using systemd-boot you'd add the "drm.edid_firmware=DP-1:edid/your-file.bin" parameter at the end of the options line in /boot/loader/entries/[your boot config].conf and skip the other step because it's not necessary.

Adbot
ADBOT LOVES YOU

Squiggle
Sep 29, 2002

I don't think she likes the special sauce, Rick.


Kibner posted:

What modes do you see when you run "kscreen-doctor -o"? Also, are you trying to enable/disable HDR when you are connecting via your Steam Deck?

It's not one of the available outputs, no 1280x800 of any sort - which I'm sure is the problem! And I won't even attempt to try HDR - given the conversation over the last page, I'm happy to leave it out of the equation.

quote:

Output: 1 DP-2
....
Modes: 1:3440x1440@60! 2:3440x1440@144* 3:3440x1440@120 4:3440x1440@100 5:2560x1080@144 6:2560x1080@120 7:2560x1080@60 8:2560x1080@60 9:2560x1080@50 10:1720x1440@60 11:1920x1080@60 12:1920x1080@60 13:1920x1080@50 14:1680x1050@60 15:1280x1024@75 16:1280x1024@60 17:1440x900@60 18:1280x720@60 19:1280x720@60 20:1280x720@50 21:1024x768@100 22:1024x768@75 23:1024x768@70 24:1024x768@60 25:800x600@100 26:800x600@75 27:800x600@72 28:800x600@60 29:800x600@56 30:720x576@50 31:720x480@60 32:640x480@100 33:640x480@75 34:640x480@73 35:640x480@60 36:640x480@60
...

Knowing it's DP-2 on card 1, I got as far as decoding the efid for it with "edid-decode /sys/devices/pci0000:00/0000:00:03.1/0000:2b:00.0/drm/card1/card1-DP-2/edid" but what to do with that info is where it stops. I was following along with this thread on the KDE forum but is where I hit the limits of my understanding.

edit: It also seems to imply that this is much easier on X11! Adding a custom mode is apparently a tracked Wayland issue, but I don't expect that's especially high priority.

Tiny Timbs posted:

I think I found the GRUB instructions you were talking about and they're just describing adding a kernel parameter which is not risky at all if you can handle undoing it (or restoring a backup file) from a TTY if it doesn't work:

Oh man, thank you! But I uh also don't' know how to do backups from a TTY, or even what the TTY is, so maybe I should be happy with docked streaming until Wayland accounts for easily creating custom modes.

Squiggle fucked around with this message at 20:00 on Mar 18, 2025

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply