-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lact: 0.6.0 -> 0.7.0 #374771
base: master
Are you sure you want to change the base?
lact: 0.6.0 -> 0.7.0 #374771
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff LGTM but I'm currently not near my machine where I use LACT.
Could you described what you tested to be working?
@@ -43,6 +45,7 @@ rustPlatform.buildRustPackage rec { | |||
checkFlags = [ | |||
# tries and fails to initialize gtk | |||
"--skip=app::pages::thermals_page::fan_curve_frame::tests::set_get_curve" | |||
"--skip=tests::snapshot_everything" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you report this upstream and add a back reference?
Or at least a comment why this fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't really understand why the test is failing tbh. Here's some logs:
2025-01-18T19:02:36.867269Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:36.867441Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:36.867527Z INFO lact_daemon::server::handler: initialized radeon controller for GPU 1002:6818-174B:E217-0000:01:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/hd7870/card0/device'
2025-01-18T19:02:36.867809Z INFO lact_daemon::server::handler: initialized 1 GPUs
test config::tests::parse_doc ... ok
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__hd7870.snap.new
2025-01-18T19:02:36.936453Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:36.936639Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:36.936741Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:679A-1458:229A-0000:01:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/r9-280/card0/device'
2025-01-18T19:02:36.937053Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__r9-280.snap.new
2025-01-18T19:02:36.978342Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:36.978644Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:36.978825Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:731F-1DA2:E409-0000:28:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/rx5700xt/card1/device'
2025-01-18T19:02:36.979254Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__rx5700xt.snap.new
2025-01-18T19:02:37.025115Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.025401Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.025600Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:67DF-1DA2:E387-0000:09:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/rx580/card0/device'
2025-01-18T19:02:37.026048Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__rx580.snap.new
2025-01-18T19:02:37.069399Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.069617Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.069770Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:73FF-1EAE:6505-0000:0b:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/rx6600xt/card0/device'
2025-01-18T19:02:37.070103Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__rx6600xt.snap.new
2025-01-18T19:02:37.114193Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.114360Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.115478Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:73BF-1DA2:440E-0000:0c:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/rx6900xt/card0/device'
2025-01-18T19:02:37.116093Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__rx6900xt.snap.new
2025-01-18T19:02:37.173972Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.174187Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.174347Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:7480-F111:0007-0000:03:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/rx7700s/card1/device'
2025-01-18T19:02:37.174624Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__rx7700s.snap.new
2025-01-18T19:02:37.216746Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.216892Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.216970Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:744C-1DA2:E471-0000:03:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/rx7900xt/card0/device'
2025-01-18T19:02:37.217349Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__rx7900xt.snap.new
2025-01-18T19:02:37.261853Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.262023Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.262174Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:163F-1002:0123-0000:04:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/vangogh/card0/device'
2025-01-18T19:02:37.262446Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__vangogh.snap.new
2025-01-18T19:02:37.303623Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.303793Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.303895Z INFO lact_daemon::server::handler: initialized amdgpu controller for GPU 1002:687F-1043:0555-0000:0b:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/amd/vega56/card0/device'
2025-01-18T19:02:37.304391Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__amd__vega56.snap.new
2025-01-18T19:02:37.347324Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.347453Z ERROR lact_daemon::server::handler: failed to initialize Intel DRM: libdrm_intel.so.1: cannot open shared object file: No such file or directory
2025-01-18T19:02:37.347469Z ERROR lact_daemon::server::gpu_controller: Intel DRM library missing, Intel controls will not be available
2025-01-18T19:02:37.347494Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.347602Z INFO lact_daemon::server::handler: initialized i915 controller for GPU 8086:56A5-1849:6004-0000:0b:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/intel/a380-i915/card1/device'
2025-01-18T19:02:37.348093Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__intel__a380-i915.snap.new
2025-01-18T19:02:37.390743Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.390871Z ERROR lact_daemon::server::handler: failed to initialize Intel DRM: libdrm_intel.so.1: cannot open shared object file: No such file or directory
2025-01-18T19:02:37.390893Z ERROR lact_daemon::server::gpu_controller: Intel DRM library missing, Intel controls will not be available
2025-01-18T19:02:37.390915Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.390984Z INFO lact_daemon::server::handler: initialized xe controller for GPU 8086:56A5-1849:6004-0000:0b:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/intel/a380-xe/card0/device'
2025-01-18T19:02:37.391257Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__intel__a380-xe.snap.new
2025-01-18T19:02:37.432986Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.433221Z ERROR lact_daemon::server::handler: failed to initialize Intel DRM: libdrm_intel.so.1: cannot open shared object file: No such file or directory
2025-01-18T19:02:37.433233Z ERROR lact_daemon::server::gpu_controller: Intel DRM library missing, Intel controls will not be available
2025-01-18T19:02:37.433254Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.433299Z INFO lact_daemon::server::handler: initialized i915 controller for GPU 8086:9B41-17AA:22B1-0000:00:02.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/intel/cometlake/card0/device'
2025-01-18T19:02:37.433575Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__intel__cometlake.snap.new
2025-01-18T19:02:37.474967Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.475134Z ERROR lact_daemon::server::handler: failed to initialize Intel DRM: libdrm_intel.so.1: cannot open shared object file: No such file or directory
2025-01-18T19:02:37.475149Z ERROR lact_daemon::server::gpu_controller: Intel DRM library missing, Intel controls will not be available
2025-01-18T19:02:37.475179Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.475237Z INFO lact_daemon::server::handler: initialized xe controller for GPU 8086:9A49-17AA:3F19-0000:00:02.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/intel/tigerlake/card0/device'
2025-01-18T19:02:37.475633Z INFO lact_daemon::server::handler: initialized 1 GPUs
stored new snapshot /home/yt/fun/LACT/lact-daemon/src/tests/snapshots/lact_daemon__tests__intel__tigerlake.snap.new
2025-01-18T19:02:37.516685Z WARN lact_daemon::server::handler: could not read PCI ID database: file not found, device information will be limited
2025-01-18T19:02:37.516763Z ERROR lact_daemon::server::gpu_controller: NVML is missing, Nvidia controls will not be available
2025-01-18T19:02:37.516816Z ERROR lact_daemon::server::handler: failed to initialize AMDGPU DRM: libdrm.so: cannot open shared object file: No such file or directory, some functionality will be missing
2025-01-18T19:02:37.516875Z INFO lact_daemon::server::handler: initialized nvidia controller for GPU 10DE:2704-1462:5110-0000:09:00.0 at '/home/yt/fun/LACT/lact-daemon/src/tests/data/nvidia/rtx4080/card1/device'
2025-01-18T19:02:37.517344Z INFO lact_daemon::server::handler: initialized 1 GPUs
@Atemu |
I meant what parts of the updated program you tried to run and found to be working correctly. Basically I want to ascertain that the program still functions as expected after the update. |
@Atemu |
I'd like to see its core functionality such as fan curves or OC to be tested before we merge. |
837cccb
to
5d2d383
Compare
pkgs/by-name/la/lact/package.nix
Outdated
--add-needed ${vulkan-loader}/lib/libvulkan.so \ | ||
--add-needed ${libdrm}/lib/libdrm.so \ | ||
--add-needed ${libdrm}/lib/libdrm_intel.so \ | ||
--add-needed ${libdrm}/lib/libdrm_amdgpu.so \ | ||
--add-needed ${libdrm}/lib/libdrm_radeon.so \ | ||
--add-needed ${libdrm}/lib/libdrm_nouveau.so \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just add a needed for libdrm.so (like I had for libvulkan.so before) and add it to the library path.
These do not make sense to declare here; they're loaded at runtime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry about that. done.
changelog: https://github.com/ilya-zlobintsev/LACT/releases/tag/v0.7.0 also add nix-update-script to passthru.updateScript
Things done
Changelog: https://github.com/ilya-zlobintsev/LACT/releases/tag/v0.7.0
Also added
nix-update-script
topassthru.updateScript
and tested that it works.I couldn't get
tests::snapshot_everything
to pass. Maybe you need to have some specific GPU hardware (AMD?) to get it work? If you have any pointers, please let me know.Resolves #374358
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.