[РЕШЕНО]Ошибки DRI_PRIME

vs220
MrBlack
карта 1 - нвидиа
А вы ей в конфиге модесеттинг прописали вместо нвидии
Переустановил драйвер. Не помогло, та же самая ошибка
MrBlack
та же самая ошибка
хорг конф покажите,
убрали лишнее как по вики ?
vs220
MrBlack
та же самая ошибка
хорг конф покажите,
убрали лишнее как по вики ?
А что лишнее то собственно? Вроде как в вики экран задан, на нём стоит встройка, задана вторая гпу, экрана для второй нет, как и в вики

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Module"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card1"
        Driver      "nvidia"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "kmsdev"                    # <str>
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "PageFlip"                  # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "DoubleShadow"              # [<bool>]
        #Option     "Atomic"                    # [<bool>]
        Identifier  "Card0"
        Driver      "modesetting"
        BusID       "PCI:4:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
MrBlack
как в вики
в вики
PRIME render offload
NVIDIA driver since version 435.17 supports this method.

It needs a specific set of patches to the xorg-server that are present since version 1.20.6-1 on Arch. Also, starting from Xorg 1.20.7, the Xorg configuration is not needed anymore, since the needed options are already present on the driver directly.

As per the official documentation, it works with the modesetting driver over Intel graphics card and the AMDGPU driver over AMD graphics card (since version 450.57); success has been had with the Intel driver instead regardless. Refer to Intel graphics#Installation for more information.

The nvidia-prime package provides a script that can be used to run programs on the NVIDIA card.

If, for some reason automatic configuration does not work, it might be necessary to explicitly configure X with a Xorg#Using xorg.conf file:

/etc/X11/xorg.conf
Section "Device"
Identifier "iGPU"
Driver "modesetting"
EndSection

Section "Screen"
Identifier "iGPU"
Device "iGPU"
EndSection

Section "Device"
Identifier "dGPU"
Driver "nvidia"
EndSection
In some cas
vs220
MrBlack
как в вики
в вики
PRIME render offload
NVIDIA driver since version 435.17 supports this method.

It needs a specific set of patches to the xorg-server that are present since version 1.20.6-1 on Arch. Also, starting from Xorg 1.20.7, the Xorg configuration is not needed anymore, since the needed options are already present on the driver directly.

As per the official documentation, it works with the modesetting driver over Intel graphics card and the AMDGPU driver over AMD graphics card (since version 450.57); success has been had with the Intel driver instead regardless. Refer to Intel graphics#Installation for more information.

The nvidia-prime package provides a script that can be used to run programs on the NVIDIA card.

If, for some reason automatic configuration does not work, it might be necessary to explicitly configure X with a Xorg#Using xorg.conf file:

/etc/X11/xorg.conf
Section "Device"
Identifier "iGPU"
Driver "modesetting"
EndSection

Section "Screen"
Identifier "iGPU"
Device "iGPU"
EndSection

Section "Device"
Identifier "dGPU"
Driver "nvidia"
EndSection
In some cas
А. это использовать вместо конфига? Я начинаю сильно тупить
vs220
MrBlack
как в вики
в вики
PRIME render offload
NVIDIA driver since version 435.17 supports this method.

It needs a specific set of patches to the xorg-server that are present since version 1.20.6-1 on Arch. Also, starting from Xorg 1.20.7, the Xorg configuration is not needed anymore, since the needed options are already present on the driver directly.

As per the official documentation, it works with the modesetting driver over Intel graphics card and the AMDGPU driver over AMD graphics card (since version 450.57); success has been had with the Intel driver instead regardless. Refer to Intel graphics#Installation for more information.

The nvidia-prime package provides a script that can be used to run programs on the NVIDIA card.

If, for some reason automatic configuration does not work, it might be necessary to explicitly configure X with a Xorg#Using xorg.conf file:

/etc/X11/xorg.conf
Section "Device"
Identifier "iGPU"
Driver "modesetting"
EndSection

Section "Screen"
Identifier "iGPU"
Device "iGPU"
EndSection

Section "Device"
Identifier "dGPU"
Driver "nvidia"
EndSection
In some cas
То же самое. В логе иксорга не мелькает amdgpu, хотя он установлен
[alexey@archlinux ~]$ pacman -Q xf86-video-amdgpu
xf86-video-amdgpu 19.1.0-2
MrBlack
не мелькает amdgpu
У вас дискретка нвидия причем здесь амд?
vs220
MrBlack
не мелькает amdgpu
У вас дискретка нвидия причем здесь амд?
Так прайм же работает так же с драйвером amdgpu, думал что это может как то повлиять
Nouveau не грузится, при том прайм его ищет, все модули nvidia загружены
[alexey@archlinux ~]$ lsmod | grep nvidia
nvidia_drm             57344  3
drm_kms_helper        253952  2 amdgpu,nvidia_drm
drm                   581632  18 gpu_sched,drm_kms_helper,amdgpu,nvidia_drm,ttm
nvidia_modeset       1187840  2 nvidia_drm
nvidia_uvm           1155072  0
nvidia              19726336  74 nvidia_uvm,nvidia_modeset
[alexey@archlinux ~]$ lsmod | grep nouveau
[alexey@archlinux ~]$
[alexey@archlinux ~]$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL renderer string: AMD RAVEN (DRM 3.37.0, 5.7.12-arch1-1, LLVM 10.0.1)
 
Зарегистрироваться или войдите чтобы оставить сообщение.