Latest Comments by sarmad
The state of optimus-manager explained by its developer
4 September 2023 at 9:41 pm UTC Likes: 2

Quoting: nwildner
Quoting: sarmadI have always said it: hybrid graphics is a bad design to begin with and should have never been adopted by anyone. It complicates the hardware, complicates the software, and it also wastes space on the chipset. Complexity results in bugs, and anyone who has used hybrid graphics knows how clunky the concept is.
A fraction of the efforts spent by all parties on getting hybrid graphics to work could have instead been used to actually enable dGPUs to scale down their performance when it's not needed. We could've had dGPUs that can scale down their power consumption to a point close to those of iGPUs when no game is running (lower the frequency even more, power down some of the cores, etc).

Agreed on laptops going full dGPU here, and ditching off the iGPU

When I was using a Muxless laptop 3 years ago, I've made some simple tests and configuring Reverse PRIME to start all X on the dedicated GPU entirely, and I was astonished with the results. Setting the dGPU from the ground up as the provided made my system perform better and drain less battery than using the iGPU or the dGPU through "prime-run" even without a mux switch in place.

My current Laptop does not have the BIOS option to set the dGPU only, but I know Lenovo Legion allows it.

The part that I disagree is with the fact that dGPUs don't scale down power on laptops and that is untrue. Here are some tests with optimus-manager set to "Nvidia"(power cord plugged)

1. With Firefox(10 tabs), Telegram Desktop and Steam running:

[nwildner@sandworm ~]$ nvidia-smi 
Sun Sep  3 23:26:29 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.104.05             Driver Version: 535.104.05   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| 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 RTX 3070 ...    Off | 00000000:01:00.0  On |                  N/A |
| N/A   40C    P8              14W /  80W |    674MiB /  8192MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2721      G   /usr/lib/Xorg                               328MiB |
|    0   N/A  N/A      5175      G   /usr/lib/firefox/firefox                    308MiB |
|    0   N/A  N/A      5183      G   telegram-desktop                              3MiB |
|    0   N/A  N/A      6474      G   ...local/share/Steam/ubuntu12_32/steam        3MiB |
|    0   N/A  N/A      6499      G   ...re/Steam/ubuntu12_64/steamwebhelper        7MiB |
+---------------------------------------------------------------------------------------+


2. With Xorg only running and a text editor opened(buffer for this answer):

[nwildner@sandworm ~]$ nvidia-smi 
Sun Sep  3 23:28:55 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.104.05             Driver Version: 535.104.05   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| 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 RTX 3070 ...    Off | 00000000:01:00.0  On |                  N/A |
| N/A   39C    P8               8W /  80W |    166MiB /  8192MiB |     18%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2721      G   /usr/lib/Xorg                               160MiB |
+---------------------------------------------------------------------------------------+


nvidia-powerd needs to be enabled for power scaling to work.

I know that dGPUs do scale down, but they don't scale down enough to the point that makes iGPUs totally unneeded. Even with their lowest performance they still draw considerably more power than iGPUs. As far as I know, scaling down is currently limited to lowering down the clock speed and that's it. If they also power down some cores (dGPUs have more cores than iGPUs) I believe they can bring down the power cost to a level close to iGPUs. They will still draw more because of the extra memory (the vRAM), but that won't be a lot and is a cost totally worth it.

The state of optimus-manager explained by its developer
3 September 2023 at 7:46 am UTC Likes: 6

I have always said it: hybrid graphics is a bad design to begin with and should have never been adopted by anyone. It complicates the hardware, complicates the software, and it also wastes space on the chipset. Complexity results in bugs, and anyone who has used hybrid graphics knows how clunky the concept is.
A fraction of the efforts spent by all parties on getting hybrid graphics to work could have instead been used to actually enable dGPUs to scale down their performance when it's not needed. We could've had dGPUs that can scale down their power consumption to a point close to those of iGPUs when no game is running (lower the frequency even more, power down some of the cores, etc).

