You are not logged in.
Operating System: Arch Linux
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D75
System Version: 1.0
Not listed is the 4070ti my computer is using. Nvidia X-server is installed, and is correctly reading the GPU, not sure what happened.
Last edited by s4dmoss (2024-10-13 13:57:03)
Offline
what does "nvidia x-server is installed" mean ? how did you install/setup the nvidia drivers ? did you follow the official guide ? we need actual info to help you
Offline
yes, i had followed the official guide. I had picked the option to install it using archinstall initially, but it didn't seem to work, so i went through the official guide. everything seems to be installed, but it just isn't using the gpu to output anything?
Offline
sorry should have been more specific, provide actual details of everything you did, packages installed, configs changed, etc
also if you generated a static xorg config (/etc/X11/xorg.conf) please delete it
Offline
sudo nano /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
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"
EndSection
sudo nano ~/.xinitrc
sudo nano ~/.xinitrc
/etc/pacman.d/hooks/nvidia.hook
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
# Uncomment the codetalled NVIDIA package
Target=nvidia
#Target=nvidia-open
#Target=nvidia-lts
# If running a different kernel, modify below to match
Target=linux
[Action]
Description=Updating NVIDIA module in initcpio
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux*) exit 0; esac; done; /usr/bin/mkinitcpio -P'
/sys/module/nvidia_drm/parameters/modeset
Y
These are the file's i've changed.
output of cd /etc/X11/xorg.conf
bash: cd: /etc/X11/xorg.conf: No such file or directory
as for packages, should i post pacman -Q?
Last edited by s4dmoss (2024-10-11 22:53:14)
Offline
delete
/etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
not that anything xorg related should matter cause ive just noticed your using wayland, also how do you know the nvidia card isnt being used ?
whats the output of:
nvidia-smi && glxinfo -B && vulkaninfo --summary
'mesa-utils' package is required for glxinfo and 'vulkan-tools' for vulkaninfo
Offline
Sat Oct 12 05:24:33 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.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 RTX 4070 Ti Off | 00000000:01:00.0 On | N/A |
| 0% 43C P5 21W / 285W | 131MiB / 12282MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 746 G /usr/lib/Xorg 20MiB |
| 0 N/A N/A 894 G /usr/bin/kwin_wayland 33MiB |
+-----------------------------------------------------------------------------------------+
name of display: :1
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 18.1.8, DRM 3.59, 6.11.3-arch1-1) (0x164e)
Version: 24.2.4
Accelerated: yes
Video memory: 512MB
Unified memory: no
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
Memory info (GL_ATI_meminfo):
VBO free memory - total: 17 MB, largest block: 17 MB
VBO free aux. memory - total: 13462 MB, largest block: 13462 MB
Texture free memory - total: 17 MB, largest block: 17 MB
Texture free aux. memory - total: 13462 MB, largest block: 13462 MB
Renderbuffer free memory - total: 17 MB, largest block: 17 MB
Renderbuffer free aux. memory - total: 13462 MB, largest block: 13462 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 512 MB
Total available memory: 16146 MB
Currently available dedicated video memory: 17 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 18.1.8, DRM 3.59, 6.11.3-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.4-arch1.1
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 24.2.4-arch1.1
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 24.2.4-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
==========
VULKANINFO
==========
Vulkan Instance Version: 1.3.295
Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display : extension revision 1
VK_EXT_acquire_xlib_display : extension revision 1
VK_EXT_debug_report : extension revision 10
VK_EXT_debug_utils : extension revision 2
VK_EXT_direct_mode_display : extension revision 1
VK_EXT_display_surface_counter : extension revision 1
VK_EXT_surface_maintenance1 : extension revision 1
VK_EXT_swapchain_colorspace : extension revision 4
VK_KHR_device_group_creation : extension revision 1
VK_KHR_display : extension revision 23
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities : extension revision 1
VK_KHR_wayland_surface : extension revision 6
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_LUNARG_direct_driver_loading : extension revision 1
Instance Layers: count = 5
--------------------------
VK_LAYER_NV_optimus NVIDIA Optimus layer 1.3.280 version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1
Devices:
========
GPU0:
apiVersion = 1.3.280
driverVersion = 560.35.3.0
vendorID = 0x10de
deviceID = 0x2782
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = NVIDIA GeForce RTX 4070 Ti
driverID = DRIVER_ID_NVIDIA_PROPRIETARY
driverName = NVIDIA
driverInfo = 560.35.03
conformanceVersion = 1.3.8.2
deviceUUID = c0a535e8-1a55-d8b4-7465-6aae01ca998e
driverUUID = c3ca0510-c7e6-5f1c-86a1-dc0ed4ea4e21
It's primarily just because games aren't performing as well as I want them to, one example is that Minecraft only shows the Radeon Graphics being used.
Also I deleted the file you asked.
Last edited by s4dmoss (2024-10-12 00:06:25)
Offline
indeed opengl seems to be using the amd gpu and vulkan and kwin/xorg are using the nvidia gpu.
ive got no more time today but im sure someone else will jump in and sort it for you
Offline
i have the same issue, it just dawned on me that opengl is running on my cpu's integrated graphics, but it could or perhaps even should be running on my GPU. I've heard talk about nvidia prime or optimus to manage that kind of stuff, is that correct?
Offline
What you see is (most likely) the default, normal and perfectly expected.
https://wiki.archlinux.org/title/PRIME# … figuration
tl;Dr
prime-run superturboturkeypuncher³ # the nvidia-prime package provide that script that just sets some environment variables
You might also have to explicitly select the vulkan provider for relevant clients, https://wiki.archlinux.org/title/Vulkan … initialize
Offline
yeah using prime-run seems to do it, running minecraft-launcher with it seems to force the gpu to be used.
can i set it to force nvidia usage a
Last edited by s4dmoss (2024-10-12 18:35:28)
Offline
Wrap it in a script, in doubt shadowing the binary (which might just be a script anyway) in /usr/local/bin
Offline
sorry i mean for ALL OpenGL apps?
Offline
if you dont want to use the integrated gpu you could just blacklist it and that would greatly simplify things
Offline
Or, if you can, disable it in the firmware (BIOS/UEFI) to save more battery (or don't burn down the planet - whatever is more important to you)
Offline
yeah disabling it in bios fixed pretty much everything.
thank you guys!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline