• 11 Posts
  • 44 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle

  • This worked perfectly - thank you!!

    For anyone else looking here later, the final shader code (confirmed working Godot 4.2) is:

    shader_type canvas_item;
    
    uniform sampler2D screen_texture : hint_screen_texture;
    uniform vec4 water_color : source_color;
    uniform sampler2D wave_noise : repeat_enable;
    
    void fragment() {
    	vec2 water_wave = (texture(wave_noise, UV * TIME * 0.02).rg - 0.5) * 0.02;
    	vec2 uv = vec2(SCREEN_UV.x , SCREEN_UV.y - UV.y) + water_wave;
    	vec4 color = texture(screen_texture, uv);
    	float mix_value = 1.0 - UV.y;
    
    	float avg_color = (color.r + color.g + color.b) / 3.0;
    	avg_color = pow(avg_color, 1.4);
    	mix_value += avg_color;
    
    	mix_value = clamp(mix_value, 0.0, 0.7);
    	COLOR = vec4(mix(water_color, color, mix_value).rgb, texture(TEXTURE, UV).a);
    }
    

    Credits to Single-mindedRyan for creating this shader in the first place.





  • Thought I’d post an update. Performance is better now, playing in 1440p with FSR2 on Balanced, graphic settings on Medium. I’m getting around 45FPS.

    I’m not quite sure what the fix was in the end, but I’ve installed proton-ge-custom-bin from the AUR, so I’ve got Proton GE installed onto my system (not just within Heroic). Both the AUR and Heroic are on Proton-GE 9.7. I then added the AlanWake2.exe file to Steam, and forced compatibility to use Proton GE. So whatever extra was happening with Heroic was taken away.

    I tried changing my Mesa drivers, but it appears Manjaro is even with the nonfree repo at this point, so I’m still on Mesa 24.1.1, only on the Manjaro-approved version, not the mainline Arch version.

    It appears that somewhere within that combination of (1) running the game directly from Steam, (2) using the system-installed Proton-GE package, and (3) reverting to the Manjaro Mesa package the framerate got bumped from lower 20-s to mid-40s. CPU and GPU usage still hover around the 40%, so I feel there would be more improvement to be had perhaps?

    I tested the game on my second PC, which is running ChimeraOS, has a 5800X3D chip, 32Gb RAM and a 7600 XT card, where it’s easily hitting these framerates and better (but with higher GPU usage, hardly any CPU usage, that 5800X3D is a beast). So I wonder if my 10700K might be a bit of a bottleneck? ChimeraOS’ version of Mesa is on 23.2 so maybe there are just some kinks to be worked out in the 24.1 branch?

    Anyway… long story short: I’m happy with the overall performance at this point. Happy to dive into the Overlap and deal with Nightingale!




  • Hi, sorry, the non-free is a very Manjaro-specific thing.

    TLDR: They removed a lot of proprietary video codecs from Mesa, which means that Manjaro’s Mesa tends to lag behind the Arch repo. By using nonfree, the Mesa installation is pulled and compiled straight from Arch.

    So yes, I’m using RADV through Mesa 24.1.1 instead of version 23.x (which is where Manjaro is still at). I wanted to be on a newer version since 24.x packed in a lot of 7000XT improvements.

    Out of curiosity, have you tried AW2 with your 7800XT? How does it run for you?







  • As a show with so much promise, I often felt Disco reached for big concepts but never quite managed to get there. It would get bogged down with pathos and dragged out plot lines. Unfortunately, season 5 felt no different. This episode dragged on and on for me. Mol and L’ak had mostly become irrelevant and were completely unnecessary in this episode.

    I get the series got axed and additional scenes were shot to round things out. But that random “we’re all hugging” scene? It was weird. And didn’t the actress who played Detmer say their absence was planned and revealing anything would be a big spoiler or something? Well. No, it really wasn’t.

    Kovitsch was Daniels? I think at that point of the story, he could’ve been anyone and it wouldn’t have landed. He could’ve been Sloane (not dead after all!) and it would’ve made as much sense and be just as meaningful to the story.

    The progenitor plot? With a tick list of “clues” and “challenges” to lead the way, but ultimately we decide your worthiness to reshape the universe as we know it with a geometry puzzle? I can’t even.

    Discovery had potential, back in the day, but disappointed year on year. I had hoped this final season would offer redemption, but alas. Decent bunch of actors, but with subpar writing that usually went nowhere coherent. I won’t miss it. Glad it’s done. I hope Paramount learnt some valuable lessons from this and moves things on.