Skip to content

Commit

Permalink
treewide: drop amdgpu-pro
Browse files Browse the repository at this point in the history
It's dead, Jim.
  • Loading branch information
K900 committed Jun 16, 2024
1 parent b168e44 commit 951601c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 312 deletions.
17 changes: 0 additions & 17 deletions nixos/doc/manual/configuration/x-windows.chapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,6 @@ If you have an older card, you may have to use one of the legacy drivers:
You may need to reboot after enabling this driver to prevent a clash
with other kernel modules.

## Proprietary AMD drivers {#sec-x11--graphics-cards-amd}

AMD provides a proprietary driver for its graphics cards that is not
enabled by default because it's not Free Software, is often broken in
nixpkgs and as of this writing doesn't offer more features or
performance. If you still want to use it anyway, you need to explicitly
set:

```nix
{
services.xserver.videoDrivers = [ "amdgpu-pro" ];
}
```

You will need to reboot after enabling this driver to prevent a clash
with other kernel modules.

## Touchpads {#sec-x11-touchpads}

Support for Synaptics touchpads (found in many laptops such as the Dell
Expand Down
69 changes: 0 additions & 69 deletions nixos/modules/hardware/video/amdgpu-pro.nix

This file was deleted.

1 change: 0 additions & 1 deletion nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
./hardware/uni-sync.nix
./hardware/usb-modeswitch.nix
./hardware/usb-storage.nix
./hardware/video/amdgpu-pro.nix
./hardware/video/bumblebee.nix
./hardware/video/capture/mwprocapture.nix
./hardware/video/displaylink.nix
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/xserver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ in
default = [ "modesetting" "fbdev" ];
example = [
"nvidia"
"amdgpu-pro"
"amdgpu"
];
# TODO(@oxij): think how to easily add the rest, like those nvidia things
relatedPackages = concatLists
Expand Down
222 changes: 0 additions & 222 deletions pkgs/os-specific/linux/amdgpu-pro/default.nix

This file was deleted.

3 changes: 1 addition & 2 deletions pkgs/top-level/linux-kernels.nix
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ in {

akvcam = callPackage ../os-specific/linux/akvcam { };

amdgpu-pro = callPackage ../os-specific/linux/amdgpu-pro { };

apfs = callPackage ../os-specific/linux/apfs { };

ax99100 = callPackage ../os-specific/linux/ax99100 {};
Expand Down Expand Up @@ -605,6 +603,7 @@ in {
rtl8723bs = throw "rtl8723bs was added in mainline kernel version 4.12"; # Added 2023-06-14
vm-tools = self.mm-tools;
xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18";
amdgpu-pro = throw "amdgpu-pro was removed due to lack of maintenance"; # Added 2024-06-16
});

hardenedPackagesFor = kernel: overrides: packagesFor (hardenedKernelFor kernel overrides);
Expand Down

0 comments on commit 951601c

Please sign in to comment.