User Tools

Site Tools


nvidia

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nvidia [2006/11/08 02:31] – old revision restored 84.142.251.254nvidia [2020/10/07 13:41] (current) andi
Line 1: Line 1:
 ====== nVidia Drivers ====== ====== nVidia Drivers ======
  
-//WORK IN PROGRESS// 
  
-http://www.nvidia.com/linux 
  
-===== Permissions =====+glxinfo tool:
  
-Read permissions for all users are needed to access the HardwareAccelerator+  # yay -S mesa-demos
  
-  #> chmod 0666 /dev/nvidia* 
-  #> chown root /dev/nvidia* 
  
-===== Checking direct Rendering =====+$ glxinfo |grep render 
 +direct rendering: Yes 
 +    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,  
 +    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer,  
 +Extended renderer info (GLX_MESA_query_renderer): 
 +OpenGL renderer string: llvmpipe (LLVM 10.0.1, 256 bits) 
 +    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,  
 +    GL_NV_conditional_render, GL_NV_copy_image, GL_NV_depth_clamp,  
 +    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,  
 +    GL_NV_conditional_render, GL_NV_copy_image, GL_NV_depth_clamp,  
 +    GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control,  
 +    GL_MESA_shader_integer_functions, GL_NV_conditional_render,  
 +    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 
 +     
 +     
 +$ glxinfo |grep OpenGL 
 +OpenGL vendor string: Mesa/X.org 
 +OpenGL renderer string: llvmpipe (LLVM 10.0.1, 256 bits) 
 +OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.2.0 
 +OpenGL core profile shading language version string: 4.50 
 +OpenGL core profile context flags: (none) 
 +OpenGL core profile profile mask: core profile 
 +OpenGL core profile extensions: 
 +OpenGL version string: 3.1 Mesa 20.2.0 
 +OpenGL shading language version string: 1.40 
 +OpenGL context flags: (none) 
 +OpenGL extensions: 
 +OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.0 
 +OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 
 +OpenGL ES profile extensions:
  
-Direct Rendering (3D Hardware Acceleration) is usually provided by the DRI extension. Not with nVidia binary drivers! Don't load the DRI extension instead make sure the GL library files in ''/usr/lib/'' are the ones provided by nVidia. It should like this (6111 is the current nVidia Driver version). 
  
-  #> ls -l /usr/lib/libGL.so* +https://wiki.archlinux.org/index.php/NVIDIA#DRM_kernel_mode_setting
-  lrwxr-xr-x  1 root root      17 2004-10-10 21:53 libGL.so -> libGL.so.1.0.6111 +
-  lrwxr-xr-x  1 root root      17 2004-10-10 21:53 libGL.so.1 -> libGL.so.1.0.6111 +
-  -rwxr-xr-x  1 root root  423832 2004-10-09 13:42 libGL.so.1.0.6111 +
-  -rw-r--r--  1 root root 1946800 2004-02-15 22:37 libGL.so.1.4.500 +
-  #> ls -l /usr/lib/libGLcore.so* +
-  lrwxr-xr-x  1 root root      21 2004-10-09 13:42 libGLcore.so.1 -> libGLcore.so.1.0.6111 +
-  -rwxr-xr-x  1 root root 7132152 2004-10-09 13:42 libGLcore.so.1.0.6111 +
-  #> ls -l /usr/X11R6/lib/libGL.so* +
-  lrwxrwxrwx  1 root root     26 2005-03-24 21:19 libGL.so.1 -> /usr/lib/libGL.so.1.0.6111+
  
 +vim /etc/mkinitcpio.conf
 +mkinitcpio -P
 +vim /etc/default/grub
 +grub-mkconfig -o /boot/grub/grub.cfg
  
-If the links are not correct replace them: 
  
-  #> ln -sf /usr/lib/libGL.so.1.0.6111 /usr/lib/libGL.so +$ yay -S vdpauinfo
-  #> ln -sf /usr/lib/libGL.so.1.0.6111 /usr/lib/libGL.so.1 +
-  #> ln -sf /usr/lib/libGLcore.so.1.0.6111 /usr/lib/libGLcore.so.1 +
-  #> ln -sf /usr/lib/libGL.so.1.0.6111 /usr/X11R6/lib/libGL.so.1+
  
-You can assure hardware acceleration is enabled by running the following in X: 
  
-  $> glxinfo |grep "direct rendering" 
  
-If it prints ''Yes'' everything is fine.+http://stars.chromeexperiments.com/
  
  
-===== libgl1 dummy package =====+Chrome -> Settings -> Advanced -> Use HArdware Acceleration when available
  
-Most packages in Debian which use 3D acceleration have a dependency to the ''libgl1'' virtual package, to satisfy this dependency you should install a dummy package which provides ''libgl1''+chrome://gpu
- +
-Either download it here ({{libgl1-dummy_0.1_all.deb}}) or follow the instruction below to learn how to create one yourself. +
- +
-To create a dummy package you need the equivs tool: +
- +
-  #> apt-get install equivs +
- +
-Then a controlfile like this: +
- +
-<file> +
-Section: misc +
-Priority: optional +
-Standards-Version: 3.5.10 +
- +
-Package: libgl1-dummy +
-Version: 0.1 +
-Maintainer: Andreas Gohr <andi@splitbrain.org> +
-Provides: libgl1 +
-Architecture: all +
-Description: Dummy package for the libGL.so  +
- This virtual package provides libgl1 the libgl1 package. It's +
- useful when you use thrid party 3D drivers (like the ones from +
- nvidia) +
- . +
- See http://www.splitbrain.org/dokuwiki/nvidia for more info +
-</file> +
- +
-Finally run ''equivs'' on it: +
- +
-  $> equivs-build libgl1-dummy.control +
- +
-You now can install the dummy package (deinstall existing libgl1-providing packages first) +
- +
-  #> dpkg --force-depends -r mesag3 +
-  #> dpkg -i libgl1-dummy_0.1_all.deb+
  
nvidia.1162953111.txt.gz · Last modified: 2006/11/08 02:31 by 84.142.251.254