Skip to content

[Bug]: Test #245

Description

@luytan

Distribution

NixOS 26.11 (Zokor) x86_64

Kernel Version

7.2.3-cachyos-lto

Cardwire Version

cardwire-cli 0.12.1

Cardwire GPU list

{
  "0": {
    "id": 0,
    "name": "AMD Radeon RX 9070 XT",
    "pci": "0000:03:00.0",
    "render": 128,
    "card": 1,
    "default": true,
    "discrete": true,
    "virtual_gpu": false,
    "available": true,
    "vendor": "AMD",
    "driver": "amdgpu",
    "blocked": false,
    "launchable": true,
    "nvidia": false,
    "nvidia_minor": "none"
  },
  "1": {
    "id": 1,
    "name": "AMD Ryzen 7 7700X 8-Core Processor",
    "pci": "0000:19:00.0",
    "render": 129,
    "card": 0,
    "default": false,
    "discrete": false,
    "virtual_gpu": false,
    "available": true,
    "vendor": "AMD",
    "driver": "amdgpu",
    "blocked": false,
    "launchable": true,
    "nvidia": false,
    "nvidia_minor": "none"
  }
}

Describe the bug

Test

Expected vs Actual Behavior

Test

Cardwire Daemon Logs

❯ journalctl -eu cardwired.service --no-pager
Sep 12 09:10:42 sylveon systemd[1]: Starting Cardwire Daemon...
Sep 12 09:10:42 sylveon (cardwired)[1204]: cardwired.service: ConfigurationDirectory 'cardwire' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 700)
Sep 12 09:10:42 sylveon cardwired[1204]: [INFO ] IOMMU detected, reading pci devices using iommu dir
Sep 12 09:10:43 sylveon cardwired[1204]: Failed to create /root/.cache for shader cache (Read-only file system)---disabling.
Sep 12 09:10:43 sylveon cardwired[1204]: Failed to create /root/.cache for shader cache (Read-only file system)---disabling.
Sep 12 09:10:43 sylveon cardwired[1204]: WARNING: radv is not a conformant Vulkan implementation, testing use only.
Sep 12 09:10:43 sylveon cardwired[1204]: Failed to create /root/.cache for shader cache (Read-only file system)---disabling.
Sep 12 09:10:43 sylveon cardwired[1204]: Failed to create /root/.cache for shader cache (Read-only file system)---disabling.
Sep 12 09:10:43 sylveon cardwired[1204]: [WARN ] llvmpipe (LLVM 21.1.8, 256 bits): Not available (VK_EXT_pci_bus_info not supported)
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] Successfully resolved card1 and renderD128 for PCI 0000:03:00.0
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] Successfully resolved card0 and renderD129 for PCI 0000:19:00.0
Sep 12 09:10:43 sylveon cardwired[1204]: [WARN ] AMD Ryzen 7 7700X 8-Core Processor: EGL discrete check failed: EGL driver found the device but doesn't support querying GPU type
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] gpu AMD Radeon RX 9070 XT id: 0 internal: 0, desktop: 5, connected: 1, total: 5, connected_internal: 0, connected_desktop: 1
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] gpu AMD Ryzen 7 7700X 8-Core Processor id: 1 internal: 0, desktop: 5, connected: 0, total: 5, connected_internal: 0, connected_desktop: 0
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] inserting: 1204 into map
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] detected default gpu_state file, overwriting it...
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] Switched to Hybrid
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] write_command; command=Auth(Some(External), Some([48]))
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] write_commands; commands=[Auth(Some(External), Some([48]))] extra_bytes=None
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_command;
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_commands; n_commands=1
Sep 12 09:10:43 sylveon cardwired[1204]: [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 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_commands; n_commands=1
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] start_object_server; started_event=Some(Event { listeners_notified: 0, listeners_total: 1 })
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] obj_server_task;
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] monitor_name_lost; name=org.opengamingcollective.cardwire
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] write_command; command=Auth(Some(External), Some([48]))
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] write_commands; commands=[Auth(Some(External), Some([48]))] extra_bytes=None
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_command;
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_commands; n_commands=1
Sep 12 09:10:43 sylveon systemd[1]: Started Cardwire Daemon.
Sep 12 09:10:43 sylveon cardwired[1204]: [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 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_commands; n_commands=1
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] start_object_server; started_event=Some(Event { listeners_notified: 0, listeners_total: 1 })
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] obj_server_task;
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] monitor_name_lost; name=net.hadess.SwitcherooControl
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] Switcheroo DBus shim started successfully
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] Daemon started succesfully
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] write_command; command=Auth(Some(External), Some([48]))
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] write_commands; commands=[Auth(Some(External), Some([48]))] extra_bytes=None
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_command;
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_commands; n_commands=1
Sep 12 09:10:43 sylveon cardwired[1204]: [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 12 09:10:43 sylveon cardwired[1204]: [INFO ] read_commands; n_commands=1
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] {}; task_name="org.freedesktop.UPower proxy caching"
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] AMD Radeon RX 9070 XT: Power state changed: D0
Sep 12 09:10:43 sylveon cardwired[1204]: [INFO ] AMD Ryzen 7 7700X 8-Core Processor: Power state changed: D0
Sep 12 09:41:48 sylveon cardwired[1204]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 2, sender: UniqueName(":1.234"), 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.234")), signature: Unit, unix_fds: None } }
Sep 12 09:41:48 sylveon cardwired[1204]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 3, sender: UniqueName(":1.234"), 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.234")), signature: Unit, unix_fds: None } }
Sep 12 09:41:48 sylveon cardwired[1204]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 4, sender: UniqueName(":1.234"), 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: 4 }, 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.234")), signature: Unit, unix_fds: None } }
Sep 12 09:41:48 sylveon cardwired[1204]: [INFO ] dispatch_call; msg=Msg { type: MethodCall, serial: 5, sender: UniqueName(":1.234"), 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: 5 }, 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.234")), signature: Unit, unix_fds: None } }

LLM Output

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions