zweiler2 / HoloISO_Tweaked

SteamOS 3 (Holo) archiso configuration
Other
121 stars 7 forks source link

Nvidia GPU - Low Fps in UI Fixes? #18

Open LifeDreamer24 opened 11 months ago

LifeDreamer24 commented 11 months ago

Any chance of getting an either temporary or permanent fix for the very slow gamemode/deck ui? Also wondering if it's using my GPU (2070RTX) while the games are running.

Thanks in advance! 😄

zweiler2 commented 11 months ago

Any chance of getting an either temporary or permanent fix for the very slow gamemode/deck ui?

Tried many things, but none worked. On my vanilla Arch Linux installation i got gamemode to work smoothly. (Using a GTX 1060 myself) So i'm sure there is a way for HoloISO too; i just haven't found it yet unfortunately...

Also wondering if it's using my GPU (2070RTX) while the games are running.

If it's your primary GPU, then of course. If you are on a laptop, then maybe. Please test a demanding game and see if the resulting performance is in line with the RTX 2070. It's a bit hit and miss. I'm still working on PRIME render offloading.

LifeDreamer24 commented 11 months ago

Thanks for replying! Im sort of new in the Linux stuff, can you share what installation you're using for it to work properly? Im really willing try it out! Did you have to install the ui by yourself or it was included with the installation? Thanks in advance 😉

zweiler2 commented 11 months ago

Thanks for replying!

No problem, it's one of the parts that come with creating a project/maintaining a fork of one.

Im sort of new in the Linux stuff, can you share what installation you're using for it to work properly? Im really willing try it out!

Normally this isn't the right place for asking such questions, but hopefully i can give you a starting point on your Linux journey :D.

Arch Linux is a DIY distro. Meaning that you have to build the system from the ground up (apart from compiling the programs yourself, most of them are precompiled in the arch repos and if not the program is almost always in the AUR). Most people will tell you that Arch Linux is a distro for advanced users and if you are starting out it can be frustrating sometimes to set it up just right for oneself. While that's true, you will not only learn how to install Arch, you'll learn the ins and outs of linux in general along the way aswell, which is rewarding in itself. Most of this knowledge is therefore applicable to all other distros. It takes time, but i see you are enthusiastic about Linux, so this should be fun for you (at least most of the time ;).

The Arch Wiki is your friend and this is the starting point of installing it. (I'd recommend playing around in a Virtual Machine first to get to know it more and stay mostly away from "How to install Arch Linux videos" as Arch is a rolling distro; meaning it gets updated constantly and things might not work the same way they once did. The Arch Wiki is always up to date and also imo the one of the best Linux wiki in general, along with Gentoo's).

All of that said there is a shortcut to installing Arch: a script called archinstall, which comes directly on the Arch ISO, but you won't learn nearly as much as doing it yourself.

If you don't want to do it yourself, then i'd rather recommend you start your journey on another distro, which is more beginner friendly like Kubuntu or Linux Mint and if you want a gaming/SteamOS like distro then try Nobara. (But i'm not sure if it has nvidia drivers in the Steam Deck ISO, i haven't tested that specific ISO yet, tough you could use the Steam big picture mode with the KDE nvidia ISO instead if you like)

Did you have to install the ui by yourself or it was included with the installation? Thanks in advance 😉

Yes, i installed everything by myself and the UI is called KDE Plasma. (KDE Plasma and GNOME are the 2 bigger Desktop environments in linux btw) I started learning linux in 2020 and had been distro hopping for a long time, but once i learned Arch i have sticked with it ever since. Now i'm almost a year on the same Arch Linux installation as my main system. (One could say it cured my distro hopping)

Have fun on your journey!

zweiler2 commented 11 months ago

Big news @LifeDreamer24: I finally managed to hardware accelerate gamemode on nvidia in HoloISO! Meaning that gamemode now finally runs smooth and the performance overlay now works too as it should. Granted, i have seen a few artifacts and hiccups here and there, so it's not perfect, but much improved. Now i only have to integrate it into the ISO itself. I'm putting out a TEST ISO soon for you to test. If all goes smoothly for you too, then it's not long for the next release ISO :D

LifeDreamer24 commented 11 months ago

Wonderful!! I will wait impatiently!

LifeDreamer24 commented 11 months ago

Is everything going as planned as of now? 😄

zweiler2 commented 11 months ago

I know you're excited, but integrating it into the ISO isn't exactly easy. That said it's looking good for a release this weekend (at least for the TEST ISO) :D

zweiler2 commented 11 months ago

Here is the TEST ISO. (The server i usually use is currently under maintenance and wont come back online till at least tomorrow, so that's why it's a gdrive link.) SHA512: a9bd290ff9b40bac3ae2f0086c8fea850af6e6410b08bc7cd0fe46a403362a8741a5c414585a1a9dc169df12a8d809e03455f7fb4de087b6cbc93ca5efe5a298

LifeDreamer24 commented 11 months ago

