From aff13dbe8f677068064e4af4c06140c4dab3a898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Wed, 20 Nov 2019 15:04:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=BA=D0=B0?= =?UTF-8?q?=20modesetting=20=D0=B2=D0=B8=D0=B4=D0=B5=D0=BE=D0=B4=D1=80?= =?UTF-8?q?=D0=B0=D0=B9=D0=B2=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/install/variables/X11.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pym/install/variables/X11.py b/pym/install/variables/X11.py index 1014363..4423c2e 100644 --- a/pym/install/variables/X11.py +++ b/pym/install/variables/X11.py @@ -55,6 +55,7 @@ class VideoVariable(Variable): ('amdgpu', _("AMD AMDGPU (amdgpu)")), ('fglrx', _("AMD Catalyst (fglrx)")), ('intel', _("Intel (intel)")), + ('modesetting', _("Framebuffer device (modesetting)")), ('nouveau', _("Nvidia Nouveau (nouveau)")), ('nvidia', _("Nvidia Graphics Driver (nvidia)")), ('vesa', _("Generic VESA (vesa)")), @@ -161,7 +162,9 @@ class VariableOsInstallX11VideoAvailable(VideoVariable): """ type = "list" # supported = ["nvidia", "fglrx", "amdgpu", "nouveau", "intel", "radeon"] - supported = ["nvidia", "fglrx", "amdgpu", "nouveau", "intel", "radeon"] + supported = ["nvidia", "fglrx", "amdgpu", + "modesetting", + "nouveau", "intel", "radeon"] def get(self): image = self.Get('cl_image') @@ -187,7 +190,7 @@ class VariableOsX11KmsVideoDrv(ReadonlyVariable): Список KMS драйверов """ type = "list" - value = ["radeon", "intel", "nouveau", "amdgpu"] + value = ["radeon", "intel", "nouveau", "amdgpu", "modesetting"] class VariableOsInstallX11VideoDrv(VideoVariable): @@ -310,6 +313,7 @@ class VariableOsInstallX11Composite(VideoVariable): def get(self): """On/off composite""" defaultCompositeOn = ("nvidia", "intel", "fglrx", "amdgpu", + "modesetting", "nouveau", "radeon", "default") composite = getValueFromCmdLine(CmdlineParams.Calculate, CmdlineParams.Composite)