I am having a strange error pop up on boot where my new device will hang. It has the new ryzen Ai 300 series cpu and a 4060 mobile gpu. The error is
ucsi_apci USBC000:00: error -ETIMEDOUT: PPM init failed
In addition when I start hyprland there is only a blank screen but I do know it is running in the background just not outputting anything to the screen.
I have narrowed down the first issue to my nvidia config file. I am also on the latest kernel version so my wifi card could run.
{
config,
lib,
pkgs,
...
}: {
nixpkgs.config.nvidia.acceptLicense = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
nvidia-vaapi-driver
amdvlk
rocmPackages.clr.icd
];
extraPackages32 = with pkgs.pkgsi686Linux; [
amdvlk
];
};
environment.systemPackages = with pkgs; [
nvidia-vaapi-driver
libva-utils
vdpauinfo
vulkan-tools
vulkan-validation-layers
libvdpau-va-gl
egl-wayland
wgpu-utils
mesa
libglvnd
nvtopPackages.full
nvitop
libGL
];
services.xserver.enable = true;
services.xserver.videoDrivers = ["nvidia" "amdgpu"];
hardware.nvidia = {
forceFullCompositionPipeline = true;
prime = {
sync.enable = true;
amdgpuBusId = "PCI:66:0:0";
nvidiaBusId = "PCI:65:0:0";
};
modesetting.enable = true;
# powerManagement.enable = true;
# powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
};
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
# version = "555.58";
# sha256_64bit = "sha256-bXvcXkg2kQZuCNKRZM5QoTaTjF4l2TtrsKUvyicj5ew=";
# sha256_aarch64 = "sha256-7XswQwW1iFP4ji5mbRQ6PVEhD4SGWpjUJe1o8zoXYRE=";
# openSha256 = "sha256-hEAmFISMuXm8tbsrB+WiUcEFuSGRNZ37aKWvf0WJ2/c=";
# settingsSha256 = "sha256-vWnrXlBCb3K5uVkDFmJDVq51wrCoqgPF03lSjZOuU8M=";
# persistencedSha256 = lib.fakeSha256;
# };
}
Any assistance is greatly appreciated, I really just want to get my config up and running again on my new laptop and am having trouble because I have only ever used intel and nvidia.