Giter VIP home page Giter VIP logo

tuxclocker's People

Contributors

achjaj avatar bengt avatar comradekingu avatar f-fusco avatar foliant2 avatar ilhamsetiawan avatar lurkki14 avatar mrintrepide avatar norwayfun avatar termuellinator avatar tujhen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tuxclocker's Issues

Unable to adjust

Unable to adjust, hint

QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()

DRM version being misread ?

using git checkout pstatetest
I have Power Cap control but no FAN / GPU / MEMORY control

sudo ./tuxclocker
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()
amdgpu_device_initialize: DRM version is 1.6.0 but this driver is only compatible with 3.x.x.

#DRI_PRIME=1 glmark2

glmark2 2014.03+git20150611.fa71af2d

=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD Radeon R9 200 Series (HAWAII, DRM 3.33.0, 5.3.8-050308-generic, LLVM 9.0.0)
GL_VERSION: 4.5 (Compatibility Profile) Mesa 19.3.0-devel (git-ff6e148 2019-10-29 bionic-oibaf-ppa)

Custom fan speed curve applies only to 1 fan on Gigabyte Gaming OC RTX 3080 card

All RTX 3080 have 3 fans, I don't know how other companies 3080 cards have it set up in BIOS, but from what i see, the Gigabyte Gaming OC 3080 has 2 fan speed sliders in the NVIDIA X Server Settings (Thermal Settings).

Normally it looks like this:
http://2.bp.blogspot.com/-TXEz3Gpyqk0/VUtEZ1nxS1I/AAAAAAAANNw/DRldQLj1V5w/s1600/thermal-settings-fanspeed.jpg

For the mentioned card, There are 2 fan speeds:
Fan 0 Speed
Fan 1 Speed

The custom curve applies only to Fan 1 Speed, which results in only 1 fan of 3 spinning. I guess Fan 0 Speed is setting the speed of remaining 2 fans. Custom curve should apply to both Fan Speeds.

Voltage Control on GTX 1060 6GB Greyed Out

I have a Zotac GTX 1060 6GB Mini.
I have set cool bits to 31.
Voltage Offset is greyed Out.
This is on Arch Linux. Installed through the AUR. same issue on both tuxclocker and tuxclocker-git.

NVML can't be initialized in the release build

found plugin at ./nix/store/qrb58w75qzbvrp3pjsp08ixd01iz9clx-tuxclocker-0.1/lib/tuxclocker/plugins/libamd.so
nvidia: couldn't initialize NVML!
found plugin at ./nix/store/qrb58w75qzbvrp3pjsp08ixd01iz9clx-tuxclocker-0.1/lib/tuxclocker/plugins/libnvidia.so
found plugin at ./nix/store/qrb58w75qzbvrp3pjsp08ixd01iz9clx-tuxclocker-0.1/lib/tuxclocker/plugins/libcpu.so
amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu_device_initialize: DRM version is 0.0.0 but this driver is only compatible with 3.x.x.
amdgpu_device_initialize: DRM version is 0.0.0 but this driver is only compatible with 3.x.x.
nvidia: couldn't get GPU count from NVML!

Memory clock keeps setting to +1000 and fan speed does not climb or drop

I'm currently using a fan profile to go from 0% speed at 0C to 100% speed at 80C. Fan mode in the dropdown is set to custom. When I watch the monitor tab the fan speed never changes from 23%. Also when I enter the fan curve editor and press save it changes my Memory Clock Offset from +500 to +1000.

Why is this happening?

have to 'apply changes' before fan comes on

First of all, thank you for this nice utility. 👍

I just cloned and built yesterday. on MX linux. I have created an autostart .desktop launcher for tuxclocker. When I log in, tuxclocker starts up but i have to 'apply changes' before my gpu fans start.

Is this by design or did I miss something?

How to install

Are there any packages for this program? If not, what are the packages I need to install for compile it? I install git, qt5-default, g++, libqt5x11extras5-dev, nvidia-sm and nvidia-settings, but it does not compile due to a error on nvctrl.

Everything is grayed out except power limit

OS:
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.2.1

Graphics card: nvidia RTX 2070

Using Qt version 5.15.2

On launch:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()

$ inxi -G

