You are not logged in.

#1 2023-08-11 21:56:12

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

I am running Geforce GTX 1660 ti, and the fans are not showing up.

As you can see the fans are not being detected:
https://bpa.st/UDFA


I found out that my laptop is a optimus laptop and I am using nvidia, nvidia_uvm, and nvidia_drm
I do not know why the fans are not showing up. I believe that I installed all the packages needed for my drivers:
https://bpa.st/YBLA


I am using zfs + luks and there is some odd things going on in my dmesg I would like to address:
http://ix.io/4Dcf

And here is the output of lspci -k:
https://bpa.st/GLXQ


The link above should also tell you what type of laptop I am using which should help with diagnosing why my fans are not showing up.

Last edited by AFatNut21 (2023-08-11 21:57:24)

Offline

#2 2023-08-16 21:58:59

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

Re: I am running Geforce GTX 1660 ti, and the fans are not showing up.

There's no support for nvidia wayland when it comes to detecting the fans for Optimus Laptop
The solution is to install xorg and create .conf files and store them into /etc/X11/xorg.conf.d/ but you must make sure you have nvidia-settings installed
The only way that I can figure out how to manually enable fans is adding this to a section that has "Device" at the top of it: Option Coolbits integer"

If you have a optimus laptop, please check to make sure it supports prime offloading and if so follow this guide to set it up: https://wiki.archlinux.org/title/PRIME# … er_offload
There are tips and tricks that set up prime for gaming or not for gaming.

The manual that covers Coolbits is located here: https://download.nvidia.com/XFree86/Lin … l#Coolbits

However, if you do not understand how to setup .conf file, then I suggest reading the manual for it and just not the manual for xorg nvidia
You can get the desired integers here: https://wiki.archlinux.org/title/NVIDIA … nd_cooling

The issue I am having is that when I create a different .conf like this one: /etc/X11/xorg.conf.d/20-nvidia.conf for example which is recommended to use other than the xorg.conf that can be generated by issuing nvidia-xconfig.
From my experience, it will generate a broken xorg.conf. Anyways,
Here is the bare bones:

        Section "Device"
            Identifier "NVIDIA Card
            Driver "nvidia"
            VendorName "NVIDIA Corporation"
            BoardName "GeForce GTX 1050 Ti"
        EndSection

This is what I added to the bare bones .conf. Upon issuing **startx** after logging into my user it freezes:

            Section "Device"
                Identifier "NVIDIA Card
                Driver "nvidia"
                Option "Coolbits" "24"
                VendorName "NVIDIA Corporation"
                BoardName "GeForce GTX 1050 Ti"
            EndSection

I have no idea why the above config causes my system to freeze after executing startx. However, I found these sources which place the Coolbits option in this file: /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf. I will include the sources after displaying the data that's inside the mentioned file.

If you're using closed graphic drivers then I suggest that this file is added:

            Section "OutputClass"
                Identifier "intel"
                MatchDriver "i915"
                Driver "modesetting"
            EndSection

            Section "OutputClass"
                Identifier "nvidia"
                MatchDriver "nvidia-drm"
                Driver "nvidia"
                Option "AllowEmptyInitialConfiguration"
                Option "PrimaryGPU" "yes"
                ModulePath "/usr/lib/nvidia/xorg"
                ModulePath "/usr/lib/xorg/modules"
            EndSection

Which after adding the Coolbits section, it should look like this:

            Section "OutputClass"
                Identifier "intel"
                MatchDriver "i915"
                Driver "modesetting"
            EndSection

            Section "OutputClass"
                Identifier "nvidia"
                MatchDriver "nvidia-drm"
                Driver "nvidia"
                Option "AllowEmptyInitialConfiguration"
                Option "PrimaryGPU" "yes"
                ModulePath "/usr/lib/nvidia/xorg"
                ModulePath "/usr/lib/xorg/modules"
                 Option "Coolbits" "24"
            EndSection
        

Here are the sources:
https://www.reddit.com/r/archlinux/comm … ?rdt=59390
https://forum.garudalinux.org/t/nvidia- … ing/3593/2


I had an issue long time ago with my screen freezing and creating a custom edid and feeding it into the initramfs solved the issue. I don't know if that will fix my issue. In the meantime, I bought some external fans that will hopefully cool down my system so I can properly debug/troubleshoot my system thoroughly. The wiki also says that you must be root in order to overclock and I believe you can just create a bash script that allows that once nvidia-settings is clicked on, it will ask for a password and will run it as root. So there's no need to log in as root. And there are other options that you could add to your config file which could most likely solve the freezing. I haven't tried it yet but I saw a couple of them in the wiki somewhere.

Last edited by AFatNut21 (2023-08-17 22:43:45)

Offline

Board footer

Powered by FluxBB