From: Konstantin Lepikhov <lakostis@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Q: libGL* transition to GLVND
Date: Fri, 2 Jun 2017 00:25:19 +0200
Message-ID: <20170601222519.GA9702@lks.home> (raw)
In-Reply-To: <20170601182359.GA13028@lks.home>
<skip>
> > Section "OutputClass"
> > Identifier "nvidia"
> > MatchDriver "nvidia-drm"
> > Driver "nvidia"
> > Option "AllowEmptyInitialConfiguration"
> > Option "PrimaryGPU" "yes"
> > ModulePath "/usr/lib64/X11/nvidia"
> > EndSection
> Чтобы это работало, еще нужно обновить xorg-server. Попробую его тоже
> собрать.
Да, работает:
$ cat /etc/X11/xorg.conf.d/10-nvidia.conf
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
Option "ConnectToAcpid" "0"
ModulePath "/usr/lib64/X11/nvidia"
EndSection
И выдержка из /var/log/Xorg.0.log
...
[ 1199.204] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1199.204] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1199.204] (==) No Layout section. Using the first Screen section.
[ 1199.204] (==) No screen section available. Using defaults.
[ 1199.204] (**) |-->Screen "Default Screen Section" (0)
[ 1199.204] (**) | |-->Monitor "<default monitor>"
[ 1199.204] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1199.204] (==) Automatically adding devices
[ 1199.204] (==) Automatically enabling devices
[ 1199.204] (==) Automatically adding GPU devices
[ 1199.204] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1199.204] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d
[ 1199.204] (==) ModulePath set to "/usr/lib64/X11/modules"
...
[ 1199.205] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1199.205] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib64/X11/nvidia,/usr/lib64/X11/modules"
[ 1199.205] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[ 1199.206] (--) PCI:*(0:1:0:0) 10de:1c03:0000:0000 rev 161, Mem @ 0xfd000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 1199.206] (II) LoadModule: "glx"
[ 1199.252] (II) Loading /usr/lib64/X11/nvidia/libglx.so
[ 1199.602] (II) Module glx: vendor="NVIDIA Corporation"
[ 1199.602] compiled for 4.0.2, module version = 1.0.0
[ 1199.602] Module class: X.Org Server Extension
[ 1199.616] (II) NVIDIA GLX Module 381.22 Thu May 4 00:17:15 PDT 2017
[ 1199.636] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 1199.636] loading driver: nvidia
[ 1199.636] (==) Matched nvidia as autoconfigured driver 0
[ 1199.636] (==) Matched nouveau as autoconfigured driver 1
[ 1199.636] (==) Matched nv as autoconfigured driver 2
[ 1199.636] (==) Matched nouveau as autoconfigured driver 3
[ 1199.636] (==) Matched nv as autoconfigured driver 4
[ 1199.636] (==) Matched modesetting as autoconfigured driver 5
[ 1199.636] (==) Matched fbdev as autoconfigured driver 6
[ 1199.637] (==) Matched vesa as autoconfigured driver 7
[ 1199.637] (==) Assigned the driver to the xf86ConfigLayout
[ 1199.637] (II) LoadModule: "nvidia"
[ 1199.637] (II) Loading /usr/lib64/X11/modules/drivers/nvidia_drv.so
[ 1199.700] (II) Module nvidia: vendor="NVIDIA Corporation"
...
Патченный xorg лежит тут - http://git.altlinux.org/people/lakostis/packages/?p=xorg-server.git;a=shortlog;h=refs/heads/server-1.19/glvnd
Также могу пересобрать livecd чтобы проверить работу с несколькими GPU.
--
WBR et al.
next prev parent reply other threads:[~2017-06-01 22:25 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 [this message]
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
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=20170601222519.GA9702@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