ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Konstantin Lepikhov <lakostis@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: libGL* transition to GLVND
Date: Tue, 6 Jun 2017 21:23:33 +0200
Message-ID: <20170606192333.GA23050@lks.home> (raw)
In-Reply-To: <20170602084804.GA11511@lks.home>

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 "<default 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.


  reply	other threads:[~2017-06-06 19:23 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31 20:23 Konstantin Lepikhov
2017-06-01  8:29 ` Sergey V Turchin
2017-06-01 11:48   ` Konstantin Lepikhov
2017-06-01 12:30     ` Sergey V Turchin
2017-06-01 12:10 ` Dmitry V. Levin
2017-06-01 12:24   ` Konstantin Lepikhov
2017-06-01 12:34     ` Sergey V Turchin
2017-06-01 12:38       ` Dmitry V. Levin
2017-06-01 12:46         ` Sergey V Turchin
2017-06-01 12:51           ` Sergey V Turchin
2017-06-01 12:49       ` Konstantin Lepikhov
2017-06-01 12:53         ` Sergey V Turchin
2017-06-01 13:18           ` Konstantin Lepikhov
2017-06-01 15:30             ` Michael Shigorin
2017-06-01 17:34                 ` Konstantin Lepikhov
2017-06-01 18:23                   ` Konstantin Lepikhov
2017-06-01 22:25                     ` Konstantin Lepikhov
2017-06-01 23:04                         ` Konstantin Lepikhov
2017-06-01 23:40                             ` Konstantin Lepikhov
2017-06-02  5:41                                 ` Konstantin Lepikhov
2017-06-02  8:01                                   ` Sergey Bolshakov
2017-06-02  8:38                                     ` Konstantin Lepikhov
2017-06-02 10:10                                       ` Igor Zubkov
2017-06-02 11:17                                         ` Sergey V Turchin
2017-06-03  1:33                                           ` Yury A. Romanov
2017-06-02 19:36                                   ` Michael Shigorin
2017-06-05 11:41                                   ` Sergey Afonin
2017-06-02 11:31                             ` Dmitry V. Levin
2017-06-02 11:45                               ` Sergey V Turchin
2017-06-02 12:02                               ` Konstantin Lepikhov
2017-06-02 12:22                                 ` Sergey V Turchin
2017-06-02 12:40                                 ` Dmitry V. Levin
2017-06-02 13:17                                   ` Konstantin Lepikhov
2017-06-02 13:22                                     ` Sergey V Turchin
2017-06-01 17:35               ` Konstantin Lepikhov
2017-06-02  8:48                 ` Konstantin Lepikhov
2017-06-06 19:23                   ` Konstantin Lepikhov [this message]
2017-06-07  7:33                     ` Sergey V Turchin
2017-06-07  8:55                       ` Konstantin Lepikhov
2017-06-07 11:14                           ` Sergey V Turchin
2017-06-22 10:19                           ` Konstantin Lepikhov
2017-06-02  7:55             ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170606192333.GA23050@lks.home \
    --to=lakostis@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git