Awesome! I will test it out later this evening or tommorow morning in Eastern Standard Time, GMT -5. Thanks alot again for your amazing help earlier mate, really appreciated!

LifeDreamer24 commented 11 months ago

Doesn't seem to boot.. it freezes for me and i can't do anything.

zweiler2 commented 11 months ago

Well then i'll revert the kernel update. Maybe this helps. As i said this is a testing ISO and i did more things to it, than just the nvidia "fix". I'll rebuild the ISO tomorrow. UTC +1

zweiler2 commented 11 months ago

I reverted the kernel update in this one and if this doesn't work either for you, then i take the latest release ISO and just integrate the NV fix. Hmm, maybe i should do this anyway, cause the other changes may take a bit more time till they are ready...

LifeDreamer24 commented 11 months ago

I just woke up, gonna test it out in a couple of minutes. This might also have been a problem on my side for the first test iso.. i don't know. Maybe we need more testers 😅

LifeDreamer24 commented 11 months ago

Nope doesn't work after installing for me like last time :(

zweiler2 commented 11 months ago

This might also have been a problem on my side for the first test iso.. i don't know.

Why? Did you check the SHA512?

Maybe we need more testers 😅

There can never be enough :D

Nope doesn't work after installing for me like last time :(

The latest release ISO boots for you, right? When exactly does it freeze? I'll build an ISO with just the nvidia fix and nothing else then.

LifeDreamer24 commented 11 months ago

Idk what is a SHA512 lol It freezes after i install it and i reboot, it does it's thing and it freezes after an amount of text showing up, then it clears it and im left with an underscore that doesnt blink. cant do ctrl + alt + del to reboot manually if it can help with the case..

zweiler2 commented 11 months ago

Idk what is a SHA512 lol

With the SHA512 number you can check if it's the same file as i have. There are a bunch of tools, which calculate the SHA512 of a file. Basically a check if it corrupted during download, copy or something like that. If the number i gave you and the resulting number of your calculation matches, then it's the exact same file.

It freezes after i install it and i reboot, it does it's thing and it freezes after an amount of text showing up, then it clears it and im left with an underscore that doesnt blink. cant do ctrl + alt + del to reboot manually if it can help with the case..

I have tested it on a old HDD and it takes ages to boot, but it does work for me. Do you also have it on a HDD and what are your complete specs? Did you try to change to a different tty (ctrl + alt + any one of the F keys, except for F1)?

LifeDreamer24 commented 11 months ago

Let's try with the NVIDIA fix only and otherwise imma let it boot by itself for as much time as it needs. how much time it took for you approximately? image I'm trying to install on Hard disk2. I'm flashing the Hard disk6 using BalenaEtcher after formatting it using Rufus in NTFS. My LTSC Windows installation is on Hard disk1. I edited this comment 6 times without counting this sentence... I really am clumsy lol.

zweiler2 commented 11 months ago

Let's try with the NVIDIA fix only and otherwise imma let it boot by itself for as much time as it needs.

Yes, ISO is coming within the next few hours.

how much time it took for you approximately?

About 5-10min i think.

Maybe the intel iGPU botches gamescope (the program Steam uses to display graphics in gamemode)... Did you try disabling it in the BIOS? I have mine always disabled.

BTW, you have almost the same system as me: i5 6600, ASUS Z170-P D3

LifeDreamer24 commented 11 months ago

How can i disable it? Is there a name for it commonly used in the bios?

LifeDreamer24 commented 11 months ago

I found igpu multi monitor was something, i tried disabling it.. lets see

LifeDreamer24 commented 11 months ago

Apparently does the same

zweiler2 commented 11 months ago

I assume since we have both ASUS and it's from the same generation, it's under Advanced\System Agent (SA) Configuration\Graphics Configuration\iGPU Multi-Monitor. Set it to disabled.

LifeDreamer24 commented 11 months ago

