Sep 01 08:38:16 arch systemd[1]: Starting Cardwire Daemon...
Sep 01 08:38:16 arch (cardwired)[623]: cardwired.service: ConfigurationDirectory 'cardwire' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 700)
Sep 01 08:38:16 arch cardwired[623]: [INFO ] IOMMU detected, reading pci devices using iommu dir
Sep 01 08:38:16 arch cardwired[623]: [INFO ] Successfully resolved card0 and renderD129 for PCI 0000:01:00.0
Sep 01 08:38:16 arch cardwired[623]: [WARN ] NVIDIA GeForce RTX 4060 Laptop GPU: EGL discrete check failed: EGL driver found the device but doesn't support querying GPU type
Sep 01 08:38:16 arch cardwired[623]: [INFO ] Successfully resolved card1 and renderD128 for PCI 0000:35:00.0
Sep 01 08:38:16 arch cardwired[623]: [WARN ] AMD Radeon 680M: EGL discrete check failed: EGL driver found the device but doesn't support querying GPU type
Sep 01 08:38:16 arch cardwired[623]: [INFO ] gpu NVIDIA GeForce RTX 4060 Laptop GPU id: 0 internal: 1, desktop: 2, connected: 0, total: 3, connected_internal: 0, connected_desktop: 0
Sep 01 08:38:16 arch cardwired[623]: [INFO ] gpu AMD Radeon 680M id: 1 internal: 1, desktop: 9, connected: 1, total: 10, connected_internal: 1, connected_desktop: 0
Sep 01 08:38:16 arch cardwired[623]: [INFO ] inserting: 623 into map
Sep 01 08:38:16 arch cardwired[623]: [ERROR] (ignoring) failed to get inode for hwmon 0000:01:00.0: No such file or directory (os error 2)
Sep 01 08:38:16 arch cardwired[623]: [WARN ] failed to get inode for /dev/nvidia0: No such file or directory (os error 2)
Sep 01 08:38:16 arch cardwired[623]: [ERROR] failed to get inode for nvidia0: No such file or directory (os error 2)
Sep 01 08:38:16 arch cardwired[623]: [ERROR] failed to apply mode at startup: org.freedesktop.DBus.Error.Failed: No such file or directory (os error 2), switching to hybrid...
Sep 01 08:38:16 arch cardwired[623]: [ERROR] (ignoring) failed to get inode for hwmon 0000:01:00.0: No such file or directory (os error 2)
Sep 01 08:38:16 arch cardwired[623]: [WARN ] failed to get inode for /dev/nvidia0: No such file or directory (os error 2)
Sep 01 08:38:16 arch cardwired[623]: [ERROR] failed to get inode for nvidia0: No such file or directory (os error 2)
Sep 01 08:38:16 arch cardwired[623]: Error: org.freedesktop.DBus.Error.Failed: No such file or directory (os error 2)
Sep 01 08:38:17 arch systemd[1]: cardwired.service: Main process exited, code=exited, status=1/FAILURE
Sep 01 08:38:17 arch systemd[1]: cardwired.service: Failed with result 'exit-code'.
Sep 01 08:38:17 arch systemd[1]: Failed to start Cardwire Daemon.
Sep 01 08:38:17 arch systemd[1]: cardwired.service: Consumed 274ms CPU time over 972ms wall clock time, 149.5M memory peak.
Sep 01 08:38:22 arch systemd[1]: cardwired.service: Scheduled restart job, restart counter is at 1.
Sep 01 08:38:22 arch systemd[1]: Starting Cardwire Daemon...
Sep 01 08:38:22 arch (cardwired)[1096]: cardwired.service: ConfigurationDirectory 'cardwire' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 700)
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] IOMMU detected, reading pci devices using iommu dir
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] Successfully resolved card0 and renderD129 for PCI 0000:01:00.0
Sep 01 08:38:22 arch cardwired[1096]: [WARN ] NVIDIA GeForce RTX 4060 Laptop GPU: EGL discrete check failed: EGL driver found the device but doesn't support querying GPU type
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] Successfully resolved card1 and renderD128 for PCI 0000:35:00.0
Sep 01 08:38:22 arch cardwired[1096]: [WARN ] AMD Radeon 680M: EGL discrete check failed: EGL driver found the device but doesn't support querying GPU type
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] gpu NVIDIA GeForce RTX 4060 Laptop GPU id: 0 internal: 1, desktop: 2, connected: 0, total: 3, connected_internal: 0, connected_desktop: 0
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] gpu AMD Radeon 680M id: 1 internal: 1, desktop: 9, connected: 1, total: 10, connected_internal: 1, connected_desktop: 0
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] inserting: 1096 into map
Sep 01 08:38:22 arch cardwired[1096]: [ERROR] (ignoring) failed to get inode for hwmon 0000:01:00.0: No such file or directory (os error 2)
Sep 01 08:38:22 arch cardwired[1096]: [WARN ] failed to get inode for /sys/class/backlight/nvidia_0: No such file or directory (os error 2)
Sep 01 08:38:22 arch cardwired[1096]: [ERROR] (ignoring) failed to get inode for backlight nvidia_0: No such file or directory (os error 2)
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] Switched to Hybrid
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_command; command=Auth(Some(External), Some([48]))
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_commands; commands=[Auth(Some(External), Some([48]))] extra_bytes=None
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_command;
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_commands; n_commands=1
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0])
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_commands; n_commands=1
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] start_object_server; started_event=Some(Event { listeners_notified: 0, listeners_total: 1 })
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] obj_server_task;
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] monitor_name_lost; name=org.opengamingcollective.cardwire
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_command; command=Auth(Some(External), Some([48]))
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_commands; commands=[Auth(Some(External), Some([48]))] extra_bytes=None
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_command;
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_commands; n_commands=1
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 5, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0])
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_commands; n_commands=1
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] start_object_server; started_event=Some(Event { listeners_notified: 0, listeners_total: 1 })
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] obj_server_task;
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] monitor_name_lost; name=net.hadess.SwitcherooControl
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] Switcheroo DBus shim started successfully
Sep 01 08:38:22 arch systemd[1]: Started Cardwire Daemon.
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] Daemon started succesfully
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_command; command=Auth(Some(External), Some([48]))
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_commands; commands=[Auth(Some(External), Some([48]))] extra_bytes=None
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_command;
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_commands; n_commands=1
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 11, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0])
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] read_commands; n_commands=1
Sep 01 08:38:22 arch cardwired[1096]: [INFO ] {}; task_name="org.freedesktop.UPower proxy caching"
Sep 01 08:38:23 arch cardwired[1096]: [INFO ] NVIDIA GeForce RTX 4060 Laptop GPU: Power state changed: D0
Sep 01 08:38:23 arch cardwired[1096]: [INFO ] AMD Radeon 680M: Power state changed: D0
Sep 01 08:38:38 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 2, sender: UniqueName(":1.62"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.opengamingcollective.cardwire.Manager"), member: MemberName("Status"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 2 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.opengamingcollective.cardwire.Manager")), member: Some(MemberName("Status")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.62")), signature: Unit, unix_fds: None } }
Sep 01 08:38:38 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 3, sender: UniqueName(":1.62"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.opengamingcollective.cardwire.Mode"), member: MemberName("AvailableModes"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 3 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.opengamingcollective.cardwire.Mode")), member: Some(MemberName("AvailableModes")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.62")), signature: Unit, unix_fds: None } }
Sep 01 08:38:38 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 7, sender: UniqueName(":1.62"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.freedesktop.DBus.Properties"), member: MemberName("GetAll"), body: Str, fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 43, serial_num: 7 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("GetAll")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.62")), signature: Str, unix_fds: None } }
Sep 01 08:38:49 arch cardwired[1096]: [INFO ] NVIDIA GeForce RTX 4060 Laptop GPU: Power state changed: D3Cold
Sep 01 08:55:22 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 2, sender: UniqueName(":1.145"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.opengamingcollective.cardwire.Manager"), member: MemberName("Status"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 2 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.opengamingcollective.cardwire.Manager")), member: Some(MemberName("Status")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.145")), signature: Unit, unix_fds: None } }
Sep 01 08:55:22 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 3, sender: UniqueName(":1.145"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.opengamingcollective.cardwire.Mode"), member: MemberName("AvailableModes"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 3 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.opengamingcollective.cardwire.Mode")), member: Some(MemberName("AvailableModes")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.145")), signature: Unit, unix_fds: None } }
Sep 01 08:55:22 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 7, sender: UniqueName(":1.145"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.freedesktop.DBus.Properties"), member: MemberName("GetAll"), body: Str, fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 43, serial_num: 7 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("GetAll")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.145")), signature: Str, unix_fds: None } }
Sep 01 08:56:44 arch cardwired[1096]: [INFO ] NVIDIA GeForce RTX 4060 Laptop GPU: Power state changed: D0
Sep 01 08:57:07 arch cardwired[1096]: [INFO ] NVIDIA GeForce RTX 4060 Laptop GPU: Power state changed: D3Cold
Sep 01 08:59:42 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 2, sender: UniqueName(":1.167"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.opengamingcollective.cardwire.Manager"), member: MemberName("Status"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 2 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.opengamingcollective.cardwire.Manager")), member: Some(MemberName("Status")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.167")), signature: Unit, unix_fds: None } }
Sep 01 08:59:42 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 3, sender: UniqueName(":1.167"), path: ObjectPath("/org/opengamingcollective/cardwire"), iface: InterfaceName("org.freedesktop.DBus.ObjectManager"), member: MemberName("GetManagedObjects"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 3 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire")), interface: Some(InterfaceName("org.freedesktop.DBus.ObjectManager")), member: Some(MemberName("GetManagedObjects")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.167")), signature: Unit, unix_fds: None } }
Sep 01 08:59:42 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 4, sender: UniqueName(":1.167"), path: ObjectPath("/org/opengamingcollective/cardwire/Gpu/1"), iface: InterfaceName("org.opengamingcollective.cardwire.Gpu"), member: MemberName("GetDevice"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 4 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire/Gpu/1")), interface: Some(InterfaceName("org.opengamingcollective.cardwire.Gpu")), member: Some(MemberName("GetDevice")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.167")), signature: Unit, unix_fds: None } }
Sep 01 08:59:42 arch cardwired[1096]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 5, sender: UniqueName(":1.167"), path: ObjectPath("/org/opengamingcollective/cardwire/Gpu/0"), iface: InterfaceName("org.opengamingcollective.cardwire.Gpu"), member: MemberName("GetDevice"), fds: [] } hdr=Header { primary: PrimaryHeader { endian_sig: Little, msg_type: MethodCall, flags: BitFlags<Flags>(0b0), protocol_version: 1, body_len: 0, serial_num: 5 }, fields: Fields { path: Some(ObjectPath("/org/opengamingcollective/cardwire/Gpu/0")), interface: Some(InterfaceName("org.opengamingcollective.cardwire.Gpu")), member: Some(MemberName("GetDevice")), error_name: None, reply_serial: None, destination: Some(BusName::WellKnown("org.opengamingcollective.cardwire")), sender: Some(UniqueName(":1.167")), signature: Unit, unix_fds: None } }
Describe the bug
A regression in latest build (possible before that) made disappear Integrated and Smart Mode from my laptop cardwire setttings.
To Reproduce
Install it, use
cardwire getand look at available modesExpected behavior
Integrated mode and smart mode should be present (and were present in past versions).
Environment details
cardwire list --jsonoutput{ "0": { "id": 0, "name": "AMD Radeon 680M", "pci": "0000:35:00.0", "render": 128, "card": 1, "default": true, "discrete": false, "virtual_gpu": false, "available": true, "vendor": "AMD", "driver": "amdgpu", "blocked": false, "launchable": true, "nvidia": false, "nvidia_minor": "none" }, "1": { "id": 1, "name": "NVIDIA GeForce RTX 4060 Laptop GPU", "pci": "0000:01:00.0", "render": 129, "card": 0, "default": false, "discrete": false, "virtual_gpu": false, "available": true, "vendor": "Nvidia", "driver": "nvidia", "blocked": false, "launchable": true, "nvidia": true, "nvidia_minor": "0" } }ls -la /dev/dri/by-path/cardwired logs
Please provide the daemon logs (e.g., run
journalctl -eu cardwired.service --no-pager):Additional context
Installed from AUR.