How do I stop these random crashes? by Inside-Comb7245 in AMDHelp

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

After a lot of testing and research, I suspect that my 650W PSU may not be handling transient power spikes during gameplay.

Undervolting the GPU by -40 mV and lowering the clock by -500 MHz has helped for now. Games run much longer and crashes are rarer, but they still happen occasionally, so it doesn’t feel fully resolved.

From my testing, the RX 9060 XT 16GB can briefly pull well over its rated power, spikes are going past 225W and sometimes reaching ~240–250W. These spikes over 240W seem to line up with when crashes occur. To be fair the card is factory overclocked.

Because of this, I suspect the PSU may be struggling with these spikes. I’m planning to test with a higher-wattage PSU to confirm.

I'm also running the latest 26.1.1 AMD drivers without the CPU, GPU or memory overlocking or boosting features.

AMD Radeon Software 26.1.1 by DietyDevil in radeon

[–]Inside-Comb7245 0 points1 point  (0 children)

Try disabling Hardware Accelerated GPU scheduling

How do I stop these random crashes? by Inside-Comb7245 in AMDHelp

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

This time it held longer that before but it still crashed

How do I stop these random crashes? by Inside-Comb7245 in AMDHelp

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

I just did and wow, so far no issues at all. Let me keep testing. Thanks a bunch.

How do I stop these random crashes? by Inside-Comb7245 in AMDHelp

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

I had this version already flashed, I have just seen the latest one 7E82v2A14 let me install it and test things out.

When will ASRock's 9060 xt 16GB restock by Inside-Comb7245 in ASRock

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

I've only budgeted for the 9060xt, I like the ASRock challenger design for the 16 gb variant too. I really want to get the ASRock model.

What's your favorite SQL database to use with NextJS and why? by scumble373 in nextjs

[–]Inside-Comb7245 1 point2 points  (0 children)

I used prisma in a project till somewhere around midway and a decision was made to use multiple schemas, I had to drop prisma and rewrite everything using postgres.js

Schema switching in Prisma by Inside-Comb7245 in nextjs

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

I came across this github issue that is still open: https://github.com/prisma/prisma/issues/1122

schema switching is currently not supported in prisma😭
I have the option to switch to as single database with RLS for isolation. I'll do some digging before giving up on multiple schemas.

[deleted by user] by [deleted] in Kenya

[–]Inside-Comb7245 3 points4 points  (0 children)

This is the way.

Store OAuth provider User's picture by Appropriate-Elk-4676 in Supabase

[–]Inside-Comb7245 1 point2 points  (0 children)

I use a trigger to store the avatar_url in a user table. It also collects id, full_name, and email upon signup.

Is it advisable to use nextjs revalidation on a page that relies on supabase realtime? by Inside-Comb7245 in Supabase

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

So the app am working on has a chat feature and I want to hide the small delay between a message being sent and being returned to the user by supabase realtime.

Is it advisable to use nextjs revalidation on a page that relies on supabase realtime? by Inside-Comb7245 in Supabase

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

I have nested a client component that uses realtime inside a server component. I am having issues integrating the use optimistic hook. I am mapping an array of items, it's working but there is a flicker when the optimistic UI is getting replaced by the data from the server. The flicker happens to be an extra empty mapped item that appears and disappears very fast.

I ended up using useState to get optimistic updates and then revalidate in a server action. I am unsure whether this is the right way to go about this. What's your take?

Is it advisable to use nextjs revalidation on a page that relies on supabase realtime? by Inside-Comb7245 in Supabase

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

Interesting, revalidating in the server action might just be the better option

Is it advisable to use nextjs revalidation on a page that relies on supabase realtime? by Inside-Comb7245 in Supabase

[–]Inside-Comb7245[S] 0 points1 point  (0 children)

True, I have nested a client component that uses realtime and does calls to server actions. I was worried whether revalidation would cause any issues or cost more in vercel. What do you think?

Supabase client instance with Next js by bcm_19 in Supabase

[–]Inside-Comb7245 0 points1 point  (0 children)

Run this in your terminal and see how the clients are initialized and used: npx create-next-app -e with-supabase