hawshemi / Linux-Optimizer

Linux Optimizer
MIT License
587 stars 89 forks source link

[BUG] #65

Closed tails1974seeyounextgame closed 4 months ago

tails1974seeyounextgame commented 4 months ago

Describe the bug the customization is quite nice but it thuroughly and agressively disables my nvidia gpu card (3060) can u modify the code so it doesnt touch the gpu?

Expected behaviour optimize network and base system, leave gpu configuration intact

Logs

Linux (please complete the following information):

Additional context sudo apt install -f nvidia550firmware sudo apt install -f nvidia550generic.driver sudo apt install -f nvidia550kernel install but do not switch to the proper driver

changing the ubuntu "additional driver" gui back and forth from x.org do not succeed

forcing a system update is not possible as im running the latest version

seriously tho wonderfull optimizations, my only recommendations would be to disable auto tuning and pin it to maximum speed for network and use ctcp congestion control provider, cubic is newer but worse.

tails1974seeyounextgame commented 4 months ago

sudo su apt-get remove --purge '^nvidia-.' apt-get remove --purge '^libnvidia-.' apt-get remove --purge '^cuda-.' apt list nv

//libnvidia-compute-550 was used and isa headless gpu from zan1 package conflicts with all other nvidia components

apt-mark hold nvidia-compute apt upgrade nvidia* apt install -f nvidia-kernel-common-550 apt install -f nvidia-firmware-550-550.67 apt install -f nvidia-utils-550 sleep 500 reboot

hawshemi commented 4 months ago

You'll see no GPU optimization commands if you look at the code and optimizations. The script would not touch anything GPU-related. The congestion control is BBRv3 (if XanMod is installed), as BBRv3 is the latest Google update for BBrv2 and the most stable and low-latency congestion control.

tails1974seeyounextgame commented 4 months ago

it removes the drivers by changing the kernel itself

On Saturday, June 15, 2024 at 01:51:53 AM MST, Hawshemi ***@***.***> wrote:  

You'll see no GPU optimization commands if you look at the code and optimizations. The script would not touch anything GPU-related. The congestion control is BBRv3 (if XanMod is installed), as BBRv3 is the latest Google update for BBrv2 and the most stable and low-latency congestion control.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

tails1974seeyounextgame commented 4 months ago

so to better optimize your script i would simply suggest converting all the other options into the default option 1, then for option 2 install zan kernel with a "warning this will purge default drivers built into the kernel"

also this works fine

sudo su| apt update -q && apt install -y wget|sudo -i|wget "https://raw.githubusercontent.com/hawshemi/Linux-Optimizer/main/linux-optimizer.sh" -O linux-optimizer.sh && chmod +x linux-optimizer.sh && bash linux-optimizer.sh|

exit|exit|reboot emmediately applied finishing operations is highly recommended, as other tools and files built into non vanilla linux will try to tamper with the settings within seconds restoring them to the lame values before your optimizations.

also u didnt update the commands 4 5 6 7 8 9 10 11 12, as they undo option 3 for the network stack

tails1974seeyounextgame commented 4 months ago

feel free to purge these comments once the changes have been made o/

hawshemi commented 4 months ago

Yes. Thanks for the comment. I'll make sure to add it. But as you may know, this script is intended to run on Linux Servers like VPS, VDS, Dedicated Servers, and ...