From 5847d54be1636f87d16e445e0a903d2e411f7c1c Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Mon, 23 Nov 2020 03:43:13 +0000 Subject: setup-xorg-base: don't install video DDX modesetting provides superior compatibility and comparable performance on modern platforms. other distros such as debian/ubuntu [0] and fedora [1] switched to modesetting several years ago. users who require maximum xrender performance can manually install a ddx. [0] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/AUPYPJMFJZMHPEKN24LBABZKIEOV4NU5/ [1] https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-now-defaults-to-modesetting-driver-on-x/ --- setup-xorg-base.in | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/setup-xorg-base.in b/setup-xorg-base.in index 2e01c91..e557327 100644 --- a/setup-xorg-base.in +++ b/setup-xorg-base.in @@ -1,25 +1,5 @@ #!/bin/sh -# simple script to setup x basic org server -# you will still need a window manager and login manager or xinit - -base_pkgs="xorg-server xf86-input-libinput eudev" - -apk add pciutils eudev -vgaline=$(lspci | grep -w VGA) - -case "$vgaline" in -*Intel*) videodrv="xf86-video-intel";; -*AMD*) videodrv="xf86-video-amdgpu";; -*NVIDIA*) videodrv="xf86-video-nouveau";; -*VMware*) videodrv="xf86-video-vmware";; -*QXL*) videodrv="xf86-video-qxl";; -esac - -# fallback driver -videodrv="$videodrv xf86-video-modesetting" - -# install packages -apk add $base_pkgs $videodrv $@ +apk add xorg-server xf86-input-libinput eudev "$@" setup-udev -- cgit v1.2.3