From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FSL_HELO_HOME autolearn=no autolearn_force=no version=3.4.1 Date: Tue, 6 Jun 2017 21:23:33 +0200 From: Konstantin Lepikhov To: devel@lists.altlinux.org Message-ID: <20170606192333.GA23050@lks.home> Mail-Followup-To: devel@lists.altlinux.org References: <20170531202338.GA3165@lks.home> <2321057.GFU4Eiinca@summoner.malta.altlinux.ru> <20170601124955.GA32746@lks.home> <7963929.ALNggYNRin@summoner.malta.altlinux.ru> <20170601131811.GA4428@lks.home> <20170601153038.GC29253@imap.altlinux.org> <20170601173518.GB4187@lks.home> <20170602084804.GA11511@lks.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170602084804.GA11511@lks.home> X-Operation-System: ALT Linux starter kit (Trientalis) 4.8.0-lks-wks-alt2 User-Agent: Mutt/1.6 (2015-08-30) Subject: Re: [devel] Q: libGL* transition to GLVND X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2017 19:23:40 -0000 Archived-At: List-Archive: List-Post: On 06/02/17, at 10:48:04 AM you wrote: > On 06/01/17, at 07:35:18 PM you wrote: > > > Hi Michael! > > > > On 06/01/17, at 06:30:38 PM you wrote: > > > > > On Thu, Jun 01, 2017 at 03:18:11PM +0200, Konstantin Lepikhov wrote: > > > > > > нужно удалить nvidia_glx. > > > > > Нам может и очень нужно, а пользователю совсем не упёрлось. > > > > Пользователю это не нужно вообще знать. Он поставит драйвер для intel, > > > > который удалит драйвер для nvidia, перезапустит xorg-server и все. > > > > > > То есть LiveCD с обоими собрать уже не получится? > > Получится, если выкинуть alt-патчи из xorg server и использовать > > альтернативный ModulePath с libglx.so от nvidia. > Пересобрал livecd - > http://www.unsafe.ru/lakostis/livecd/current/live-lakostis-20170602-x86_64.iso > > Там как раз патченный xorg и nvidia_glx. Хочешь, проверь на машине с > несколькими GPU. > Итак, свежая информация для диванных аналитиков, все работает из коробки без костылей и подпорок на ноуте DELL Latitude E5450 (2 GPU, встроенный intel и дискретная Nvidia): X.Org X Server 1.19.3 Release Date: 2017-03-15 [ 17.106] X Protocol Version 11, Revision 0 [ 17.106] Build Operating System: ALT Workstation K 8.1 (Centaurea Ruthenica) x86_64 [ 17.106] Current Operating System: Linux localhost.localdomain 4.8.0-lks-wks-alt2 #1 SMP PREEMPT Wed Feb 22 21:40:13 UTC 2017 x86_64 [ 17.106] Kernel command line: BOOT_IMAGE=dev000:\EFI\BOOT\vmlinuz fastboot live lowmem showopts automatic=method:cdrom lang= quiet splash stagename=live ro [ 17.106] Build Date: 01 June 2017 09:21:07PM [ 17.106] [ 17.106] Current version of pixman: 0.34.0 [ 17.106] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 17.106] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 17.106] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 6 14:54:51 2017 [ 17.114] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 17.114] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 17.119] (==) No Layout section. Using the first Screen section. [ 17.119] (==) No screen section available. Using defaults. [ 17.119] (**) |-->Screen "Default Screen Section" (0) [ 17.119] (**) | |-->Monitor "" [ 17.119] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 17.119] (==) Automatically adding devices [ 17.119] (==) Automatically enabling devices [ 17.119] (==) Automatically adding GPU devices [ 17.119] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 17.119] (==) FontPath set to: catalogue:/etc/X11/fontpath.d [ 17.119] (==) ModulePath set to "/usr/lib64/X11/modules" [ 17.119] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 17.119] (II) Loader magic: 0x81ad40 [ 17.119] (II) Module ABI versions: [ 17.119] X.Org ANSI C Emulation: 0.4 [ 17.119] X.Org Video Driver: 23.0 [ 17.119] X.Org XInput driver : 24.1 [ 17.119] X.Org Server Extension : 10.0 [ 17.119] (II) xfree86: Adding drm device (/dev/dri/card0) [ 18.188] (II) xfree86: Adding drm device (/dev/dri/card1) [ 18.191] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib64/X11/nvidia,/usr/lib64/X11/modules" [ 18.191] (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU [ 18.193] (--) PCI: (0:0:2:0) 8086:1616:1028:062b rev 9, Mem @ 0xf5000000/16777216, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072 [ 18.193] (--) PCI:*(0:3:0:0) 10de:1340:1028:062b rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288 [ 18.193] (II) LoadModule: "glx" [ 18.195] (II) Loading /usr/lib64/X11/nvidia/libglx.so [ 18.551] (II) Module glx: vendor="NVIDIA Corporation" [ 18.551] compiled for 4.0.2, module version = 1.0.0 [ 18.551] Module class: X.Org Server Extension [ 18.562] (II) NVIDIA GLX Module 381.22 Thu May 4 00:17:15 PDT 2017 [ 18.573] (II) Applying OutputClass "nvidia" to /dev/dri/card1 [ 18.573] loading driver: nvidia [ 18.573] (==) Matched nvidia as autoconfigured driver 0 [ 18.573] (==) Matched nouveau as autoconfigured driver 1 [ 18.573] (==) Matched nv as autoconfigured driver 2 [ 18.573] (==) Matched nouveau as autoconfigured driver 3 [ 18.573] (==) Matched nv as autoconfigured driver 4 [ 18.573] (==) Matched modesetting as autoconfigured driver 5 [ 18.573] (==) Matched fbdev as autoconfigured driver 6 [ 18.573] (==) Matched vesa as autoconfigured driver 7 [ 18.573] (==) Assigned the driver to the xf86ConfigLayout [ 18.573] (II) LoadModule: "nvidia" [ 18.575] (II) Loading /usr/lib64/X11/modules/drivers/nvidia_drv.so [ 18.651] (II) Module nvidia: vendor="NVIDIA Corporation" [ 18.651] compiled for 4.0.2, module version = 1.0.0 [ 18.651] Module class: X.Org Video Driver ... [ 18.686] (II) NVIDIA dlloader X Driver 381.22 Wed May 3 23:53:41 PDT 2017 ... [ 18.687] (II) modesetting: Driver for Modesetting Kernel Drivers: kms ... [ 18.755] (II) modeset(G0): using drv /dev/dri/card0 [ 18.755] (II) NVIDIA(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 18.755] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32 [ 18.755] (==) NVIDIA(0): RGB weight 888 [ 18.755] (==) NVIDIA(0): Default visual is TrueColor [ 18.755] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) [ 18.755] (II) Applying OutputClass "nvidia" options to /dev/dri/card1 [ 18.755] (**) NVIDIA(0): Option "ConnectToAcpid" "0" [ 18.755] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" [ 18.755] (**) NVIDIA(0): Enabling 2D acceleration [ 18.930] (II) NVIDIA(0): NVIDIA GPU GeForce 830M (GM108-A) at PCI:3:0:0 (GPU-0) ... [ 18.930] (==) modeset(G0): Default visual is TrueColor [ 18.930] (II) Loading sub module "glamoregl" [ 18.930] (II) LoadModule: "glamoregl" [ 18.930] (II) Loading /usr/lib64/X11/modules/libglamoregl.so [ 18.974] (II) Module glamoregl: vendor="X.Org Foundation" [ 18.974] compiled for 1.19.3, module version = 1.0.0 [ 18.974] ABI class: X.Org ANSI C Emulation, version 0.4 [ 18.974] (II) glamor: OpenGL accelerated X.org driver based. [ 19.283] (II) glamor: EGL version 1.4 (DRI2): [ 19.391] (II) modeset(G0): glamor initialized [ 19.392] (II) modeset(G0): Output eDP-1-1 has no monitor section [ 19.393] (II) modeset(G0): Output HDMI-1-1 has no monitor section [ 19.393] (II) modeset(G0): Output DP-1-1 has no monitor section [ 19.394] (II) modeset(G0): Output HDMI-1-2 has no monitor section [ 19.395] (II) modeset(G0): EDID for output eDP-1-1 [ 19.395] (II) modeset(G0): Year: 2014 Week: 0 ... [ 19.496] (==) modeset(G0): Backing store enabled [ 19.496] (==) modeset(G0): Silken mouse enabled [ 19.496] (II) modeset(G0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 19.496] (==) modeset(G0): DPMS enabled [ 19.497] (II) modeset(G0): [DRI2] Setup complete [ 19.497] (II) modeset(G0): [DRI2] DRI driver: i965 [ 19.497] (II) modeset(G0): [DRI2] VDPAU driver: va_gl [ 19.497] (II) NVIDIA: Using 12288.00 MB of virtual memory for indirect memory [ 19.497] (II) NVIDIA: access. ... [ 19.620] (II) Loading sub module "dri2" [ 19.620] (II) LoadModule: "dri2" [ 19.620] (II) Module "dri2" already built-in [ 19.620] (II) NVIDIA(0): [DRI2] Setup complete [ 19.620] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia [ 19.620] (--) RandR disabled [ 19.622] (II) SELinux: Disabled on system [ 19.623] (II) Initializing extension GLX [ 19.623] (II) Indirect GLX disabled. [ 19.910] (II) modeset(G0): Damage tracking initialized ... Как видно, ноут не прям уж новый, все работает с последним драйвером от nvidia и modesetting для intel (через glamor). -- WBR et al.