{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":424458609,"defaultBranch":"main","name":"envycontrol","ownerLogin":"bayasdev","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-11-04T03:20:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/49411169?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1724028323.0","currentOid":""},"activityList":{"items":[{"before":"4576ea1cc8e0fc1ba5fd17a32848ddd76ef44274","after":"0b502c4027133694e82db9b56eaffbb34fc98642","ref":"refs/heads/main","pushedAt":"2024-08-19T00:43:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Bump to 3.5.1","shortMessageHtmlLink":"Bump to 3.5.1"}},{"before":"fba8c6d790ac3d67bd46943ca2bc69606ffa1e18","after":"4576ea1cc8e0fc1ba5fd17a32848ddd76ef44274","ref":"refs/heads/main","pushedAt":"2024-08-19T00:41:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"fix: can't find gpu if was integrated in v3.4.0 (#183)\n\nIssue description and how to reproduce:\r\n\r\nI was in integrated mode in version 3.4.0. But now I'm using version\r\n3.5.0 and `envycontrol -q` wrongly shows I'm hybrid, and when I do `sudo\r\nenvycontrol -s integrated`, it outpus error: \"ERROR: Could not find\r\nNvidia GPU\\nTry switching to hybrid mode first!\", switch to other modes\r\nalso outputs this error. Expected behavior is `envycontrol -q` shows I'm\r\nintegrated and `sudo envycontrol -s integrated` and other mode switches\r\nworks.\r\n\r\nFix and reasons:\r\n\r\nThe problem is [line 590][0] `with CachedConfig(args).adapter():` goes\r\nto [line 621][1] check `if self.is_hybrid():` and that check returns I'm\r\nhybrid (but I'm not). The reason it return I'm hybrid is because in\r\nget_current_mode() function [line 691][2]\r\n`if os.path.exists(BLACKLIST_PATH) and os.path.exists(UDEV_INTEGRATED_PATH):`\r\nonly checks new UDEV_INTEGRATED_PATH but not old\r\n`/lib/udev/rules.d/50-remove-nvidia.rules`. And the success check leads\r\nto calling line 622 create_cache_file() function, and calls\r\nget_nvidia_gpu_pci_bus() function, and get_nvidia_gpu_pci_bus() errors\r\nand exits because it can't find nvidia gpu in [line 396 and 397][3]. It\r\ncan't find nvidia gpu because it wrongly thinks I'm hybrid (but I'm\r\nnot). If it correctly thinks I'm not hybrid, it will just use cache and\r\nnvidia gpu will be found.\r\n\r\nThus, my fix is to check old UDEV_INTEGRATED_PATH\r\n`/lib/udev/rules.d/50-remove-nvidia.rules` in get_current_mode() and if\r\nold path exist it will correctly report I'm integrated.\r\n\r\n[0]:https://github.com/bayasdev/envycontrol/blob/fba8c6d790ac3d67bd46943ca2bc69606ffa1e18/envycontrol.py#L590\r\n[1]:https://github.com/bayasdev/envycontrol/blob/fba8c6d790ac3d67bd46943ca2bc69606ffa1e18/envycontrol.py#L621\r\n[2]:https://github.com/bayasdev/envycontrol/blob/fba8c6d790ac3d67bd46943ca2bc69606ffa1e18/envycontrol.py#L691\r\n[3]:https://github.com/bayasdev/envycontrol/blob/fba8c6d790ac3d67bd46943ca2bc69606ffa1e18/envycontrol.py#L396-L397\r\n\r\nSigned-off-by: Xiao Pan ","shortMessageHtmlLink":"fix: can't find gpu if was integrated in v3.4.0 (#183)"}},{"before":"7a52eca7f0021e8881fa107d70e9329fca1cae83","after":"fba8c6d790ac3d67bd46943ca2bc69606ffa1e18","ref":"refs/heads/main","pushedAt":"2024-08-17T02:22:26.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Bump to 3.5.0","shortMessageHtmlLink":"Bump to 3.5.0"}},{"before":"59f8f58f1ddcf8ac53c1dc2750b1c7785d065b29","after":"7a52eca7f0021e8881fa107d70e9329fca1cae83","ref":"refs/heads/main","pushedAt":"2024-08-14T18:53:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Support for OSTREE-based distributions (#181)","shortMessageHtmlLink":"Support for OSTREE-based distributions (#181)"}},{"before":"45f5211fa410a4295cfa4e59d079f5e6990b0cf7","after":"59f8f58f1ddcf8ac53c1dc2750b1c7785d065b29","ref":"refs/heads/main","pushedAt":"2024-08-12T02:49:50.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Added blacklist i2c_nvidia_gpu from system76-power (#158)","shortMessageHtmlLink":"Added blacklist i2c_nvidia_gpu from system76-power (#158)"}},{"before":"a5f736695518275e9891cbf00aaf54fde3670492","after":"45f5211fa410a4295cfa4e59d079f5e6990b0cf7","ref":"refs/heads/main","pushedAt":"2024-07-26T21:20:59.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Add the EL9 repo (#176)","shortMessageHtmlLink":"Add the EL9 repo (#176)"}},{"before":"0b1506dfab871949841e4c4f03f36a512d388719","after":"a5f736695518275e9891cbf00aaf54fde3670492","ref":"refs/heads/main","pushedAt":"2024-07-03T13:38:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Add Debian specific troubleshooting instructions\n\nCloses https://github.com/bayasdev/envycontrol/issues/173","shortMessageHtmlLink":"Add Debian specific troubleshooting instructions"}},{"before":"8bab8633f067db0a6bd5f6007d7b72704dc09761","after":"0b1506dfab871949841e4c4f03f36a512d388719","ref":"refs/heads/main","pushedAt":"2024-06-21T11:40:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Update README with list of files that may need to be removed manually (#172)","shortMessageHtmlLink":"Update README with list of files that may need to be removed manually ("}},{"before":"e10ac7e566b77a15dd7129be3c55a0e49878b8ff","after":"8bab8633f067db0a6bd5f6007d7b72704dc09761","ref":"refs/heads/main","pushedAt":"2024-05-31T12:34:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Added a note to the README (#169)","shortMessageHtmlLink":"Added a note to the README (#169)"}},{"before":"8ad51d627444be06b9306d0e17249f85f37314fe","after":"e10ac7e566b77a15dd7129be3c55a0e49878b8ff","ref":"refs/heads/main","pushedAt":"2024-03-06T17:36:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Remove flake.lock","shortMessageHtmlLink":"Remove flake.lock"}},{"before":"0a666377a3d6d7c83ad300f6a6e4419a5aae4fd1","after":"8ad51d627444be06b9306d0e17249f85f37314fe","ref":"refs/heads/main","pushedAt":"2024-03-06T14:15:16.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Add transparent caching, --cache-create, --cache-delete and --cache-q… (#155)\n\n* Add transparent caching, --cache-create, --cache-delete and --cache-query options\r\n\r\n* Update version to 3.4.0; put rebuild_initramfs call back during --reset; update README\r\n\r\n* Fixes #79 - tests passing for all mode transitions\r\n\r\n* Address review comments\r\n\r\n* Simplify cache object schema per review comment","shortMessageHtmlLink":"Add transparent caching, --cache-create, --cache-delete and --cache-q… ("}},{"before":"69e78e5351e096a8bfdf8c849af482f8dd17439b","after":"0a666377a3d6d7c83ad300f6a6e4419a5aae4fd1","ref":"refs/heads/main","pushedAt":"2024-02-25T02:33:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Update repo URL in Nix Flakes","shortMessageHtmlLink":"Update repo URL in Nix Flakes"}},{"before":"bf8a9333bee8b40f4fb811eb9380417f01f54666","after":"69e78e5351e096a8bfdf8c849af482f8dd17439b","ref":"refs/heads/main","pushedAt":"2024-02-25T02:27:16.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Add support for NixOs (#156)","shortMessageHtmlLink":"Add support for NixOs (#156)"}},{"before":"02a7b42868ac2d576fd4e2525dc5dd286d0733d6","after":"bf8a9333bee8b40f4fb811eb9380417f01f54666","ref":"refs/heads/main","pushedAt":"2024-02-24T01:03:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Add missing rebuild_initramfs() call in reset","shortMessageHtmlLink":"Add missing rebuild_initramfs() call in reset"}},{"before":"f12639ac4c5da1427a35e9d81eb5066a6972244b","after":"02a7b42868ac2d576fd4e2525dc5dd286d0733d6","ref":"refs/heads/main","pushedAt":"2023-11-07T11:42:37.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"update README","shortMessageHtmlLink":"update README"}},{"before":"b93bdf459a86c71a2a1e5dff3396b71c4d93a1d8","after":"f12639ac4c5da1427a35e9d81eb5066a6972244b","ref":"refs/heads/main","pushedAt":"2023-11-07T11:37:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"add use_nvidia_current flag #144","shortMessageHtmlLink":"add use_nvidia_current flag #144"}},{"before":"66cb0e28158a0a615a010905ea7fdde8ba9c1499","after":"b93bdf459a86c71a2a1e5dff3396b71c4d93a1d8","ref":"refs/heads/main","pushedAt":"2023-09-11T23:30:16.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Fixed suspend in nvidia and hybrid mode (#127)\n\n* Fixed suspend in nvidia and hybrid mode\r\n\r\nI had suspend not working on nvidia and hybrid mods after I added to envycontrol settings for nvidia from https://github.com/CachyOS/CachyOS-Settings everything worked.\r\n\r\n* Fixed rtd3\r\n\r\n* Returned the right things and deleted the unnecessary ones\r\n\r\n* Added loging","shortMessageHtmlLink":"Fixed suspend in nvidia and hybrid mode (#127)"}},{"before":"5383651c24aa73ab44a4dee94c0711c8c18fc15f","after":"66cb0e28158a0a615a010905ea7fdde8ba9c1499","ref":"refs/heads/main","pushedAt":"2023-07-04T13:52:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Add info about a KDE widget (#115)\n\nAdd a section for GUIs. \r\nAdd information about a KDE widget to change GPU modes using EnvyControl.","shortMessageHtmlLink":"Add info about a KDE widget (#115)"}},{"before":"247d641054c65fc84f7d6406def1e81f521e6048","after":"5383651c24aa73ab44a4dee94c0711c8c18fc15f","ref":"refs/heads/main","pushedAt":"2023-04-28T01:54:32.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Update README.md (#100)","shortMessageHtmlLink":"Update README.md (#100)"}},{"before":"29e4d65ac92ef319f7589c3c4e40ee8bac1fd48c","after":"247d641054c65fc84f7d6406def1e81f521e6048","ref":"refs/heads/main","pushedAt":"2023-03-27T01:06:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Update README with .deb package instructions","shortMessageHtmlLink":"Update README with .deb package instructions"}},{"before":"349d74ddbce3a3dd9b76420437a7d51a9a2405c4","after":"29e4d65ac92ef319f7589c3c4e40ee8bac1fd48c","ref":"refs/heads/main","pushedAt":"2023-03-25T13:10:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Add instructions for Fedora","shortMessageHtmlLink":"Add instructions for Fedora"}},{"before":"de8c5797667330e3b8fdc59510287be5420ce875","after":"349d74ddbce3a3dd9b76420437a7d51a9a2405c4","ref":"refs/heads/main","pushedAt":"2023-03-14T20:20:33.900Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"envycontrol: bump to 3.2.0","shortMessageHtmlLink":"envycontrol: bump to 3.2.0"}},{"before":"e6b9f982a77c3a1366968730454ddd841428afb5","after":"de8c5797667330e3b8fdc59510287be5420ce875","ref":"refs/heads/main","pushedAt":"2023-03-14T19:47:10.648Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Update EndeavourOS support (#91)\n\n* Update EndeavourOS support\r\n\r\n* Make EndeavourOS support dracut-only","shortMessageHtmlLink":"Update EndeavourOS support (#91)"}},{"before":"128e0da1f3681a2b079fc51fea1a06af40b137ad","after":"e6b9f982a77c3a1366968730454ddd841428afb5","ref":"refs/heads/main","pushedAt":"2023-03-14T15:12:37.844Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"envycontrol: bump to 3.0.3","shortMessageHtmlLink":"envycontrol: bump to 3.0.3"}},{"before":"10a2d85f14d4084fbac242778d7cd24348ec8455","after":"128e0da1f3681a2b079fc51fea1a06af40b137ad","ref":"refs/heads/main","pushedAt":"2023-03-14T15:12:15.445Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"fix: check all possible igpu matches","shortMessageHtmlLink":"fix: check all possible igpu matches"}},{"before":"f5c1bc9355779e2a15731c3c4bc25d8168326f26","after":null,"ref":"refs/tags/v3.0.2","pushedAt":"2023-03-14T15:00:55.083Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"}},{"before":"f5c1bc9355779e2a15731c3c4bc25d8168326f26","after":"10a2d85f14d4084fbac242778d7cd24348ec8455","ref":"refs/heads/main","pushedAt":"2023-03-14T15:00:22.898Z","pushType":"push","commitsCount":3,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"envycontrol: bump to 3.0.2","shortMessageHtmlLink":"envycontrol: bump to 3.0.2"}},{"before":"d4ca937ff308e1b7accea30b062427811cc974f9","after":"f5c1bc9355779e2a15731c3c4bc25d8168326f26","ref":"refs/heads/main","pushedAt":"2023-03-13T19:19:40.656Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"Update issue templates","shortMessageHtmlLink":"Update issue templates"}},{"before":"d87a3294d3207f2da60eacad7caa1f8bf5eed43d","after":"d4ca937ff308e1b7accea30b062427811cc974f9","ref":"refs/heads/main","pushedAt":"2023-03-13T19:10:38.512Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"fix: improve igpu vendor detection","shortMessageHtmlLink":"fix: improve igpu vendor detection"}},{"before":"b6750d49d0af6d9e845683c11358cfb2ba4e8ec6","after":"d87a3294d3207f2da60eacad7caa1f8bf5eed43d","ref":"refs/heads/main","pushedAt":"2023-03-13T17:10:02.462Z","pushType":"push","commitsCount":1,"pusher":{"login":"bayasdev","name":"Victor Bayas","path":"/bayasdev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/49411169?s=80&v=4"},"commit":{"message":"README: typo","shortMessageHtmlLink":"README: typo"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEnYbq_AA","startCursor":null,"endCursor":null}},"title":"Activity · bayasdev/envycontrol"}