Xorg
.dll을 사용하는 대신 Arch Linux에서 사용하려고 합니다 .Wayland
내 노트북에는 그래픽 카드가 2개 있다. Intel 및 Nvidia 그래픽 카드.
내 로그 파일의 출력은 다음과 같습니다.
[ 53.401] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 53.403]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[ 53.403] Build Operating System: Linux Arch Linux
[ 53.403] Current Operating System: Linux thinkpad 4.17.8-1-ARCH #1 SMP PREEMPT Wed Jul 18 09:56:24 UTC 2018 x86_64
[ 53.403] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4c4cf377-77af-4cd1-bd40-6d94fae4e2f1 rw quiet resume=UUID=4a1be855-ae3e-4add-b3e0-3b3abb817115 nvidia-drm.modeset=1
[ 53.403] Build Date: 18 June 2018 03:12:37PM
[ 53.403]
[ 53.403] Current version of pixman: 0.34.0
[ 53.404] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 53.404] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 53.404] (==) Log file: "/home/henzler/.local/share/xorg/Xorg.1.log", Time: Fri Jul 20 17:30:51 2018
[ 53.412] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 53.412] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 53.414] (==) No Layout section. Using the first Screen section.
[ 53.414] (==) No screen section available. Using defaults.
[ 53.414] (**) |-->Screen "Default Screen Section" (0)
[ 53.414] (**) | |-->Monitor "<default monitor>"
[ 53.415] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 53.415] (**) | |-->Device "Intel Graphics"
[ 53.415] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 53.415] (**) Option "DontZap" "false"
[ 53.415] (==) Automatically adding devices
[ 53.415] (==) Automatically enabling devices
[ 53.415] (==) Automatically adding GPU devices
[ 53.415] (==) Automatically binding GPU devices
[ 53.415] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 53.415] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 53.415] Entry deleted from font path.
[ 53.415] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 53.415] Entry deleted from font path.
[ 53.415] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 53.415] (**) ModulePath set to "/usr/lib/xorg/modules,/usr/lib/nvidia/xorg"
[ 53.415] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 53.415] (II) Module ABI versions:
[ 53.415] X.Org ANSI C Emulation: 0.4
[ 53.415] X.Org Video Driver: 24.0
[ 53.415] X.Org XInput driver : 24.1
[ 53.415] X.Org Server Extension : 10.0
[ 53.416] (++) using VT number 3
[ 53.420] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
[ 53.422] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 53.424] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 53.424] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 53.425] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 11 paused 0
[ 53.427] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules,/usr/lib/nvidia/xorg"
[ 53.427] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[ 53.429] (--) PCI: (0@0:2:0) 8086:191b:17aa:5050 rev 6, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[ 53.429] (--) PCI:*(2@0:0:0) 10de:134d:17aa:5050 rev 162, Mem @ 0xf1000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000d000/128
[ 53.429] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 53.430] (II) LoadModule: "glx"
[ 53.430] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 53.495] (II) Module glx: vendor="NVIDIA Corporation"
[ 53.495] compiled for 4.0.2, module version = 1.0.0
[ 53.495] Module class: X.Org Server Extension
[ 53.496] (II) NVIDIA GLX Module 396.24 Wed Apr 25 23:17:01 PDT 2018
[ 53.497] (II) LoadModule: "intel"
[ 53.498] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 53.502] (II) Module intel: vendor="X.Org Foundation"
[ 53.502] compiled for 1.20.0, module version = 2.99.917
[ 53.502] Module class: X.Org Video Driver
[ 53.502] ABI class: X.Org Video Driver, version 24.0
[ 53.502] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 53.503] (II) intel: Driver for Intel(R) HD Graphics
[ 53.503] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 53.503] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 53.503] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 53.505] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20180308
[ 53.505] (II) intel(G0): SNA compiled from 2.99.917-831-ge7bfc906
[ 53.521] (EE) No devices detected.
[ 53.521] (EE)
Fatal server error:
[ 53.521] (EE) no screens found(EE)
[ 53.521] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 53.521] (EE) Please also check the log file at "/home/henzler/.local/share/xorg/Xorg.1.log" for additional information.
[ 53.521] (EE)
[ 53.539] (EE) Server terminated with error (1). Closing log file.
비슷한 질문이 많이 있다는 것을 알고 있지만 지금까지 어떤 결과도 나에게 도움이 되지 않았습니다.
나는 다음을 수행했습니다.
- 설치됨
xf86-video-intel
- 삭제됨
xorg.conf
- CUDA + Nvidia 드라이버 설치
답변1
당신의 목표는 무엇입니까? 저전력, 저성능 Intel 그래픽 카드를 원하시나요, 아니면 NVIDIA 그래픽 카드를 원하시나요? CUDA를 설치했으므로 어쨌든 NVIDIA GPU를 사용할 계획인 것 같으므로 xf86-video-intel을 제거하는 것이 좋습니다.
그런 다음 위키를 따르십시오.https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only
답변2
-
[ 53.503] Xorg broken xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
이 오류에서 "Xorg bad xf86EnableIOPorts: failed to set IOPL for I/O(Operation not allowed)"라고 Google을 검색하는 경우 Unix Stack Exchange에서 또 다른 질문을 발견할 수도 있습니다.xf86EnableIOPorts: I/O에 대한 IOPL을 설정할 수 없습니다(작업이 허용되지 않음)-확실한 답변은 없지만. 거기에 대한 답변은 Linux Mint에서만 작동하는 솔루션을 지정합니다.
루트 사용자로 실행하지 않으면. 그렇다면 시도해 보면 문제가 해결될 수도 있습니다.
-
[ 53.415] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 53.521] (EE) No devices detected.
두 로그 항목은 서로 관련되어 있습니다. 이는 사용 가능한 장치가 없다는 오류가 발생하는 경우
udev
해당 장치를 재구성하거나 비활성화 해 볼 수 있음을 의미합니다AutoAddDevices
.