| 14 Dec 2023 |
pedrohlc ⚡️ | hummm, if I got it right, modules-closure copies stuff for the listed kernels, but GSP is under nvidia folder and not nouveau... | 20:55:41 |
| 15 Dec 2023 |
K900 | I don't think nouveau GSP is in mainline yet? | 04:15:13 |
@ice-cube69:matrix.org | Hey guys guys, i can't get my optimus Laptop to sleep correctly. It's an i7+nvidia RTX 3050 Laptop. When I completely disable nvidia as on the nixos wiki, it works as expected, however while using Nvidia, My computer is unable to recover from sleep. Error messages:
Failed to enable link training
Failed to read DPCD register 0x92
Failed to write source OUI
Failed to enable link training
mismatch in has_psr (expected yes, found no)```
| 08:42:02 |
@ice-cube69:matrix.org | * Hey guys, i can't get my optimus Laptop to sleep correctly. It's an i7+nvidia RTX 3050 Laptop(HP Victus 16). When I completely disable nvidia as on the nixos wiki, it works as expected, however while using Nvidia, My computer is unable to recover from sleep. Error messages:
Failed to enable link training
Failed to read DPCD register 0x92
Failed to write source OUI
Failed to enable link training
mismatch in has_psr (expected yes, found no)```
| 08:42:56 |
K900 | Using Nvidia as primary? | 08:44:19 |
@ice-cube69:matrix.org | yeah | 08:44:39 |
@ice-cube69:matrix.org | here's my config: ``` hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; };
services.xserver.videoDrivers = ["modesetting" "nvidia"];
hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
};
hardware.nvidia.prime = { intelBusId = "PCI:0:2:0"; nvidiaBusId = "PCI:1:0:0";
sync.enable = true;
};```
| 08:44:50 |
@ice-cube69:matrix.org | * here's my config: ``` hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; };
services.xserver.videoDrivers = ["modesetting" "nvidia"];
hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
};
hardware.nvidia.prime = { intelBusId = "PCI:0:2:0"; nvidiaBusId = "PCI:1:0:0";
sync.enable = true; };```
| 08:45:11 |
@ice-cube69:matrix.org | * here's my config:
enable = true;
driSupport = true;
driSupport32Bit = true;
};
services.xserver.videoDrivers = \["modesetting" "nvidia"\];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false; nvidiaSettings = true;
};
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
sync.enable = true;
};
| 08:45:27 |
K900 | Oh OK so still offloading | 08:45:35 |
@ice-cube69:matrix.org | * here's my config:
enable = true;
driSupport = true;
driSupport32Bit = true;
};
services.xserver.videoDrivers = \["modesetting" "nvidia"\];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
};
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
sync.enable = true;
};
| 08:45:43 |
K900 | No hardware switch or anything | 08:45:49 |
@ice-cube69:matrix.org | no | 08:45:56 |
@ice-cube69:matrix.org | I have tested that NVIDIA works when I use this configuration | 08:46:15 |
@ice-cube69:matrix.org | I have tested offload mode and sync mode, both don't work, this has lead me to believe that the issue lies within my nvidia drivers config | 08:47:14 |
@ice-cube69:matrix.org | I also would like to know the meaning of the error messages, I can't decipher them | 08:47:34 |
K900 | Those are displayport link training internals | 08:48:01 |
K900 | DPCD is DisplayPort Configuration Data | 08:48:15 |
K900 | OUI is Organization Unique Identifier | 08:48:53 |
K900 | PSR is panel self-refresh | 08:48:59 |
@ice-cube69:matrix.org | I see thanks for the info | 08:50:01 |
@ice-cube69:matrix.org | K900 (drm/amd#1417 when): Do you think if this is something that can be fixed on my part, or is this an nvida issue? | 09:07:11 |
K900 | My guess would be Nvidia issue | 09:07:31 |
@ice-cube69:matrix.org | K900 (drm/amd#1417 when): I have gotten slightly better logs:
Dec 15 16:50:48 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:50:48 hp-victus dhcpcd[1046]: wlp0s20f3: REPLY6 received from fe80::aa88:1fff:fe1c:88ff
Dec 15 16:50:48 hp-victus dhcpcd[1046]: wlp0s20f3: refresh in 86400 seconds
Dec 15 16:50:50 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:50:51 hp-victus dhcpcd[1046]: wlp0s20f3: leased 192.168.29.75 for 82800 seconds
Dec 15 16:50:51 hp-victus dhcpcd[1046]: wlp0s20f3: adding route to 192.168.29.0/24
Dec 15 16:50:51 hp-victus dhcpcd[1046]: wlp0s20f3: adding default route via 192.168.29.1
Dec 15 16:50:53 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:50:56 hp-victus systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Dec 15 16:50:57 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:51:02 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI
Dec 15 16:51:08 hp-victus kwin_wayland_wrapper[3058]: kf.kirigami: Failed to find a Kirigami platform plugin
Dec 15 16:51:09 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:236:eDP-1][ENCODER:235:DDI A/PHY A][DPRX] Failed to enable link training
Dec 15 16:51:10 hp-victus kwin_wayland_wrapper[3058]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Dec 15 16:51:10 hp-victus kwin_wayland_wrapper[3058]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Dec 15 16:51:10 hp-victus kwin_wayland_wrapper[3058]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Dec 15 16:51:12 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:51:14 hp-victus systemd-timesyncd[969]: Contacted time server 144.24.146.96:123 (0.nixos.pool.ntp.org).
Dec 15 16:51:16 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:51:18 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:51:24 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI
Dec 15 16:51:31 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:236:eDP-1][ENCODER:235:DDI A/PHY A][DPRX] Failed to enable link training
Dec 15 16:51:34 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:51:38 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
Dec 15 16:51:43 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to write source OUI
Dec 15 16:51:49 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* [CONNECTOR:236:eDP-1][ENCODER:235:DDI A/PHY A][DPRX] Failed to enable link training
Dec 15 16:51:52 hp-victus kernel: i915 0000:00:02.0: [drm] *ERROR* Failed to read DPCD register 0x92
| 11:28:44 |
@ice-cube69:matrix.org | According to this i think it's the intel driver that's messing up, anyway i can disable igpu? | 11:29:08 |
K900 | No | 11:49:19 |
pedrohlc ⚡️ | In reply to @k900:0upti.me I don't think nouveau GSP is in mainline yet? It will share the nvidia directory anyway, but yeah the r535-subsystem is only part of 6.7 kernels and the `*-535.113.01.bin' suffixed files are not in main linux-firmware branch yet | 12:38:59 |
pedrohlc ⚡️ | In reply to @k900:0upti.me I don't think nouveau GSP is in mainline yet? * It will share the nvidia directory anyway, but yeah the r535-subsystem is only part of 6.7 kernels and the `*-535.113.01.bin' suffixed files are not in latest tag of linux-firmware yet | 12:42:51 |
pedrohlc ⚡️ | * It will share the nvidia directory anyway, but yeah the r535-subsystem is only part of 6.7 kernels and the *-535.113.01.bin suffixed files are not in latest tag of linux-firmware yet | 12:43:10 |
@atemu12:matrix.org | binarydigitz01: Which kernel is this? Try mainline LTS | 15:16:22 |