Graphics: Device-1: NVIDIA TU106 [GeForce RTX 2070] driver: nvidia v: 460.39
Device-2: Oculus VR Rift CV1 Sensor type: USB driver: uvcvideo
Device-3: Oculus VR Rift CV1 Sensor type: USB driver: uvcvideo
Device-4: Oculus VR Rift CV1 Sensor type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.10 driver: loaded: nvidia resolution: 2560x1440
OpenGL: renderer: GeForce RTX 2070/PCIe/SSE2 v: 4.6.0 NVIDIA 460.39

Result:
Every sliders are grayed out except power limit

Segmentation fault

$ sudo tuxclocker 
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()
Segmentation fault

I have Ryzen 3500U with integrated gpu

Profiles are not saved on exit

Profiles are not saved on exit of the app. Neither the changes done to the default profile, nor new added profiles.

Is there a config file, tuxlocker creates, I can check?

OS: Linux Mint 19.1 Tessa
GPU: GeForce GTX 1080 (415.27)
Coolbits 28
Tuxlocker version 0.1.0

Custom fan profile doesn't apply to second GPU even when setting it to a static speed works. 2x Nvidia 980 Ti, 440x driver.

I have properly activated the "Coolbits 12" option and confirmed that I can control the fans of both my GPUs. The problem arises when I set the fan mode of my second GPU to "custom", it seems to only apply the Driver defined option even though the UI says it is set to custom and I have pressed apply. Setting the fan to a static speed works fine on both GPUs and the custom fan profile works on my first GPU.

I am on Manjaro, running the newest tuxclocker-git version from the AUR (https://aur.archlinux.org/packages/tuxclocker-git/).

My theory is that the program doesn't understand that the profile is meant for the second GPU and that there needs to be an option for this somewhere when creating profiles. I could be completely wrong though.

Settings greyed out on Nvidia

All settings except Power Limit are greyed out. I am on Manjaro with a 1080ti.
Edit: Also set coolbits to 28 and doesn't seem to enable overclocking.
Edit2: Was saving in wrong location. On Manjaro coolbits needed to be set in /etc/x11/mhwd.d/nvidia.conf and not the X11 or xorf.conf.d folder.

Read Only features should be ignored

Tuxclocker crashes when I try to apply any changes. The cause seems to be the fact that Pascal cards don't support voltage changes on Linux:

ERROR: The attribute 'GPUOverVoltageOffset' specified in assignment 'GPUOverVoltageOffset=99999999' cannot be assigned
       (it is a read-only attribute).
ERROR: The attribute 'GPUOverVoltageOffset' specified in assignment 'GPUOverVoltageOffset=99999999' cannot be assigned
       (it is a read-only attribute).
[1]    32187 segmentation fault (core dumped)  ./tuxclocker

Tuxlocker should check if specific features are read only and ignore them on saving.

OS: Linux Mint 19.1 Tessa
GPU: GeForce GTX 1080 (415.27)
Coolbits 31

Segmentation fault on exit (pstatetest)

Run as a "standard" user:

$ tuxclocker
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()
amdgpu: amdgpu_bo_cpu_map failed. (-13)
radeonsi: Failed to create a context.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = tuxclocker path = /opt/tuxclocker/bin pid = 36765
KCrash: Arguments: /opt/tuxclocker/bin/tuxclocker 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 tuxclocker
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...

[1]+  Exit 253                tuxclocker

Run as root:

$ sudo tuxclocker
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()
amdgpu: amdgpu_bo_cpu_map failed. (-13)
radeonsi: Failed to create a context.
Segmentation fault

Backtrace (as a user):

Application: tuxclocker (tuxclocker), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2fc06cef80 (LWP 36765))]

