HGL
environmental-rose
HDR Support
Is there any plans for dedicated HDR support on the oled model - while adding directly to steam as a non-steam game works for some games, trying to do that with the new guardians of the galaxy results in a pop up saying "please launch with epic launcher" - so Im unable to take advantage of HDR - its not a big deal but would be nice if anyone had a workaround or there's a plan in the work to get this up and running
81 Replies
adverse-sapphire•2y ago
Have you tried
WINEDLLOVERRIDES=amd_ags_x64=b
?xenogeneic-maroon•2y ago
and DXVK_HDR=1
environmental-roseOP•2y ago
OH THANK YOU! 😄 Ill ive them a try - what if Im added multiple wineDLLoverrides such as with fsr3
And would I do this in steam or heroric launcher
This activates it but the colours are washed out - the screen isn't detecting that it's suppose to be doing HDR as It doesn't show on my deck
This activates it but the colours are washed out - the screen isn't detecting that it's suppose to be doing HDR as It doesn't show on my deck
xenogeneic-maroon•2y ago
run it in game mode
environmental-roseOP•2y ago
I am ^^
I am*
xenogeneic-maroon•2y ago
then it should be working
you added the steam shortcut and are running it through steam right?
environmental-roseOP•2y ago
Yeah. It's running via heroric though steam in game mode
adverse-sapphire•2y ago
post a game log
correct-apricot•2y ago
As far as I'm aware, it's not working, but they're working on it. You can use Heroic to install, then jump through a bunch of hoops to run it via Steam, but running the flatpak will not work. https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/3281#issuecomment-1884690147
GitHub
HDR not functioning on Steam Deck OLED · Issue #3281 · Heroic-Games...
Describe the bug A lot of people have recently gotten their shiny new Steam Deck OLEDs and tried out different HDR-capable games on it; certainly, many users of Heroic are Steam Deck users. When in...
xenogeneic-maroon•2y ago
Oh right Flatpak is containerized
You can't access the HDR stuff that steam os has
eager-peach•2y ago
This PR should fix it:
https://github.com/flathub/com.heroicgameslauncher.hgl/pull/115
GitHub
Add the Gamescope Vulkan Layer to our LD_LIBRARY_PATH by CommandMC ...
This should get HDR working while in Gamescope (Steam Deck Gaming Mode)
eager-peach•2y ago
I will merge it soon
The build was updated, can you guys update heroic and try again?
deep-jade•2y ago
Sorry I'm quite new to this, is this an update via discover?
eager-peach•2y ago
yes, will show as 2.12 refresh
because it is just a small update on the app manifest
deep-jade•2y ago
Ah ok, lemme double-check with Tetris Effect.
Hmm still not working for me sadly!
eager-peach•2y ago
yeah
we will continue to investigate it
adverse-sapphire•2y ago
did you set the two environment variables above?
deep-jade•2y ago
Oh sorry, I havent, is there a tutorial for adding these? Sorry again, very new!
adverse-sapphire•2y ago
here
and here
I think in the Advanced tab, there's a setting for Environment Variables
deep-jade•2y ago
Ok added those and still not working, do I need to load something or should just adding them be enough
adverse-sapphire•2y ago
all the documentation I had seen was related to those env vars
I don't have an OLED, so I'm pretty much at my limit sorry
eager-peach•2y ago
@ZoomyRamen on the game settings can you toggle on the Prefer system libraries setting?
deep-jade•2y ago
No worries! Thanks for trying!
One mo
Which setting is this sorry
unwilling-turquoise•2y ago
Prefer system libraries
deep-jade•2y ago
I can't see the option unfortunately
unwilling-turquoise•2y ago
it should be in game settings
don't remember which tab
deep-jade•2y ago
I can't find anything about system libraries
Oh is it use steam runtime?
With that enabled it just doesn't run in game mode
unwilling-turquoise•2y ago
nope
adverse-sapphire•2y ago
It’s in the other or advanced tab. I also forget which
foreign-sapphire•2y ago
note that we only render that option if wine-ge, we hide it for proton or the system wine
it should be in the Other tab
deep-jade•2y ago
Ahhh this'll be it thanks
One moment I'll check this
Unfortunately it's still a no go!
adverse-sapphire•2y ago
can you post an updated log, in case it may shed some light?
deep-jade•2y ago
Sure thing
deep-jade•2y ago
This is for Tetris effect itsel
deep-jade•2y ago
And for heroic
adverse-sapphire•2y ago
the key is supposed to be the stuff before the first
=
sign
not something you name yourselfstatutory-emerald•2y ago
To put it more clearly. First key is
DXVK_HDR
with its value being 1
and second key is WINEDLLOVERRIDES
with its value being amd_ags_x64=b
deep-jade•2y ago
Ohhhh ok
Sorry
Total idiot at this stuff
Lemme try again
Still no dice! I'll send through the logs again in a moment
adverse-sapphire•2y ago
are you test running in game mode? iirc, the Deck OLED only has HDR active in game mode
deep-jade•2y ago
Yeah only mode I've tested it in
deep-jade•2y ago
deep-jade•2y ago
equal-jade•2y ago
You need to install flatpak gamescope, reinstall latest Heroic Games Launcher, reset it's permissions in the flatseal (if you made any adjustments earlier).
After this HDR should work with Wine-GE without any environment variables
eager-peach•2y ago
are you sure reinstalling HEroic is needed? maybe only need to go to Settings > advanced > reset Heroic, this is like a new clean install
equal-jade•2y ago
I'm not sure, but when you said that you've updated the flatpak with new metadata (xdg-run/gamescope-0) i couldn't update the package and I don't think I had updated to this release already. Maybe it had been flatseal messing my permissions, as the my final step was resetting HGL to default in the flatseal (even after reinstall)
I didn't want to clean the installation but fix the permissions for connecting to the gamescope. Reinstall wasn't enough in my case
And I've been putting various overrides there while testing
eager-peach•2y ago
yeah, in this case a new install was ideal
at least you wont lose the downloaded games when uninstalling
deep-jade•2y ago
I'll try this and report back!
Hmmm heroic is saying it can't find gamescope, will this affect anything?
I think maybe Tetris Effect is a special sorta busted because it didn't work even with the gamescope from @m3e comment on GitHub
xenogeneic-maroon•2y ago
yes
if it can't find gamescope it won't work
also i don't think heroic enables hdr on gamescope yet
and also running gamescope inside gamescope guarantees a non working hdr and absolultey trash input lag
so tldr is don't use gamescope in heroic
deep-jade•2y ago
Some people are reporting they've got HDR working with heroic so I just dunno if it's Tetris Effect
I've installed the gamescope that they were using and it's still greyed out
xenogeneic-maroon•2y ago
can you show me the game directory in dolphin (the file explorer)
equal-jade•2y ago
It's not running nested gamescope, but is required to make HDR work on the steam deck
Do you have Marvel's Guardians of the Galaxy? It's been free on the EGS last week, and is working correctly with this setup
deep-jade•2y ago
I think I've installed stuff one too many times, what's the best way to clean up gamescopes/heroic game launcher and basically start fresh
equal-jade•2y ago
Have you been using flatseal to modify permissions for the Heroic?
deep-jade•2y ago
Nah
Should I do that?
equal-jade•2y ago
it's not needed now
you can remove Heroic
and install it again
after that go to Settings > advanced > reset Heroic
deep-jade•2y ago
When I've gone to install the gamescope version it says there's two, should I install the latest?
equal-jade•2y ago
are you installing it via discovery store or terminal?
deep-jade•2y ago
Terminal, using the command you posted on GitHub
equal-jade•2y ago
use sudo and install it for system
sudo flatpak install flathub org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08
deep-jade•2y ago
Ok awesome let me try it.
Thanks for all your help
Should auto install/update VKD3D be enabled?
equal-jade•2y ago
yes
default options are fine
and use wine-ge
instead of the proton
also remove prefix you've used before
you can remove entire prefix directory and let Heroic create new one on first launch
deep-jade•2y ago
Will it do that when I reset heroic or is there a specific thing to do that
equal-jade•2y ago
no, you have to remove it manually
/home/deck/Games/Heroic/Prefixes/default/Tetris Effect Connected
this is the folder you've been using before
deep-jade•2y ago
Ok I'll delete the prefix directory to get as clean as possible
equal-jade•2y ago
Removing a prefix is generally a safe operation. Just remember to backup your saves, because, depending on game, saves can be kept inside of a prefix.
deep-jade•2y ago
Thankfully I've only been entering checking hdr and quitting haha
Yeah so I think Tetris Effect is a special busted because it just ain't working even after a complete fresh install
equal-jade•2y ago
can you post your lastplay log?
deep-jade•2y ago
Ok I think I've found the issue looking at the logs
For some reason it's not running as DX12 game
It's running as DX11 which doesn't support HDR seemingly
equal-jade•2y ago
add this as command line argument: '-d3d12'
it should be in the same place where you set environment variables for games
inside the Heroic
deep-jade•2y ago

