-
Notifications
You must be signed in to change notification settings - Fork 81
Comparing changes
Open a pull request
base repository: NVIDIA/nvidia-settings
base: 375.10
head repository: NVIDIA/nvidia-settings
compare: 5e7e4bb3464802f35b924d4fd3cdfb1e7b2bd125
- 8 commits
- 8 files changed
- 3 contributors
Commits on Oct 28, 2016
-
Return early if renderer functions are called before settings object …
…is set. Some environment configuration can trigger renderer function on GtkTreeView objects before they are properly configured on the Application Profiles page. Currently this behavior causes a segfault. These changes cause the renderer functions to return early in this case. Subsequent calls to modify the stored data will re-trigger these renderer functions and will then run as expected.
Configuration menu - View commit details
-
Copy full SHA for 5a40f4d - Browse repository at this point
Copy the full SHA 5a40f4dView commit details -
Remove the Enable Tooltips option since it doesn't work with GTK 2.12…
….0 and higher GTK 2.12 change how tooltips are handled internal to GTK. This addition, while leaving the function interface, changed the internals and made the old enable/disable and set_delay functions as No-Ops. This change removes the configuration option from the config page for all version of GTK. GTK 3.x only uses the later version of tooltips and is functioanlly uneffected by this change.
Configuration menu - View commit details
-
Copy full SHA for 00a066e - Browse repository at this point
Copy the full SHA 00a066eView commit details -
matchNvCtrlWithNvmlIds will fail if mismatch between gpu UUID returne…
…d by NV-CONTROL and NVML.
Configuration menu - View commit details
-
Copy full SHA for df74e57 - Browse repository at this point
Copy the full SHA df74e57View commit details -
nvidia-settings: Fix error checking in matchNvCtrlWithNvmlIds()
Commit 7155801 interpreted the return type of XNVCTRLQueryTargetCount() as a ReturnStatus (where NvCtrlSuccess is 0, and non-success values are > 0). However, XNVCTRLQueryTargetCount() returns a boolean. This caused matchNvCtrlWithNvmlIds() to interpret TRUE as not ReturnStatus and return prematurely.
Configuration menu - View commit details
-
Copy full SHA for 0cd4c94 - Browse repository at this point
Copy the full SHA 0cd4c94View commit details -
nvidia-settings: dlopen(3) libnvidia-ml.so.1
To avoid link-time dependence on nvml development packages, dlopen(3)/dlclose(3) libnvidia-ml.so.1, instead of linking against libnvidia-ml.so at link-time. Details: * Remove __isNvmlLoaded/__nvmlUsers bookkeeping. The NVML implementation does its own reference counting such that nvmlShutdown() doesn't tear things down until the process-wide reference count reaches zero. * But, be careful to still return NvCtrlMissingExtension in the cases where __isNvmlLoaded would have caused us to return NvCtrlMissingExtension. Bonus: * Allocate nvml->{sensor,cooler}CountPerGPU with nvalloc(), not calloc(). nvalloc() will abort the process if there is an allocation failure, and takes care of zero-initializing the memory.Configuration menu - View commit details
-
Copy full SHA for 68c039c - Browse repository at this point
Copy the full SHA 68c039cView commit details -
nvidia-settings: Reduce h->nvml-> pointer chasing
Now that various functions in NvCtrlAttributesNvml.c have a local NvCtrlNvmlAttributes pointer variable. Use that, instead of h->nvml.
Configuration menu - View commit details
-
Copy full SHA for 7ced6bb - Browse repository at this point
Copy the full SHA 7ced6bbView commit details -
nvidia-settings: Bundle nvml.h
Not many distros distribute an nvml development package that would include nvml.h (or libnvidia-ml.so), so having external build time dependence on nvml is cumbersome. Avoid this by including an nvml.h with the nvidia-settings source tarball.
Configuration menu - View commit details
-
Copy full SHA for 168e17f - Browse repository at this point
Copy the full SHA 168e17fView commit details -
nvidia-settings: Silently ignore the "ToolTips" rc property
Commit 00a066e removed the "ToolTips" rc property, because most GTK versions no longer support toggling tooltips off and on in the same way. However, when running a post-00a066e2 nvidia-settings with an rc file produced pre-21288711, the new nvidia-settings will print an error: ERROR: Error parsing configuration file '/home/aritger/.nvidia-settings-rc' on line 11: 'ToolTips = Yes' (Unrecognized attribute name). Update nvidia-settings to silently ignore the "ToolTips" property, rather than complain about it.
Configuration menu - View commit details
-
Copy full SHA for 5e7e4bb - Browse repository at this point
Copy the full SHA 5e7e4bbView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 375.10...5e7e4bb3464802f35b924d4fd3cdfb1e7b2bd125