Thread 4 (Thread 0x7f2fabca8700 (LWP 36771)):
#0  0x00007f2fc396700c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f2fb494e353 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f2fb494e0a7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f2fc3960fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f2fc356e4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f2fac5ea700 (LWP 36770)):
#0  0x00007f2fc396700c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f2fb494e353 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f2fb494e0a7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f2fc3960fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f2fc356e4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f2fb7b7e700 (LWP 36767)):
#0  0x00007f2fc396a544 in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f2fc2b54aa0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2fc2b0ec0f in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2fc2b0f0e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2fc2b0f25c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2fc3cc97b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f2fc3c771cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f2fc3ac6e96 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f2fc0173545 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f2fc3ad0a87 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f2fc3960fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f2fc356e4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f2fc06cef80 (LWP 36765)):
[KCrash Handler]
#6  0x00007f2fb4430a56 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007f2fb42848c1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007f2fb42848e5 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#9  0x00007f2fb427d63f in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#10 0x00007f2fb545073b in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#11 0x00007f2fb543d382 in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#12 0x00007f2fb543d409 in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#13 0x00007f2fb543d55e in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#14 0x00007f2fc0d5ecf2 in XCloseDisplay () from /lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f2fc02863d4 in QXcbConnection::~QXcbConnection() () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007f2fc0286469 in QXcbConnection::~QXcbConnection() () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#17 0x00007f2fc0287f57 in QXcbIntegration::~QXcbIntegration() () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#18 0x00007f2fc0288059 in QXcbIntegration::~QXcbIntegration() () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007f2fc401be74 in QGuiApplicationPrivate::~QGuiApplicationPrivate() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007f2fc45f3df9 in QApplicationPrivate::~QApplicationPrivate() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f2fc3ca834c in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f2fc3c7a87a in QCoreApplication::~QCoreApplication() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f2fc45f5ea4 in QApplication::~QApplication() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x000055f9d4a790d8 in ?? ()
#25 0x00007f2fc349909b in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#26 0x000055f9d4a7915a in ?? ()
[Inferior 1 (process 36765) detached]

Error on `make` command for install

The qmake command worked perfectly fine, and I have libqt5x11extras5 installed, as well as the dev version of the package. make command threw this error:

In file included from mainwindow.h:10:0,
                 from main.cpp:1:
nvidia.h:6:10: fatal error: QtX11Extras/QX11Info: No such file or directory
 #include <QtX11Extras/QX11Info>
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:280: recipe for target 'main.o' failed
make: *** [main.o] Error 1

Is there a way to fix this?

I am running Ubuntu 18.04 with Xfce, and I made sure to have Qt libs installed, but I am willing to check to make sure I have the right ones.

Thanks!

Make not finding nvidia libs in an AMD installation on Fedora.

I'm getting errors when trying to run make because it can't find an nvidia library even though I'm installing on an AMD system. I've tried finding the missing lib to install but I can't seem to find it on Fedora 36. Below is the Make log.

g++ -Wl,-O1 -o tuxclocker main.o mainwindow.o qcustomplot.o editprofile.o newprofile.o plotwidget.o nvidia.o qrc_resources.o moc_mainwindow.o moc_qcustomplot.o moc_editprofile.o moc_newprofile.o moc_plotwidget.o moc_nvidia.o -lXext -lXNVCtrl -lX11 -lnvidia-ml /usr/lib64/libQt5PrintSupport.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lGL -lpthread
/usr/bin/ld: cannot find -lnvidia-ml
collect2: error: ld returned 1 exit status
make: *** [Makefile:182: tuxclocker] Error 1

Compress releases

Please compress release files, TuxClocker 1.0.0 release file is 801 MB, it can be much lower with tar.xz

Thanks.

feature request: command line flag to start minimized in tray.

I am starting tuxclocker from an autostart .desktop launcher which shows the app when i login. I then have to close and click 'minimized' to keep the app running in the tray. I would like to be able to pass a command line argument maybe --tray or --minimized to make the app start out minimized in the tray.

Needing nvidia packages for amd gpu to make.

make error - /usr/bin/ld: cannot find -lnvidia-ml

resolution - Install nvidia prerequisites.
sudo apt install --yes --quiet --quiet \

libqt5x11extras5-dev \
qtbase5-dev \
libqt5x11extras5 \
libdrm-amdgpu1 \
libdrm-common \
libdrm-dev \
nvidia-utils-440-server \
nvidia-settings \
libxnvctrl-dev

Ninja build failure

Ninja fails at

