Lurkki14 / tuxclocker

Qt overclocking tool for GNU/Linux
GNU General Public License v3.0
765 stars 31 forks source link

Segmentation fault #47

Closed All3xJ closed 9 months ago

All3xJ commented 3 years ago
$ 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

madhavpcm commented 3 years ago

Same error :, Ryzen 5 4600H, Radeon Vega 8, RX 5600M

sudo /opt/tuxclocker/bin/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()
[1]    3345 segmentation fault  sudo /opt/tuxclocker/bin/tuxclocker
ferstar commented 2 years ago

Same error:

# AMD® Ryzen 7 4800u with radeon graphics
sudo /opt/tuxclocker/bin/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()
[1]    9615 segmentation fault  sudo /opt/tuxclocker/bin/tuxclocker
rayphee commented 2 years ago

Seems to be related to this issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2424

I modified amd.cpp:29 to be fd = open(path, O_RDWR | O_CLOEXEC); and tuxclocker opens without a segfault. I'm running this on a 5700XT so this may not work on your GPUs, but I doubt it because the original link appears to solve for Polaris GPUs. Either way, lmk if it works on your systems.

Hansard commented 2 years ago

I am on a 5700XT, and I still get the error. But perhaps I am doing something wrong.

tuxclocker  SEGV ✘ Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. 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() zsh: segmentation fault (core dumped) tuxclocker    ~  sudo tuxclocker  SEGV ✘ [sudo] password for christopher: 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() zsh: segmentation fault sudo tuxclocker

Is there a solution?

alexdelorenzo commented 1 year ago

Running into this problem, as well. Same segmentation fault and error logs.

Lurkki14 commented 9 months ago

Closing as outdated