ya i did, nothing more sadly :(

zweiler2 commented 11 months ago

Sorry, github didn't refresh, so i didn't see you previous 2 comments, thats why i wrote it.

zweiler2 commented 11 months ago

Here's the ISO. SHA512: b6e986057b1468d0750089bc3381e52a5b6b4e208e90e833f6c9bc1417e9933ef51a3384c9d2433925806bcfaf324d1ffc3942460e393d3b22e0dd358d7a03d7

LifeDreamer24 commented 11 months ago

Epic! Ima try after im done eating my dinner 🍗

LifeDreamer24 commented 11 months ago

Idk if i did something because this one freezes too.. imma attempt installing on another drive to see if it works.

zweiler2 commented 11 months ago

Idk if i did something because this one freezes too..

What? This makes no sense... It's basically the same... Can you change tty? (ctrl + alt + F5)

imma attempt installing on another drive to see if it works.

But the release ISO installs just fine on the same drive right? I have an idea... Might not be elegant, but it could work... Stay tuned for another ISO.

LifeDreamer24 commented 11 months ago

Im installing the latest release just to see if it's my issue. Im having doubts about if it is still working at this time. Going to confirm that in a couple of minutes.

LifeDreamer24 commented 11 months ago

Oh and no the tty thing doesn't work.. i tried before the freeze and after.

LifeDreamer24 commented 11 months ago

Okay, seems to be me... It's no longer booting on the release.

zweiler2 commented 11 months ago

Okay, seems to be me... It's no longer booting on the release.

Did you take the release ISO you already had, or redownloaded it from gdrive? Maybe gdrive is corrupting it for you. And if not, then i can't really do much unfortunately, i'm sorry...

LifeDreamer24 commented 11 months ago

Nothing boots anymore and i ran out of ideas.. Guess ima just play on my deck lol

AlexandreSoftware commented 11 months ago

Tested latest release gdrive link, and latest prerelase build (the one on this issue), both end up on a blackscreen, seems to be a issue related to gamescope not being able to be built, both are stuck on a blackscreen

Running on an asrock Mobo, with a AMD processor and a 3070

zweiler2 commented 11 months ago

Does the latest upstream ISO work for you perchance?

callmepizza45 commented 11 months ago

the first iso fix you did works perfectly thank you. mangohud works it has no lag it runs awesome i'm on a gtx 1070 if you need to know.

zweiler2 commented 11 months ago

@callmepizza45 Awesome, you're welcome. Just the first one? Or did did you test that one first and didn't bother with the other ISOs? (Understandably so ;)

1070... It seems like 20 series and up have more problems than 900 and 10 series... Which CPU do you have?

callmepizza45 commented 11 months ago

i tested both the lasted one black screen, i have a i5-6500 there is one big issue any upscaling methods we break the game or system it will only show a black screen

zweiler2 commented 11 months ago

The last few days i tried to find the reason why this is and i tried many things, but no luck. I'm sorry. (I wont give up tough, as it bothers myself too) That said, it worked a few months back, so it can be fixed and it's only a matter of when i (or someone else) find(s) the breakage...

zweiler2 commented 11 months ago

I found the commit that broke FSR and NIS upscaling here in gamescope. I am no c++/graphics programmer, so i don't really know how to fix it unfortunately...

But i can build an ISO with the old version where they work (some other things are broken/annoying, like black screen when the mouse cursor goes invisible and i noticed some graphical artifacts too. Pick your poison i guess...), so that's what i did here. SHA512:ab6f4a9283d6b127fd2e95a04f21ecec175bed9132bbcd6628b2020906825833d28faa1905dd1ee4337ab3b26d947dc2ac566cb60449d426b08919c0873d2df7

LifeDreamer24 commented 10 months ago

I now have a blinking cursor upon booting on my laptop. Chimera os works but not this one.

zweiler2 commented 10 months ago

@LifeDreamer24 What are the specs of your laptop and which ISO are you using?

LifeDreamer24 commented 10 months ago

The laptop is a nitro 5 an517-54 700x I can go to the shell of steam os tho if i need to enter something that could help

LifeDreamer24 commented 10 months ago

Gpu is an nvidia Rtx 3060

LifeDreamer24 commented 10 months ago

I tried the latest one you sent

draek commented 10 months ago

I've tested this latest image that was available in here as I am also interested in this fix. I just get a cursor and never get into anything either. It's exciting to hear that there is potentially something that might fix this though!

draek commented 10 months ago

@zweiler2 I really need to let you know that the image you just gave us for this particular issue thread, actually fixes the Bluetooth issues that I've been having (https://github.com/zweiler2/HoloISO_Tweaked/issues/21) though! Could you please let us know what you might have changed in that later version? Is that a update that is coming soon? I double checked from the 5.0.2.1 that is currently available if I boot from the stick for the installation, the Bluetooth icon does not appear, but when I install your 5.0.2.2 that you sent us for the "NVIDIA FIX" test, that one asks different questions and it also fixes the Bluetooth issues I've been having! Sure, it doesn't ultimately boot so I cannot use it ;D

jonbitzen commented 10 months ago

I just tried the 5.0.2.2 "nVidia-FIX" that was linked elsewhere. For what it's worth, I feel like that is very close to being a good experience on nvidia. The problems I had were:

All that said, minus the sound issues, I was able to play the Hotwheels racing game at 4k/ultra and had absolutely no problems with the graphics. Whatever control/menu lag there is seems to be confined to the out-of-game Steam gamepad ui, as, again, the game video response was perfectly fluid.

I should add that I was also able to sync my DualSense (PS5) controller via bluetooth as well. Seemed to have taken a reboot (or two?) before it actually would pick it up, but I also switched away from the xb360 userspace driver for my 360 controller, so maybe that was interfering somehow(?).

I'm running a i9-12900k, GTX 1070ti graphics, MSI Z690 Edge Wifi motherboard, 32gb ram.

So, whilst not quite usable yet, I have to say that latest 5.0.2.2 image is extremely encouraging.