NVIDIA DLSS 3.5 and Half-Life 2 RTX announced
23 August 2023 at 6:47 pm UTC Likes: 2

Quoting: Linux_RocksMan, Quake II RTX has native Linux support. Why can't this or Portal? Half-Life 2 and Portal already have native Linux versions. I don't know how modding works internally. But doesn't that automatically help make it possible? </3

Because it's using RTX Remix, which is a tool nVidia built specifically for DX9 (Yes, only DX9, not DX10 or above, not Vulkan, not OpenGL). It sits between DX9 and the driver and on the fly replaces commands/assets with RTX enabled ones. It's designed to enable adding RTX to retro games WITHOUT touching the game's code. So the game having a Linux port doesn't matter because they are not actually touching the game's code at all.

Steam Beta updated with Indonesian support, 4K high quality streaming preset
15 August 2023 at 7:54 pm UTC

QuoteAdded support for Indonesian language

Meanwhile Arabic is still nowhere to be seen

Resident Evil Village and plenty more available in this new bundle
9 August 2023 at 10:42 pm UTC

Lots of zombies in this bundle. Glad to see most of it playable.

Ratchet & Clank: Rift Apart is Steam Deck Verified and out today
27 July 2023 at 7:00 pm UTC Likes: 1

Quoting: Egonaut
Quoting: PenglingAfter all, the specs look pretty reasonable, aside from the massive 75GB of storage that's required for it!
I don't know where that 75GB come from, it only consumes 39GB here.

Quoting: F.UltraSo this being the first game to use DirectStorage 1.2 that all the Windows fanbois are up in arms about so will be interesting to see how loading times will be in WINE/Proton here vs native Windows.

DirectStorage works with Wine/Proton as well. On my PC with a PCIe4 SSD the Portal jumps are pretty seamless. On the Deck not so much. Can take up to 3 seconds.

Quoting: sarmadYeah, I'm interested to see how this performs on the Deck. I doubt it'll be as seamless as it is on PS5.
It runs at pretty stable 30 FPS on lowest settings with FSR. It's playable, if you really want to play it on the Deck.

Yeah, as I expected. The portal jumps cannot possibly be seamless on the Deck. But having stable 30 fps is great to hear, that should make it perfectly playable, especially on a small screen.

Ratchet & Clank: Rift Apart is Steam Deck Verified and out today
26 July 2023 at 7:02 pm UTC

Quoting: TheRiddickMight be stutters in areas where you transition levels since it was designed around much faster NVMe speeds (with special Sony compression on top which sped things up further)

Yeah, I'm interested to see how this performs on the Deck. I doubt it'll be as seamless as it is on PS5.

The modular Framework Laptop 16 opens up for pre-orders
19 July 2023 at 6:39 pm UTC Likes: 1

Is this the best Linux laptop ever? It surely looks like it.

Linux hit over 3% desktop user share according to Statcounter
17 July 2023 at 7:24 am UTC Likes: 4

Quoting: Whitewolfe80Well yeah a million steam decks have been sold that's one million new Linux users in one hit

SteamDeck was at 1 million last year, the number is probably above 2 millions by now, but SteamDeck is unlikely to contribute to Statcounter, i.e. the report from Statcounter is excluding most of SteamDecks. This is because Statcounter depends on visited web sites and my guess is that SteamDeck users spend the vast majority of their time playing games rather than browsing web sites.

Linux hit over 3% desktop user share according to Statcounter
11 July 2023 at 8:44 pm UTC

Quoting: Fester_Mudd
Quoting: MiZoG13% in India is huge

The Linux origin country Finland was almost 11% a year ago too. Maybe the actual truth slipped through accidentally for a short moment? What is that Unknown operating system anyways globally? It if often very high up there.

https://gs.statcounter.com/os-market-share/all/finland/#monthly-202206-202206-bar

My guess is that the Uknown OS is someone using a browser extension that hides their details, or maybe some proxy or vpn.