FAILED: src/tuxclocker-qt/tuxclocker-qt.p/widgets_FlagEditor.cpp.o
ccache c++ -Isrc/tuxclocker-qt/tuxclocker-qt.p -Isrc/tuxclocker-qt -I../src/tuxclocker-qt -I../src/include -I../src/include/deps -I../src/tuxclocker-qt/data -I../src/tuxclocker-qt/widgets -I../src/include/deps/FunctionalPlus/include -I../src/include/deps/patterns/include/mpark -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtCharts -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O0 -g -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -fPIC -MD -MQ src/tuxclocker-qt/tuxclocker-qt.p/widgets_FlagEditor.cpp.o -MF src/tuxclocker-qt/tuxclocker-qt.p/widgets_FlagEditor.cpp.o.d -o src/tuxclocker-qt/tuxclocker-qt.p/widgets_FlagEditor.cpp.o -c ../src/tuxclocker-qt/widgets/FlagEditor.cpp
In file included from ../src/include/deps/FunctionalPlus/include/fplus/generate.hpp:10,
                 from ../src/include/deps/FunctionalPlus/include/fplus/container_properties.hpp:11,
                 from ../src/include/deps/FunctionalPlus/include/fplus/fplus.hpp:12,
                 from ../src/tuxclocker-qt/widgets/FlagEditor.hpp:7,
                 from ../src/tuxclocker-qt/widgets/FlagEditor.cpp:1:
