You are not logged in.
Hi all,
Here is my problem:
I have installed Archlinux with real time kernel and installed nVidia DKMS drivers.
So far so good. Everything works fine.
Then I installed KODI.
When I start KODI from the desktop (display :0) it works fine. HW acceleration works fine.
When I start KODI using xinit on display :1 with the following command:
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :1 -config xorg.conf -nolisten tcp vt7
it starts but nVidia HW acceleration is not working (Xorg.1.log):
[ 9957.077] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 9957.077] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 9957.077] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 9957.077] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 9957.077] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
It seems that nVidia is loading GLX only on display :0 and not on display :1.
How can I have HW acceleration on display :1?
Here lsmod output:
[root@archaudio audiolinux]# lsmod | grep nvidia
nvidia_drm 49152 2
nvidia_modeset 806912 3 nvidia_drm
nvidia 12271616 41 nvidia_modeset
drm_kms_helper 159744 1 nvidia_drm
drm 364544 5 nvidia_drm,drm_kms_helper
[root@archaudio audiolinux]# uname -a
Linux archaudio 4.9.9-rt6-1-rt #1 SMP PREEMPT RT Mon Feb 13 20:30:03 CET 2017 x86_64 GNU/Linux
[root@archaudio audiolinux]# lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
[audiolinux@archaudio ~]$ glxinfo | grep direct
direct rendering: Yes
GL_AMD_multi_draw_indirect, GL_ARB_ES2_compatibility,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_NV_alpha_to_coverage_dither_control, GL_NV_bindless_multi_draw_indirect,
GL_NV_bindless_multi_draw_indirect_count, GL_NV_blend_equation_advanced,
GL_AMD_multi_draw_indirect, GL_ARB_ES2_compatibility,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_NV_alpha_to_coverage_dither_control, GL_NV_bindless_multi_draw_indirect,
GL_NV_bindless_multi_draw_indirect_count, GL_NV_blend_equation_advanced,
GL_EXT_multi_draw_indirect, GL_EXT_multisample_compatibility,
Thanks
Offline
I had a very simmilar problem with 3d acceleration. I've tried to run World of Warcraft on separeted xserver using xinit. So I have tried out few diffrent kernels sand drivers from repository wichout any effect. After that i installed binary dkms driver form nvidia.com and everything has started to work.
Last edited by donescopeta (2017-04-11 02:32:01)
Offline
-config xorg.conf
Ditch that and try again - chances are good that the config file breaks things, notably the modulepath and in turn the wrong glx module binary is attempted.
Also provide the entire log (as it will say which binary is loaded and what's maybe wrong with it)
Online