Skip to content

u/eli_sia

In this archive from Oct 2020 to Sep 2021

0
posts
10
comments
0
media
64
score

Top comments

That really depends on the project and programming language you are going to use.

I prefer QtCreator for C/C++ development. They have the best autocomplete, debugger and cmake integration. CLion is another popular option.

PyCharm is the best for Python development, you will love its debugger when having to deal with big matrices (machine learning).

I go with VSCode for everything else, for example:

- crates and rust-analyzer for Rust development

- and a couple of popular extensions for web development

16 points

That fixed the issues I had with mpv (nvdec) and blender (cuda) :D

Running GTX 960 on:

- linux-zen 5.9.2

- nvidia-dkms 455.38

​

Edit1: System standby and hibernation are back again!

16 points

Just the usual system update.

You might double check these from the wiki:

- If using a patched kernel, make sure you have installed the nvidia-dkms and correct headers to build the necessary modules. (For example nvidia-dkms and linux-zen-headers packages for linux-zen)

https://wiki.archlinux.org/index.php/NVIDIA#Custom_kernel

- Set nvidia-drm.modeset=1 in your kernel line and make sure required modules are loaded at system startup. (nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm)

https://wiki.archlinux.org/index.php/NVIDIA#DRM_kernel_mode_setting

- And regenerate your kernel images and boot loader configs just to make sure :D

https://wiki.archlinux.org/index.php/mkinitcpio#Manual_generation

https://wiki.archlinux.org/index.php/GRUB#Generated_grub.cfg

​

Blender specific: Head into Edit > Preferences > System > Cycles Render Devices and make sure CUDA/OptiX is checked and your card is listed there, otherwise you have issues with loading the necessary nvidia modules (see previous step).

mpv specific: Explicitly set the hardware decoder (hwdec) to nvdec or auto, and make sure that it says it's 'Using hardware decoding (nvdec)' in console. Here is a bare minimum config: ~/.config/mpv/mpv.conf

```

profile=gpu-hq

vo=gpu

hwdec=auto

```

System Hibernation: GNOME 3.38 works without any issues; couldn't really get a reliable system standby/hibernation with KDE.

- I have a separate 16GB swap partiton (twice the system memory)

https://help.ubuntu.com/community/SwapFaq#How_much_swap_do_I_need.3F

- And systemd hook in my mkinitcpio config

https://wiki.archlinux.org/index.php/mkinitcpio#Common_hooks

- Running `systemctl hibernate` to hibernate the machine

Wayland kinda works, with occasional crashes in GNOME. (not really recommended)

11 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.