Powerwing
Powerwing
UBUniversal Blue
Created by Powerwing on 2/4/2025 in #🛟bazzite-help
Aokzoe A1 Custom EDID and FPS limit slider
I made some progress, here's what i did i created a conf file in home/bazzite/.config/environment.d/ with the following values
# Set the specific values allowed for refresh rates
CUSTOM_REFRESH_RATES=40,50,60

# Set the range of the refresh rate slider in the Steam client
export STEAM_DISPLAY_REFRESH_LIMITS=40,60
# Set the specific values allowed for refresh rates
CUSTOM_REFRESH_RATES=40,50,60

# Set the range of the refresh rate slider in the Steam client
export STEAM_DISPLAY_REFRESH_LIMITS=40,60
Now the slider has the 40 fps option, games are starting fine BUT whatever the slider options (even 30/15...) it seems to do nothing, FPS remain at 60
16 replies
UBUniversal Blue
Created by Powerwing on 2/4/2025 in #🛟bazzite-help
Aokzoe A1 Custom EDID and FPS limit slider
it seems working (i can now have 40hz in the slider) but now games are not launching how /where can i found the default GAMESCOPECMD (so that i can add a new option to it)? i tried to echo GAMESCOPECMD in desktop mode but it's empty
16 replies
UBUniversal Blue
Created by Powerwing on 2/4/2025 in #🛟bazzite-help
Aokzoe A1 Custom EDID and FPS limit slider
good catch, but still not working
16 replies
UBUniversal Blue
Created by Powerwing on 2/4/2025 in #🛟bazzite-help
Aokzoe A1 Custom EDID and FPS limit slider
thanks for your help, unfortunately it did not work i placed the file in etc/gamescope and it was like this :
gamescope.config.known_displays.aokzoe_lcd = {
pretty_name = "Aokzoe LCD",
dynamic_refresh_rates = {
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
60
},
hdr = {
-- Setup some fallbacks or undocking with HDR
-- for this display.
supported = false,
force_enabled = false,
eotf = gamescope.eotf.gamma22,
max_content_light_level = 500,
max_frame_average_luminance = 500,
min_content_light_level = 0.5
},
dynamic_modegen = function(base_mode, refresh)
debug("Generating mode "..refresh.."Hz for Aokzoe LCD")
local mode = base_mode

-- These are only tuned for 1200x1920.
gamescope.modegen.set_resolution(mode, 1200, 1920)

-- hfp, hsync, hbp
gamescope.modegen.set_h_timings(mode, 32, 24, 32)
-- vfp, vsync, vbp
gamescope.modegen.set_v_timings(mode, 60, 8, 32)
mode.clock = gamescope.modegen.calc_max_clock(mode, refresh)
mode.vrefresh = gamescope.modegen.calc_vrefresh(mode)

--debug(inspect(mode))
return mode
end
}
debug("Registered Aokzoe LCD as a known display")
gamescope.config.known_displays.aokzoe_lcd = {
pretty_name = "Aokzoe LCD",
dynamic_refresh_rates = {
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
60
},
hdr = {
-- Setup some fallbacks or undocking with HDR
-- for this display.
supported = false,
force_enabled = false,
eotf = gamescope.eotf.gamma22,
max_content_light_level = 500,
max_frame_average_luminance = 500,
min_content_light_level = 0.5
},
dynamic_modegen = function(base_mode, refresh)
debug("Generating mode "..refresh.."Hz for Aokzoe LCD")
local mode = base_mode

-- These are only tuned for 1200x1920.
gamescope.modegen.set_resolution(mode, 1200, 1920)

-- hfp, hsync, hbp
gamescope.modegen.set_h_timings(mode, 32, 24, 32)
-- vfp, vsync, vbp
gamescope.modegen.set_v_timings(mode, 60, 8, 32)
mode.clock = gamescope.modegen.calc_max_clock(mode, refresh)
mode.vrefresh = gamescope.modegen.calc_vrefresh(mode)

--debug(inspect(mode))
return mode
end
}
debug("Registered Aokzoe LCD as a known display")
16 replies