deep-jade•2y ago
HDR is on boys
Maybe a point for any future heroic updates
Needs to be some forced DX12 enabling
I think they dropped an update for the steam deck version that fixed this but it wasn't deployed to the EGS one
Ok so the colours are washed out, so it's not quite there yet but at least one issue is resolved that it's to do with DX12
equal-jade•2y ago
can you post the logs here?
correct-apricot•2y ago
My understanding of the situation is now: Gamescope is required for HDR on SteamDeck. SteamDeck's Gamescope is a system level service that flatpak cannot access. To get HDR, HGL needs to wrap whatever game in its own Gamescope instance. If you run a game via Steam's gamemode (aka the default SteamDeck UI), then you're double wrapping the game but you will have HDR.
equal-jade•2y ago
I'm not sure if are running the separate gamescope instance rather just attaching to the Deck's gamescope session
deep-jade•2y ago
here you go
equal-jade•2y ago
As the performance, lag, etc. is the same
correct-apricot•2y ago
If you haven't measured it, you don't know that.
If it was using the system gamescope, why do you need to install a flatpak for it?
equal-jade•2y ago
dependencies, access, etc?
correct-apricot•2y ago
I'm more interested in definitive answers. I want to know exactly what's going on here and not guesses.
equal-jade•2y ago
I don't have the Deck on me, but if that's the case, then it should work in the Desktop mode too
can you even run multiple gamescope instances?
this log looks ok to me :/
Do you have HDR next to the brightness slider on deck's quick menu?
If so, then the HDR implementation in this game may be borked :/
deep-jade•2y ago
Tbh I think that's the case