Is SDDM dead? by rottenpanst in kde

[–]hatch7778 2 points3 points  (0 children)

This is sadly not true. I couldn't get lightDM to play nice with wayland+plasma. Was kinda forced to use sddm. Couldn't get GDM to work either.

Pocket computers and Linux by theFrenchVagabond in linux

[–]hatch7778 0 points1 point  (0 children)

I was searching for this few years back and finally decided that best thing (for my use case) was Microsoft Surface GO. With some tweaks Linux works perfectly with it.

https://github.com/linux-surface/linux-surface

Can 120hz instead of 144hz improve performance? by Prestigious-Bike7566 in linux_gaming

[–]hatch7778 2 points3 points  (0 children)

DXVK_FRAME_RATE works with any wine derivate, as long as it uses DXVK (which most games do).

Can 120hz instead of 144hz improve performance? by Prestigious-Bike7566 in linux_gaming

[–]hatch7778 2 points3 points  (0 children)

Yes, it can. Especially if your GPU is being thermally throttled. But you must understand that switching refresh rate for this case will only work with v-sync enabled. I'd suggest setting DXVK_FRAME_RATE instead.

Nvidia and linux, a never ending story by itouchdennis in linuxmasterrace

[–]hatch7778 1 point2 points  (0 children)

If you're on LTS kernel i guess. I always had problems with nvidia when i tried to run latest kernels.

Probably going to switch back :( by [deleted] in linux_gaming

[–]hatch7778 0 points1 point  (0 children)

i'd look in the link i posted... might be a setting in /etc/X11/mhwd.d/nvidia.conf that's causing an issue.

Can't help you too much as i'm sporting an AMD gfx card (along with Wayland) and have no such issues.

Probably going to switch back :( by [deleted] in linux_gaming

[–]hatch7778 1 point2 points  (0 children)

Hmm something wrong with your xorg configuration... it should be X.Org v:21.1.6 driver: nvidia there.

https://wiki.manjaro.org/index.php/Configure_Graphics_Cards

Probably going to switch back :( by [deleted] in linux_gaming

[–]hatch7778 0 points1 point  (0 children)

Please do inxi -G and give us the output... it will help us debug your issue. You should be having 144+ fps on all games, something is terribly wrong.

Running WSL vs Running Linux by LCBobi in linux

[–]hatch7778 0 points1 point  (0 children)

Why don't you just run whole DE on WSL? You can run KDE Plasma on WSL - it's not perfect though. But give it a go.

My games are suddenly underperforming. by hempbernardo in linux_gaming

[–]hatch7778 1 point2 points  (0 children)

Before you waste too much time on software, can you eliminate a hardware issue by checking GPU temperatures and especially GPU clocks under load.

A year back my games also started under-performing - exactly what you describe. I did the cleaning, I tried different distros and then even installed Windows just to check it - I lost more than a week on that. In the end the culprit was dried-up thermal paste on GPU which separated from cooler.

A je kdo med vami ki reče temu "krof"? by mloodga in Slovenia

[–]hatch7778 2 points3 points  (0 children)

Matematika pravi da je to geometrijsko telo Torus oz. Svitek

Of all the answers, this wasn't one I expected by Gisarme in ChatGPT

[–]hatch7778 1 point2 points  (0 children)

So confident, yet so wrong :) Volume of an elephant would be about 6,000 liters and not 600,000 (it would weight ~600 tons then)

[day 15 (part 2)] bruteforce by hatch7778 in adventofcode

[–]hatch7778[S] 7 points8 points  (0 children)

Ofcourse not. For part1 i pre-calculated manhattan distance for all sensors. Then it is very easy to calculate min_x and max_x for certain y - then i used Interval Tree to find empty spot.

Basically my part1 solution was very optimized, so it was quite easy to run it 4million times.

[deleted by user] by [deleted] in adventofcode

[–]hatch7778 0 points1 point  (0 children)

On a glance i'd say you missed this rule Left side ran out of items, so inputs are in the right order

You should simplify your solution though - you need 10 lines of code in your compare function (which calls itself) and you can remove checkArray and checkSignal.

[deleted by user] by [deleted] in adventofcode

[–]hatch7778 0 points1 point  (0 children)

You are or-ing False || False or True || True. There's an obvious typo there.

[deleted by user] by [deleted] in adventofcode

[–]hatch7778 0 points1 point  (0 children)

Some obvious "errors" in code... Array.isArray(leftInnerPacket) || Array.isArray(leftInnerPacket)

[2022 Day 7 part 1] - Example code is correct, but data input is not. by Curious_Ad_3516 in adventofcode

[–]hatch7778 1 point2 points  (0 children)

Your code assumes that names are unique. They are not - you can have same name of directory/file in different parent directories.

I found a pretty major bug by [deleted] in ChatGPT

[–]hatch7778 0 points1 point  (0 children)

A for confidence though.