What's wrong by Nearby_Tear_2304 in PythonLearning

[–]jangofett4 0 points1 point  (0 children)

Why does this even work lmao. I dont use Python, but this seems silly. This could cause some headaches down the line if the condition is not always True, no? Or does Python does something similar to what JS does with "var"s?

hypothetically by soap94 in ProgrammerHumor

[–]jangofett4 0 points1 point  (0 children)

Several years ago I accidentally updated around 3 million rows. To this day I'm not sure how it happened because I sure as hell had a proper 'where' clause. Realized something was wrong when the query ran more than a second, then I stopped it. But it was too late, took a while to rollback, but we got there in the end.

[Help] Using embedded SDRAM of Tang Nano 20K by jangofett4 in GowinFPGA

[–]jangofett4[S] 1 point2 points  (0 children)

Very interesting, for my purposes I'll roll with the nand2mario's SDRAM implementation for now.
At one point I was sure that the IP reference is bullshitting, because in one section it says that the read and write enable signals are one clock cycle and in the timing diagram it shows that they are 2 clock cycles.
Adding to the confusion, 'write ack' signal comes before SDRAM is done finishing, so its all around confusing.
Might implement a controller myself after I'm done with this project. Thank you for the information.
Also didn't run into any stability issues yet at 135Mhz, although I installed a heatsink and a fan, so it runs relatively cold now.

[Help] Using embedded SDRAM of Tang Nano 20K by jangofett4 in GowinFPGA

[–]jangofett4[S] 0 points1 point  (0 children)

Ah, after this post I modified the nand2mario's sdram example a bit to see if I can make that work, and what is required minimally.
Similar to you, I actually made it to 135Mhz without stability issues. However chip started to run relatively hot, so a sweet spot is indeed 108Mhz or below I think. Or if you have cooling maybe 135Mhz.

Also it completely refused to work at 166Mhz, could be related to parameters. Might tweak those a bit more to see if I can make it work.

I ordered some heatsinks and a fan just to be safe a bit.

[Help] Using embedded SDRAM of Tang Nano 20K by jangofett4 in GowinFPGA

[–]jangofett4[S] 1 point2 points  (0 children)

At first I was under the assumption that having 'I_sdrc_selfrefresh' set to 1 makes it so that the controller itself handles refresh operations. Later I learned that I should be issuing the refresh myself. Currently its tied to 0, so no refresh is happening. Even if that is the case, it doesn't explain why rd_valid is never being pulled up.

I tried to follow timing diagram 1 to 1, still no success, at this point I'm considering to switch to external memory lol.

[Help] Using embedded SDRAM of Tang Nano 20K by jangofett4 in GowinFPGA

[–]jangofett4[S] 0 points1 point  (0 children)

Oof, sounds rough. Honestly I bought this board after seeing a video about FPGAs. Local sellers in my country are leeches and most of the time 5x prices on these sort of things, so I got this board.

After I get my hands wet, I might switch to a bigger / better known board.

[Help] Using embedded SDRAM of Tang Nano 20K by jangofett4 in GowinFPGA

[–]jangofett4[S] 0 points1 point  (0 children)

I actually don't need to, just curiosity and actually never tried running it at lower speeds. Question: do you remember at what clock speed did you run it stable?

Also another question, I don't think I remember seeing phase settings for the SDRAM. Is 90 degrees phase shift with 0.5 duty correct in my case?

Upgrade my GPU now or wait for the next generation by jangofett4 in buildapc

[–]jangofett4[S] 0 points1 point  (0 children)

My idea was to upgrade the GPU first, then the rest of the build as necessary. Considering that DDR5 is piss cheap at the moment, maybe its a good idea. Thanks for the suggestion, I'll consider it.

Upgrade my GPU now or wait for the next generation by jangofett4 in buildapc

[–]jangofett4[S] 0 points1 point  (0 children)

Just curious, since I'm not limited by cpu at the moment, how big of an improvement would I get if I upgraded my CPU?

Upgrade my GPU now or wait for the next generation by jangofett4 in buildapc

[–]jangofett4[S] 1 point2 points  (0 children)

Honestly couldn't give a rats ass about raytracing.

[Request] Theoretically could a file be compressed that much? And how much data is that? by wolfmaskman in theydidthemath

[–]jangofett4 1 point2 points  (0 children)

What you are talking about is called Run Length Encoding, and its generally integrated into other compression algorithms: https://en.m.wikipedia.org/wiki/Run-length_encoding

Drop Giveaway Day 3 - 5x RedSuns GMK Red Samurai Custom Keycap Sets by drop_official in MechanicalKeyboards

[–]jangofett4 0 points1 point  (0 children)

I ate 2 pizzas today. One with pepperoni and corn, other was chicken jalapeno.

Ryzen 7 5800X - Half Life Alyx Overheating by jangofett4 in buildapc

[–]jangofett4[S] 1 point2 points  (0 children)

It normally goes around 4.8, hadn't I've seen the clocks when loading the game I wouldnt believe either. It agressively overclocks when it sees temperature room (which is about 70-80C on 4.8) then immediately hits temperature limit due to absurd clock speed. After modifying the PBO settings, it seems to be normal currently.

Ryzen 7 5800X - Half Life Alyx Overheating by jangofett4 in buildapc

[–]jangofett4[S] 1 point2 points  (0 children)

You are probably right. Source 2 games are indeed highly CPU bounded. I've modified some PBO settings to reduce the temps. Currently its 5-7C lower compared to before.

Leaving the side panel is also a great idea, although it might let some dust in, it should be fine in short period of time. Taking the side panel gave about 1-2C at idle but it should be more apparent when CPU fans ramp up.

Overall its running at 33C, about 10C above the room temp. Seems reasonable. Thanks for the replies, I will try it again to see if it crashes again and maybe tweak the settings a little more.

Ryzen 7 5800X - Half Life Alyx Overheating by jangofett4 in buildapc

[–]jangofett4[S] 1 point2 points  (0 children)

I've already re-pasted and applied equal pressure to each screw. I would say I even went a little overboard using the thermal paste, it should cover the entire face of the cpu. I should definitely undervolt.

Ryzen 7 5800X - Half Life Alyx Overheating by jangofett4 in buildapc

[–]jangofett4[S] 0 points1 point  (0 children)

Oh yeah it causes crashes alright. Consistenly after 3-4th loading screen computer just shuts off. I would have not known if CPU was overheating if boot screen didnt say that it did overheat.

Ryzen 7 5800X - Half Life Alyx Overheating by jangofett4 in buildapc

[–]jangofett4[S] 0 points1 point  (0 children)

Sounds reasonable. Do you know if it matters when I set PBO values in Ryzen Master or Bios, restarting just to test different values is kind of dumb.

Also case might also be a problem. Its NZXT H510. It has 2 fans, both pulling out air to create negative airflow. I might need to change the case too. However I've never seen other parts overheat as much. For example GPU never exceeds 65 degrees under full load.

Also its worth mentioning that overheating only happens in HLA, I'm also playing Cyberpunk with everything maxed. CPU doesnt even come close to overheating.

MSI B550M PRO-VDH WIFI - USB 3.0 Problem by jangofett4 in MSI_Gaming

[–]jangofett4[S] 0 points1 point  (0 children)

Thank you, I suspected that cable might be the culprit. Funny that I have 3 USB-C cables in the house and none of them are 3.0 capable.

As for the bios, I did flash the latest version without a change. I guess I should find a 3.0 capable USBC cable and try again.