../src/include/deps/FunctionalPlus/include/fplus/numeric.hpp: In function ‘Out fplus::integral_cast_throw(X)’:
../src/include/deps/FunctionalPlus/include/fplus/numeric.hpp:237:30: error: ‘int64_t’ in namespace ‘std’ does not name a type
  237 |         if (static_cast<std::int64_t>(x) <
      |                              ^~~~~~~

build.log
I've tried removing meson build options.

Segmentation fault using AMD GPU on master and pstatetest

A segmentation fault on startup using arch linux.
Build using the instructions in the readme

output of tuxclocker

QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()

output of coredumpctl -q gdb

           PID: 93071 (tuxclocker)
           UID: 1000 (jaap)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Fri 2019-10-04 16:08:22 CEST (14s ago)
  Command Line: tuxclocker
    Executable: /usr/bin/tuxclocker
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (jaap)
       Boot ID: d1e7cd06bd6146ccb308c4fac85858bb
    Machine ID: a00a8cca7943464b85be63eb81e13107
      Hostname: antergos
       Storage: /var/lib/systemd/coredump/core.tuxclocker.1000.d1e7cd06bd6146ccb308c4fac85858bb.93071.1570198102000000000000.lz4
       Message: Process 93071 (tuxclocker) of user 1000 dumped core.
                
                Stack trace of thread 93071:
                #0  0x000056555560fdf0 n/a (tuxclocker)
                #1  0x000056555557f569 n/a (tuxclocker)
                #2  0x000056555557393e n/a (tuxclocker)
                #3  0x00007efbfd810ee3 __libc_start_main (libc.so.6)
                #4  0x00005655555739fe n/a (tuxclocker)
                
                Stack trace of thread 93072:
                #0  0x00007efbfd8db667 __poll (libc.so.6)
                #1  0x00007efbfd7b5630 n/a (libxcb.so.1)
                #2  0x00007efbfd7b72db xcb_wait_for_event (libxcb.so.1)
                #3  0x00007efbfa71e101 n/a (libQt5XcbQpa.so.5)
                #4  0x00007efbfddb75b0 n/a (libQt5Core.so.5)
                #5  0x00007efbfd78c57f start_thread (libpthread.so.0)
                #6  0x00007efbfd8e60e3 __clone (libc.so.6)
                
                Stack trace of thread 93073:
                #0  0x00007efbfd8db667 __poll (libc.so.6)
                #1  0x00007efbfcc33130 n/a (libglib-2.0.so.0)
                #2  0x00007efbfcc33201 g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007efbfdfdda03 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007efbfdf844ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007efbfddb6385 _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007efbfa5e6b37 n/a (libQt5DBus.so.5)
                #7  0x00007efbfddb75b0 n/a (libQt5Core.so.5)
                #8  0x00007efbfd78c57f start_thread (libpthread.so.0)
                #9  0x00007efbfd8e60e3 __clone (libc.so.6)

GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/tuxclocker...
(No debugging symbols found in /usr/bin/tuxclocker)
[New LWP 93071]
[New LWP 93072]
[New LWP 93073]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `tuxclocker'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000056555560fdf0 in ?? ()

stub api to build without vendor specific libs

The current state of affairs is to compile the project specifically for a single type of GPU.

It's conceivable that:

  1. GPUS come and go
  2. a mix of GPUs can exist on a system
  3. GPGPUs can also exist

To that end. If the project where refactored to stub out the vendor specific calls and then use dlopen to load the appropriate library, when a suitable PCI device is detected. The program could flexibly support any number or combination of GPU vendors.

A "dummy" gpu backend would also be ideal for testing the interface. This would easily fall out as part of the refactoring.

[Segmentation Fault] [Backtrace] QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()

from konsole

QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()
KCrash: Application 'tuxclocker' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit

error from drkonqui


Application: tuxclocker (tuxclocker), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff2c3ae4d80 (LWP 7437))]

Thread 3 (Thread 0x7ff2a7bf0700 (LWP 7439)):
#0  0x00007ff2c1415e98 in read () from /lib64/libpthread.so.0
#1  0x00007ff2bec41a50 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff2bebfcc38 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff2bebfd0d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff2bebfd23c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ff2c1ba270b in QEventDispatcherGlib::processEvents (this=0x14f6be0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007ff2c1b4399a in QEventLoop::exec (this=this@entry=0x7ff2a7befc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007ff2c196b03a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007ff2b9e1fd55 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007ff2c196c7e2 in QThreadPrivate::start (arg=0x7ff2ba097d80) at thread/qthread_unix.cpp:361
#10 0x00007ff2c140c559 in start_thread () from /lib64/libpthread.so.0
#11 0x00007ff2c085681f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff2b6e72700 (LWP 7438)):
#0  0x00007ff2c084c07b in poll () from /lib64/libc.so.6
#1  0x00007ff2bc415387 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007ff2bc416fba in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff2ba34c668 in QXcbEventQueue::run (this=0x13ad5a0) at qxcbeventqueue.cpp:228
#4  0x00007ff2c196c7e2 in QThreadPrivate::start (arg=0x13ad5a0) at thread/qthread_unix.cpp:361
#5  0x00007ff2c140c559 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff2c085681f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff2c3ae4d80 (LWP 7437)):
[KCrash Handler]
#6  0x00007ff2c07f64a6 in __strlen_sse2 () from /lib64/libc.so.6
#7  0x00007ff2c1b877fe in QString::fromUtf8 (size=-1, str=0x71 <error: Cannot access memory at address 0x71>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:572
#8  QVariant::QVariant (this=0x7ffc01866920, val=0x71 <error: Cannot access memory at address 0x71>) at kernel/qvariant.cpp:1881
#9  0x000000000041e9e7 in MainWindow::on_GPUComboBox_currentIndexChanged(int) ()
#10 0x00000000004a9e63 in MainWindow::qt_metacall(QMetaObject::Call, int, void**) ()
#11 0x00007ff2c1b75289 in QMetaObject::activate (sender=sender@entry=0x153ab70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffc01866ac0) at kernel/qobject.cpp:3806
#12 0x00007ff2c1b75897 in QMetaObject::activate (sender=sender@entry=0x153ab70, m=m@entry=0x7ff2c3046fe0 <QComboBox::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffc01866ac0) at kernel/qobject.cpp:3642
#13 0x00007ff2c2a673c1 in QComboBox::currentIndexChanged (this=this@entry=0x153ab70, _t1=<optimized out>) at .moc/moc_qcombobox.cpp:509
#14 0x00007ff2c2a691f3 in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=this@entry=0x153caa0, index=...) at widgets/qcombobox.cpp:1377
#15 0x00007ff2c2a6a6dc in QComboBoxPrivate::setCurrentIndex (this=this@entry=0x153caa0, mi=...) at widgets/qcombobox.cpp:2192
#16 0x00007ff2c2a6a971 in QComboBox::setCurrentIndex (this=<optimized out>, index=index@entry=0) at widgets/qcombobox.cpp:2154
#17 0x00007ff2c2a6ce07 in QComboBoxPrivate::_q_rowsInserted (this=<optimized out>, parent=..., start=<optimized out>, end=<optimized out>) at widgets/qcombobox.cpp:1103
#18 0x00007ff2c2a70729 in QComboBox::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc01866db0) at .moc/moc_qcombobox.cpp:295
#19 0x00007ff2c1b751c5 in QMetaObject::activate (sender=sender@entry=0x170f0d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc01866db0) at kernel/qobject.cpp:3789
#20 0x00007ff2c1b75897 in QMetaObject::activate (sender=sender@entry=0x170f0d0, m=m@entry=0x7ff2c1ff2580 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc01866db0) at kernel/qobject.cpp:3642
#21 0x00007ff2c1aed00e in QAbstractItemModel::rowsInserted (this=this@entry=0x170f0d0, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at .moc/moc_qabstractitemmodel.cpp:591
#22 0x00007ff2c1af48bb in QAbstractItemModel::endInsertRows (this=this@entry=0x170f0d0) at itemmodels/qabstractitemmodel.cpp:2748
#23 0x00007ff2c24e07de in QStandardItemModelPrivate::rowsInserted (this=<optimized out>, parent=<optimized out>, row=<optimized out>, count=<optimized out>) at itemmodels/qstandarditemmodel.cpp:656
#24 0x00007ff2c24e0eef in QStandardItemPrivate::insertRows (this=0x153cd60, row=row@entry=0, count=count@entry=1, items=...) at itemmodels/qstandarditemmodel.cpp:528
#25 0x00007ff2c24e235b in QStandardItem::insertRow (this=<optimized out>, row=row@entry=0, items=...) at itemmodels/qstandarditemmodel.cpp:1630
#26 0x00007ff2c24e23d3 in QStandardItemModel::insertRow (this=this@entry=0x170f0d0, row=row@entry=0, items=...) at itemmodels/qstandarditemmodel.cpp:2673
#27 0x00007ff2c2a6cf24 in QStandardItemModel::insertRow (aitem=<optimized out>, arow=<optimized out>, this=0x170f0d0) at ../../include/QtGui/../../src/gui/itemmodels/qstandarditemmodel.h:447
#28 QComboBox::insertItem (this=<optimized out>, index=0, icon=..., text=..., userData=...) at widgets/qcombobox.cpp:2306
#29 0x000000000041f8c2 in MainWindow::MainWindow(QWidget*) ()
#30 0x00000000004157a8 in main ()
[Inferior 1 (process 7437) detached]

[Feature request] Fan hysteresis

The ability to set fan hysteresis like in MSI Afterburner would be great to avoid too erratic fan speeds. Without it the fans are constantly overcorrecting as GPU load changes.
For example, a 5°C hysteresis would mean that when the fans ramp up, they don't slow down until the GPU has cooled by 5 degrees.

Can Only Control Power Limit

I have the open source amdgpu driver and I can change anything except the power limit. My GPU is an rx580 and I am on arch

I get this output on the terminal:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked() QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed() QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed() amdgpu: amdgpu_bo_cpu_map failed. (-13) radeonsi: Failed to create a context.

MVC model

The current design is too tightly coupled to allow for multiple, different GPUs, to be inspected on the same machine.

A MVC model with delegates for rendering would address this issue.

[Suggestion] CPU and RAM Overclocking

I think this will make Tuxclocker even better if we can overclock not only GPU but also CPU and RAM. Basically easy overclock everything from a single GUI program.

[Manjaro KDE] Fancurve with strange behavior

Hello! Thanks for the program!!
I'm using the program and every time I set the fan curve to my desire, the fan start to spin at 100%. I attached two screenshot of my fancurve with the fan speed. One with only 2 points and other with more points and, as you can see, the speed is the same:

Screenshot_20190915_164038

Screenshot_20190915_164104

I'm using the driver 435.21:

inxi -G
Graphics:  Device-1: NVIDIA GM204 [GeForce GTX 970] driver: nvidia v: 435.21 
           Display: x11 server: X.Org 1.20.5 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 

PS: I'm testing the nfancurve (https://github.com/nan0s7/nfancurve) and it's working, so I think that isn't a driver issue...

/usr/bin/ld: cannot find -lnvidia-ml on make

I managed to run qmake and on make I have the following error:
/usr/bin/ld: cannot find -lnvidia-ml collect2: error: ld returned 1 exit status make: *** [tuxclocker] Error 1
That's my output:
/usr/lib/x86_64-linux-gnu/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h /usr/lib/x86_64-linux-gnu/qt5/bin/uic editprofile.ui -o ui_editprofile.h /usr/lib/x86_64-linux-gnu/qt5/bin/uic newprofile.ui -o ui_newprofile.h g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o main.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o mainwindow.o mainwindow.cpp mainwindow.cpp: In member function ‘void MainWindow::applyGPUSettings()’: mainwindow.cpp:752:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nv->GPUList[currentGPUIndex].powerLim/1000 != ui->powerLimSlider->value() && nv->GPUList[currentGPUIndex].powerLimitAvailable) { ^ g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o qcustomplot.o qcustomplot.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o editprofile.o editprofile.cpp editprofile.cpp:136:54: warning: unused parameter ‘plottable’ [-Wunused-parameter] void editProfile::clickedPoint(QCPAbstractPlottable *plottable, int dataIndex, QMouseEvent *event) ^ editprofile.cpp:136:69: warning: unused parameter ‘dataIndex’ [-Wunused-parameter] void editProfile::clickedPoint(QCPAbstractPlottable *plottable, int dataIndex, QMouseEvent *event) ^ editprofile.cpp: In member function ‘int editProfile::getDataIndex(QCPAbstractPlottable*, int)’: editprofile.cpp:195:68: warning: parameter ‘dataIndex’ set but not used [-Wunused-but-set-parameter] int editProfile::getDataIndex(QCPAbstractPlottable *plottable, int dataIndex) ^ editprofile.cpp: At global scope: editprofile.cpp:195:53: warning: unused parameter ‘plottable’ [-Wunused-parameter] int editProfile::getDataIndex(QCPAbstractPlottable *plottable, int dataIndex) ^ editprofile.cpp:332:46: warning: unused parameter ‘event’ [-Wunused-parameter] void editProfile::detectRelease(QMouseEvent *event) ^ editprofile.cpp: In member function ‘bool editProfile::checkForNearbyPoints(QMouseEvent*)’: editprofile.cpp:174:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o newprofile.o newprofile.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o plotwidget.o plotwidget.cpp plotwidget.cpp:24:37: warning: unused parameter ‘event’ [-Wunused-parameter] void PlotWidget::leaveEvent(QEvent *event) ^ g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o nvidia.o nvidia.cpp nvidia.cpp: In member function ‘void nvidia::queryGPUFeatures()’: nvidia.cpp:95:10: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Bool ret; ^ nvidia.cpp: In member function ‘void nvidia::queryGPUFrequencies(int)’: nvidia.cpp:252:10: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Bool ret; ^ nvidia.cpp: In member function ‘void nvidia::queryGPUFanSpeed(int)’: nvidia.cpp:271:10: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Bool ret; ^ nvidia.cpp: In member function ‘void nvidia::queryGPUFreqOffset(int)’: nvidia.cpp:295:10: warning: unused variable ‘ret’ [-Wunused-variable] Bool ret = XNVCTRLQueryTargetAttribute(dpy, ^ nvidia.cpp: In member function ‘void nvidia::queryGPUMemClkOffset(int)’: nvidia.cpp:304:10: warning: unused variable ‘ret’ [-Wunused-variable] Bool ret = XNVCTRLQueryTargetAttribute(dpy, ^ nvidia.cpp: In member function ‘void nvidia::queryGPUVoltageOffset(int)’: nvidia.cpp:313:10: warning: unused variable ‘ret’ [-Wunused-variable] Bool ret = XNVCTRLQueryTargetAttribute(dpy, ^ /usr/lib/x86_64-linux-gnu/qt5/bin/rcc -name resources resources.qrc -o qrc_resources.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o qrc_resources.o qrc_resources.cpp /usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/workstation1/tuxclocker -I/usr/lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include mainwindow.h -o moc_mainwindow.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_mainwindow.o moc_mainwindow.cpp /usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/workstation1/tuxclocker -I/usr/lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include qcustomplot.h -o moc_qcustomplot.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_qcustomplot.o moc_qcustomplot.cpp /usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/workstation1/tuxclocker -I/usr/lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include editprofile.h -o moc_editprofile.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_editprofile.o moc_editprofile.cpp /usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/workstation1/tuxclocker -I/usr/lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include newprofile.h -o moc_newprofile.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_newprofile.o moc_newprofile.cpp /usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/workstation1/tuxclocker -I/usr/lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include plotwidget.h -o moc_plotwidget.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_plotwidget.o moc_plotwidget.cpp /usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/home/workstation1/tuxclocker -I/usr/lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include nvidia.h -o moc_nvidia.cpp g++ -c -m64 -pipe -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_nvidia.o moc_nvidia.cpp g++ -m64 -Wl,-O1 -o tuxclocker main.o mainwindow.o qcustomplot.o editprofile.o newprofile.o plotwidget.o nvidia.o qrc_resources.o moc_mainwindow.o moc_qcustomplot.o moc_editprofile.o moc_newprofile.o moc_plotwidget.o moc_nvidia.o -L/usr/X11R6/lib64 -lXext -lXNVCtrl -lX11 -lnvidia-ml -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread /usr/bin/ld: cannot find -lnvidia-ml collect2: error: ld returned 1 exit status Makefile:177: recipe for target 'tuxclocker' failed make: *** [tuxclocker] Error 1
Here's the output in a file:
output.txt

No Nvidia functionality available on Wayland

i have a RTX 4090 and use the Nvidia 535.113.01 drivers on Fedora 38 KDE Spin in a Wayland session and after trying to run version 1.0.0 do i get those errors in the terminal and have nothing visible in the UI

dbus-daemon[89557]: Failed to start message bus: Could not get UID and GID for username "messagebus"
dbus-run-session: dbus-daemon exited with code 1
found 1 plugins
unable to register: "Not connected to D-Bus server"
errcode QDBusError::Disconnected
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""

Custom fan curve does not save

The custom fan curve doesn't get saved for me. I set my own fan curve, then press save and when I open up the fan curve window again, it's empty. It's not only the window which is empty, when I apply the changes of the fan curve in the app, it will hold the Fans at 0%.

OS: Linux Mint 19.1 Tessa
GPU: GeForce GTX 1080 (415.27)
Coolbits 28
Tuxlocker version 0.1.0

CUDA build dependency is unacceptable

CUDA seems to be a new build dependency in TuxClocker v1.0. CUDA It is a 5GB-sized framework for additional computation capabilities and at first glance it seems like something that a hardware controlling and monitoring program wouldn't even need. Even if it's needed due to some NVIDIA incompetency, that's business as usual, but TuxClocker should still work around it or simply drop the functionality that needs a 5GB GPGPU framework.

Ubuntu 20.04 installation error

While running make, the following error occured:

g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp
In file included from mainwindow.h:26,
                 from main.cpp:18:
nvidia.h:23:10: fatal error: QtX11Extras/QX11Info: No such file or directory
   23 | #include <QtX11Extras/QX11Info>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:466: main.o] Error 1

Rearrange Graph Monitor Items

Hello, love the program! I am using tuxclocker to help tune a fanless Radeon WX GPU in a fanless embedded ARM64 system. Using the Graph Monitor, running a demanding game or 3D application lets me glance over to another monitor to see if the system is overheating. In Graph Monitor, Temperature and Power Draw are far apart from each other making it hard to see both values. My current solution is to span the window across 2 displays in leu of rotating one vertically for the same effect.

Is there any way to either scale the graphs or rearrange them at build time? This would allow me to use a smaller view, or rotate my favorite graphs to the top without scrolling. I would love to see on-the-fly graph view features in a future release if it's on your radar. Thanks!

Segmentation fault (dev branch)

When building & running the dev-branch (commit ce05bb7), tuxclocker terminates with a segmentation fault.

[user@machine tuxclocker]$ ./tuxclocker
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_newProfile_closed()
QMetaObject::connectSlotsByName: No matching signal for on_editProfile_closed()
Segmentation fault (Speicherabzug geschrieben)

Running coredumpctl gdb gives me the following

[user@machine tuxclocker]$ coredumpctl -q gdb
           PID: 3676 (tuxclocker)
           UID: 1000 (user)
           GID: 1000 (user)
        Signal: 11 (SEGV)
     Timestamp: Sun 2019-02-24 14:12:19 CET (3min 1s ago)
  Command Line: ./tuxclocker
    Executable: /home/user/tuxclocker/tuxclocker
 Control Group: /user.slice/user-1000.slice/[email protected]/gnome-terminal-server.service
          Unit: [email protected]
     User Unit: gnome-terminal-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (user)
       Boot ID: 44b73daa8c964265b28432ec595095fc
    Machine ID: fa2b8f8cdf324132865d7b569fd72504
      Hostname: machine
       Storage: /var/lib/systemd/coredump/core.tuxclocker.1000.44b73daa8c964265b28432ec595095fc.3676.1551013939000000.lz4
       Message: Process 3676 (tuxclocker) of user 1000 dumped core.
                
                Stack trace of thread 3676:
                #0  0x00007fd5c739c122 amdgpu_query_gpu_info (libdrm_amdgpu.so.1)
                #1  0x00000000004a38a5 n/a (/home/user/tuxclocker/tuxclocker)
...

Are there any certain requirements on versions or parameters that must be met for the driver to properly run tuxclocker for AMD cards? For reference, my system runs an up-to-date Fedora 29.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.