Skip to content

u/shadow8856

In this archive from Nov 2019 to May 2021

12
posts
32
comments
1
media
610
score
2 saved before deletion

There is nothing arch-specific in arch linux (other distro users may say pacman). It is just a barebone Linux distribution like others. The process that you followed is what teaches you about various things related to linux. During the process itself, you learned about the partitioning of the disk, maybe some things about various types of file systems, managing users, arch-chroot, and many more things. These all things are what matters. Also, no one can remember all these things (commands, etc) so it is ok to google commands every time. It is what we use the internet for.

260 points

I had previously tried configuring optimus prime but I ran into some problems (as I does not use any display manager) while using gpu so I switched back to prime-run. This is currently the output of `nvidia-smi` on my laptop (link). Please have a look at it and let me know if it can be improved (as compared to your laptop's output or in any other way). Thanks :)

2 points

One more thing, this is the output of `nvidia-smi` command

โžœ  ~ nvidia-smi
Fri Apr 16 23:40:21 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 465.24.02    Driver Version: 465.24.02    CUDA Version: 11.3     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   49C    P8     2W /  N/A |      5MiB /  3911MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1266      G   /usr/lib/Xorg                       4MiB |
+-----------------------------------------------------------------------------+

I am not still sure if my gpu is configured properly, but the power usage here looks good to me as compared to on arch wiki and yours also. Can you please confirm if this seems to be configured properly?

3 points

I am afraid of doing this for two reasons:

  • I might break might hardware
  • I think there will be some compromise with the performance with this

I am not sure about the second point (I need to learn more about it), but the 1st point might be a dealbreaker for me

3 points

I tried that but it did not have much impact (edited in question). Also, one thing, when I run powertop on battery, it shows that only 300 something mW are using and the battery will run for some 80-90hrs. I know this is wrong as the power consumption mentioned below is way more than this. I searched for it but could not find any good way to solve it

3 points

Woah, this is a lot less time per service. I guess it is mostly due to HDD and SSD difference. Even the "dev-sda2.device" service takes more than 6.4s on my laptop as compared to 298ms on your laptop. I guess, I should upgrade my root to ssd

3 points

Hi, can you please share the output of systemd-analyze blame on your laptop. The userspace times look very promising to me and I would like to disable a few services if possible.

PS - This is the output of systemd-analyze on my laptop -

Startup finished in 4.475s (firmware) + 1.648s (loader) + 5.800s (kernel) + 23.365s (userspace) = 35.289s

The userspace time is literally very high

2 points

I do not experience any strange behavior like this. My graphics card (gtx 1650) is also working fine. But I want to know the reason if any for the frequent kernel updates in the last some days. I have been using Arch Linux for around 1.5 years but never seen so frequent kernel updates.

1 points

Actually I want to suspend the browser tabs, not to hide the processes displayed in htop.

PS- I had updated the screenshot which does not show the userland processes for better understanding

1 points

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.