Image gamma with steam remote play #1060

Open
opened 2024-01-11 14:11:32 -03:00 by Odizinne · 14 comments
Odizinne commented 2024-01-11 14:11:32 -03:00 (Migrated from github.com)

When using Cemu fullscreen with vulkan on windows host, streaming through steam remote play to a device (steam deck in this case) give a way too bright image:

This brightness / gamma is correct on the host.

IMG_20240111_174730
When exiting fullscreen / focusing other window everything goes back to normal.

IMG_20240111_174754

I think it might be related to steam remote window capture, but Cemu is the only app where this issue occurs, so i'm not sure.

Tested with and without graphics pack, result is the same.

Tested with 2 different games.

OpenGL is working as intended.
Linux host is not affected, only windows.

log.txt

When using Cemu fullscreen with vulkan on windows host, streaming through steam remote play to a device (steam deck in this case) give a way too bright image: This brightness / gamma is correct on the host. ![IMG_20240111_174730](https://github.com/cemu-project/Cemu/assets/102679854/b29dedc5-449e-4a7e-9684-415c7b95e090) When exiting fullscreen / focusing other window everything goes back to normal. ![IMG_20240111_174754](https://github.com/cemu-project/Cemu/assets/102679854/f53ab890-6dd1-4959-9796-8df4b554b2fb) I think it might be related to steam remote window capture, but Cemu is the only app where this issue occurs, so i'm not sure. Tested with and without graphics pack, result is the same.<br/> Tested with 2 different games. OpenGL is working as intended. Linux host is not affected, only windows. [log.txt](https://github.com/cemu-project/Cemu/files/13906098/log.txt)
Squall-Leonhart commented 2024-01-11 14:44:10 -03:00 (Migrated from github.com)
This is not a Cemu bug. https://steamcommunity.com/groups/homestream/discussions/1/3191368254806677908/
Odizinne commented 2024-01-11 14:47:49 -03:00 (Migrated from github.com)

From what i read:

16 March - Steam Client Update Released
A new Steam client has been released and will be automatically downloaded.

Remote Play
Fixed washed out colors streaming D3D9 games

This does not appear to be related to vulkan

Also the post mention issue with steam link. but here steam link works fine. Only remote play (built in steam client) is affected

Edit: steam link works fine beaucse it shares the entire screen. Remote play will share the application window if possible

From what i read: 16 March - Steam Client Update Released A new Steam client has been released and will be automatically downloaded. Remote Play Fixed washed out colors streaming D3D9 games This does not appear to be related to vulkan Also the post mention issue with steam link. but here steam link works fine. Only remote play (built in steam client) is affected Edit: steam link works fine beaucse it shares the entire screen. Remote play will share the application window if possible
Squall-Leonhart commented 2024-01-11 14:55:45 -03:00 (Migrated from github.com)

on second look, your windows PC has hdr on with Auto-hdr optimizing the appearance of Cemu, this only occurs fullscreen unless the DXGI swapchain is enabled in the video driver where it is then performed either way.

on second look, your windows PC has hdr on with Auto-hdr optimizing the appearance of Cemu, this only occurs fullscreen unless the DXGI swapchain is enabled in the video driver where it is then performed either way.
Odizinne commented 2024-01-11 14:58:14 -03:00 (Migrated from github.com)

HDR / auto HDR is off. I don't use it. the pictures are from my steam deck.

HDR / auto HDR is off. I don't use it. the pictures are from my steam deck.
Squall-Leonhart commented 2024-01-11 15:03:01 -03:00 (Migrated from github.com)

Is this a steamdeck connected to a tv?

Is this a steamdeck connected to a tv?
Odizinne commented 2024-01-11 15:05:25 -03:00 (Migrated from github.com)

No, streaming my main PC to it.

Cemu added as a non steam game on windows host PC, launched via steam on the deck (linux) using the built in remote play feature.

No hdr enabled on the host (at least in windows settings), idk about AMD drivers, but never seen such option ( DXGI swapchain)

No, streaming my main PC to it. Cemu added as a non steam game on windows host PC, launched via steam on the deck (linux) using the built in remote play feature. No hdr enabled on the host (at least in windows settings), idk about AMD drivers, but never seen such option ( DXGI swapchain)
Squall-Leonhart commented 2024-01-11 15:09:27 -03:00 (Migrated from github.com)

enabling Triplebuffering in the Radeon control panel will turn on DXGI Swapchain.

enabling Triplebuffering in the Radeon control panel will turn on DXGI Swapchain.
Odizinne commented 2024-01-11 15:11:40 -03:00 (Migrated from github.com)

image

This is off and has never been on

![image](https://github.com/cemu-project/Cemu/assets/102679854/afd7dec5-23ec-48a6-ac39-8cf3263a752a) This is off and has never been on
Squall-Leonhart commented 2024-01-11 15:12:06 -03:00 (Migrated from github.com)

Crap, AMD is automatically using the DXGI swapchain on Vulkan, only Opengl requires TB enabled to turn it on.

if i'm right, opengl should be broken with that toggled too.

Crap, AMD is automatically using the DXGI swapchain on Vulkan, only Opengl requires TB enabled to turn it on. if i'm right, opengl should be broken with that toggled too.
Odizinne commented 2024-01-11 15:12:57 -03:00 (Migrated from github.com)

Yeah was reading that too. I'll try with OpenGL and this setting

Yeah was reading that too. I'll try with OpenGL and this setting
Squall-Leonhart commented 2024-01-11 15:18:57 -03:00 (Migrated from github.com)

Hey, this issue may be resolved in SteamOS 3.5.8

Hey, this issue may be resolved in [SteamOS 3.5.8](https://steamcommunity.com/games/1675200/announcements/detail/3870343609914277086?snr=2_9_100015_)
Odizinne commented 2024-01-11 16:36:36 -03:00 (Migrated from github.com)

I already tried beta builds, unfortunately it does not change anything for Cemu.

Eating right now, and i'll follow back with opengl test. If the same occurs with triple buffering, i guess we can call the driver problem and close this issue

i'll also try another vulkan game, like doom. If this is a driver "problem" the issue should be reproducible with any native vulkan games.

I already tried beta builds, unfortunately it does not change anything for Cemu. Eating right now, and i'll follow back with opengl test. If the same occurs with triple buffering, i guess we can call the driver problem and close this issue i'll also try another vulkan game, like doom. If this is a driver "problem" the issue should be reproducible with any native vulkan games.
Odizinne commented 2024-01-11 16:55:18 -03:00 (Migrated from github.com)

So:

  • Doom 2016 (Vulkan) no issue
  • Hades (Vulkan) no issue
  • Cemu (OpenGL with triple buffering in drivers) no issue
  • Yuzu (Vulkan) no issue

Not sure why only Cemu fullscreen is affected

So: - Doom 2016 (Vulkan) no issue - Hades (Vulkan) no issue - Cemu (OpenGL with triple buffering in drivers) no issue - Yuzu (Vulkan) no issue Not sure why only Cemu fullscreen is affected
Odizinne commented 2024-01-11 17:30:13 -03:00 (Migrated from github.com)

Performed a factory reset, switch back to preview channel on the deck, and it's seems to be gone.

Weird as i was already on the preview channel before the reset.

This issue can be closed. Thanks a lot for the help on troubleshooting!

Edit: Nvm i was still on OpenGL ...

Performed a factory reset, switch back to preview channel on the deck, and it's seems to be gone. Weird as i was already on the preview channel before the reset. This issue can be closed. Thanks a lot for the help on troubleshooting! Edit: Nvm i was still on OpenGL ...
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cemu-project_Mirror/Cemu-2024-03-05#1060
No description provided.