You are not logged in.
Hello!
I'm like 1 week old with arch, and I probably messed up my graphics. It still works, but its just weird. For example it won't use my NVIDIA card.
Xorg.8.log:
[ 5141.543]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 5141.543] Current Operating System: Linux archer-linux 5.16.2-arch1-1 #1 SMP PREEMPT Thu, 20 Jan 2022 16:18:29 +0000 x86_64
[ 5141.543] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=5f5745e5-b93c-4138-bfa7-d9d72ac253bc rw loglevel=3 quiet
[ 5141.543]
[ 5141.543] Current version of pixman: 0.40.0
[ 5141.543] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5141.543] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5141.543] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Jan 27 13:18:40 2022
[ 5141.544] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 5141.544] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 5141.544] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5141.544] (==) ServerLayout "Layout0"
[ 5141.544] (==) No screen section available. Using defaults.
[ 5141.544] (**) |-->Screen "Default Screen Section" (0)
[ 5141.544] (**) | |-->Monitor "<default monitor>"
[ 5141.544] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 5141.544] (**) | |-->Device "DiscreteNvidia"
[ 5141.544] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5141.544] (**) Option "AutoAddDevices" "false"
[ 5141.544] (**) Option "AutoAddGPU" "false"
[ 5141.544] (**) Not automatically adding devices
[ 5141.544] (==) Automatically enabling devices
[ 5141.544] (**) Not automatically adding GPU devices
[ 5141.544] (==) Automatically binding GPU devices
[ 5141.544] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 5141.544] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 5141.544] Entry deleted from font path.
[ 5141.544] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 5141.544] Entry deleted from font path.
[ 5141.544] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 5141.544] Entry deleted from font path.
[ 5141.544] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 5141.544] Entry deleted from font path.
[ 5141.544] (==) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 5141.544] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 5141.544] (==) |-->Input Device "<default pointer>"
[ 5141.544] (==) |-->Input Device "<default keyboard>"
[ 5141.544] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 5141.544] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 5141.544] (II) Module ABI versions:
[ 5141.544] X.Org ANSI C Emulation: 0.4
[ 5141.544] X.Org Video Driver: 25.2
[ 5141.544] X.Org XInput driver : 24.4
[ 5141.544] X.Org Server Extension : 10.0
[ 5141.545] (--) using VT number 2
[ 5141.545] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 5141.545] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5141.545] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 5141.546] (--) PCI: (44@0:0:0) 10de:1d16:1028:0a02 rev 161, Mem @ 0x7f000000/16777216, 0x6020000000/268435456, 0x6030000000/33554432, I/O @ 0x00003000/128
[ 5141.547] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 5141.547] (II) LoadModule: "glx"
[ 5141.547] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5141.547] (II) Module glx: vendor="X.Org Foundation"
[ 5141.547] compiled for 1.21.1.3, module version = 1.0.0
[ 5141.547] ABI class: X.Org Server Extension, version 10.0
[ 5141.548] (II) LoadModule: "nvidia"
[ 5141.548] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 5141.548] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 5141.548] compiled for 1.6.99.901, module version = 1.0.0
[ 5141.548] Module class: X.Org Video Driver
[ 5141.548] (II) LoadModule: "mouse"
[ 5141.548] (WW) Warning, couldn't open module mouse
[ 5141.548] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 5141.548] (II) LoadModule: "kbd"
[ 5141.548] (WW) Warning, couldn't open module kbd
[ 5141.548] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 5141.548] (II) NVIDIA dlloader X Driver 495.46 Wed Oct 27 16:28:42 UTC 2021
[ 5141.548] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 5141.548] (EE) No devices detected.
[ 5141.548] (EE)
Fatal server error:
[ 5141.548] (EE) no screens found(EE)
[ 5141.548] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5141.548] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 5141.548] (EE)
[ 5141.548] (EE) Server terminated with error (1). Closing log file.nvidia-smi output:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:2C:00.0 Off | N/A |
| N/A 37C P8 N/A / N/A | 0MiB / 2048MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+Xorg.conf:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:44:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "on"
SubSection "Display"
Depth 24
EndSubSection
EndSectionIf you need anything else, let me know!
Thanks you!
Last edited by Frigyes06 (2022-02-04 14:48:23)
Offline
Remove the xorg.conf. If this is an Optimus system with an actual bumblebee setup then the nvidia will only be used by explicit optirun invocations.
In any case try to think whether you actually really want to use bumblebee by reading about your other available options in https://wiki.archlinux.org/title/NVIDIA_Optimus
Offline
Remove the xorg.conf. If this is an Optimus system with an actual bumblebee setup then the nvidia will only be used by explicit optirun invocations.
In any case try to think whether you actually really want to use bumblebee by reading about your other available options in https://wiki.archlinux.org/title/NVIDIA_Optimus
I uninstalled bumblebee. Why should I remove xorg.conf? does it not need it?
I see gnome-shell running on the card now.
Also, how can I see if my vulkan drivers are ok or not? War thunder doesn't want to launch (8111000B), and I heard I need to look at my vulkan config.
Thanks!
Offline
No a xorg.conf is not needed and if you generate it for no other reason than to have generated it will often be counter productive
You need lib32-nvidia-utils for most steam relevant vulkan supports, otherwise install he nvidia-prime,mesa-utils,vulkan-tools package and post
glxinfo -B
prime-run glxinfo -B
vulkaninfo --summary
prime-run vulkaninfo --summarynote that a 2GB card is absolute entry level and will very likely not be sufficient to do any real gaming.
Offline
No a xorg.conf is not needed and if you generate it for no other reason than to have generated it will often be counter productive
You need lib32-nvidia-utils for most steam relevant vulkan supports, otherwise install he nvidia-prime,mesa-utils,vulkan-tools package and post
glxinfo -B prime-run glxinfo -B vulkaninfo --summary prime-run vulkaninfo --summarynote that a 2GB card is absolute entry level and will very likely not be sufficient to do any real gaming.
Okay. I have a file in /etc/X11/xorg.conf.d/ called 10-nvidia-drm-outputclass.conf
content:
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSectionDo I need that, or can I remove it?
glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) Xe Graphics (TGL GT2) (0x9a49)
Version: 21.3.5
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Xe Graphics (TGL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20prime-run glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 2048 MB
Total available memory: 2048 MB
Currently available dedicated video memory: 1999 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce MX330/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 510.47.03
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 510.47.03
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 510.47.03
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20vulkaninfo --summary
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/amdvlk64.so says it supports interface version 6 but still exports core entrypoints (Policy #LDP_DRIVER_6)
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.203/vulkaninfo/vulkaninfo.h:672:vkCreateInstance failed with ERROR_OUT_OF_HOST_MEMORYprime-run vulkaninfo --summary
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/amdvlk64.so says it supports interface version 6 but still exports core entrypoints (Policy #LDP_DRIVER_6)
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.203/vulkaninfo/vulkaninfo.h:672:vkCreateInstance failed with ERROR_OUT_OF_HOST_MEMORYOffline
Okay, I fixed it
I uninstalled amdvlk and lib32-amdvlk
I installed vulkan-icd-loader and lib32-vulkan-icd-loader
I restarted, and it worked.
Thanks for the help though!
Offline
You don't need that file either, but it doesn't hurt in the form as present, and yes this happens if you install steam blindly, read your pacman output, it will have given you a selection of vulkan provider that defaults to amdvlk for alphabetic reasons.
Please mark as [SOLVED] by editing the title in your first post.
Offline