Hello everyone,
in first i want to apologize for my english, it isn’t my natural language.
I’m in nixOs since 2 month yet, swaping from arch linux. I have learn a lot, but i still can’t make my second computer work.
I have follow this guide without any success.
At 2 moment without changing anything, the second screen just start to work then stop.
Here is the relevant part of my config :
service.xserver.videoDrivers = ["amdgpu"]
boot = {
kernelPackages = pkgs.linuxPackages_latest;
initrd.kernelModules = ["amdgpu"];
kernelParams = with host; [
"video=${mainMonitor}:1920x1080@60"
"video=${secondMonitor}:1920x1080@60"
];
};
hardware = {
pulseaudio.enable = true;
opengl = {
enable = true;
extraPackages = with pkgs; [
rocm-opencl-icd
rocm-opencl-runtime
amdvlk
];
driSupport = true;
#package = unstable.mesa.drivers;
driSupport32Bit = true;
#package32 = unstable.pkgsi686Linux.mesa.drivers;
};
};
The output of the command head /sys/class/drm/*/status
:
==> /sys/class/drm/card0-DP-1/status <==
connected
==> /sys/class/drm/card0-HDMI-A-1/status <==
disconnected
The output of lscpi :
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev cc) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 876b
Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 8
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=2M]
I/O ports at f000 [size=256]
Memory at fcb00000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu
I also have try wayland without success. Help would be welcome i don’t know what to try next.
Thanx