Difference between pages "Package:NVIDIA Linux Display Drivers" and "CPU FLAGS"

(Difference between pages)
 
(CPU_FLAGS_X86)
 
Line 1: Line 1:
{{Ebuild
+
This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the {{c|CPU_FLAGS_*}} variables.
|Summary=NVIDIA accelerated graphics driver
+
|CatPkg=x11-drivers/nvidia-drivers
+
|Maintainer=Ricardo Bastos
+
|Repository=Funtoo Overlay
+
|Overlay=Funtoo
+
}}
+
== Introduction ==
+
NVidia have proprietary graphics drivers for Linux under binary blob. The alternative open source driver is nouveau.
+
  
== Preparing to Install ==
+
==CPU_FLAGS_X86 ==
=== Hardware compatibility and driver versions ===
+
Currently there are five meta versions of nVidia Linux drivers each of which supports a specific group of GPUs. To check the type of driver that is related to your video card, check the link on this page of the official nVidia:
+
  
[http://www.nvidia.com/object/IO_32667.html www.nvidia.com/object/IO_32667.html]
+
{{TableStart}}
 
+
<tr><th>Flag</th><th>Introduced</th><th>By</th><th>Name</th><th></th></tr>
If you have identified as your driver version 337.25, for example, you need the mask(s) driver(s) latest(s) to which you want to install.
+
<tr><td>{{c|mmx}}</td><td>1997 (Pentium MMX)</td><td>Intel</td><td>MMX</td><td>See [[Wikipedia:MMX (instruction set)]] </td></tr>
 
+
<tr><td>{{c|mmxext}}</td><td>1999</td><td>AMD</td><td>AMD MMX Extensions</td><td>See [[Wikipedia:Extended MMX]]</td></tr>
<console>
+
<tr><td>{{c|sse}}</td><td>1999 (Pentium III)</td><td>AMD</td><td>Streaming SIMD Extensions (SSE)</td><td>See [[Wikipedia:Streaming SIMD Extensions]]</td></tr>
###i## echo “>x11-drivers/nvidia-drivers-340” >> /etc/portage/package.mask
+
<tr><td>{{c|sse2}}</td><td>2001 (Pentium 4)</td><td>Intel</td><td>Streaming SIMD Extensions 2 (SSE2)</td><td>See [[Wikipedia:SSE2]]</td></tr>
</console>
+
<tr><td>{{c|sse3}}</td><td>2004 (Pentium 4 Prescott)</td><td>Intel</td><td>Streaming SIMD Extensions 3 (SSE3/PNI)</td><td>See [[Wikipedia:SSE3]]</td></tr>
 
+
<tr><td>{{c|ssse3}}</td><td>2006 (Core 2 Woodcrest)</td><td>Intel</td><td>Supplemental Streaming SIMD Extensions 3 (SSSE3)</td><td>See [[Wikipedia:SSSE3]]</td></tr>
=== The required kernel options ===
+
<tr><td>{{c|sse4_1}}</td><td>2007 (Core Penryn)</td><td>Intel</td><td>Supplemental Streaming SIMD Extensions 4.1</td><td>See [[Wikipedia:SSSE4#SSE4.1]]</td></tr>
 
+
<tr><td>{{c|sse4a}}</td><td>late 2007 (Barcelona/Phenom)</td><td>AMD</td><td>Supplemental Streaming SIMD Extensions 4a</td><td>See [[Wikipedia:SSSE4#SSE4a]]</td></tr>
{{kernelop|desc=
+
<tr><td>{{c|sse4_2}}</td><td>late 2008 (Nehalem/Core i7)</td><td>Intel</td><td>Supplemental Streaming SIMD Extensions 4.2</td><td>See [[Wikipedia:SSSE4#SSE4.2]]</td></tr>
[*] Enable loadable module support
+
<tr><td>{{c|popcnt}}</td><td>2007</td><td>AMD</td><td>POPCNT and LZCNT</td><td>See [[Wikipedia:SSE4#POPCNT_and_LZCNT]]</td></tr>
}}
+
{{TableEnd}}
{{kernelop|desc=
+
[*] MTRR (Memory Type Range Register) support
+
}}
+
To we made a successful compilation of the legacy nVidia driver, we set before the removal of the native framebuffer drivers into the kernel in order to avoid conflicts for x86 and AMD64 processors, in this case.
+
{{kernelop|desc=
+
Device Drivers >
+
  Graphics support >  
+
    <*> Support for frame buffer devices >
+
      <> nVidia Framebuffer Support
+
      <> nVidia Riva support
+
}}
+
 
+
{{fancytip| An alternative is to [[uvesafb|uvesafb]] framebuffer, which can be installed in parallel with nvidia-drivers }}
+
 
+
== Installation ==
+
 
+
Upgrade and/or configure VIDEO_CARDS="nvidia" variable in ##!bl/etc/make.conf##. This will serve to while you are installing the Server X, the correct version of nvidia-drivers to be provided for you.
+
 
+
{{fancynote| Installing to the driver with the option in '''gtk''' use flags will make it installed the media-video/nvidia-settings which is a graphical tool for monitoring and various settings for your video card}}
+
 
+
=== Emerging the package ===
+
<console>
+
###i## emerge x11-drivers/nvidia-drives
+
</console>
+
 
+
When the installation is complete run '''modprobe''' nvidia module to read kernel memory.
+
 
+
<console>
+
###i## lsmod | grep nvidia
+
</console>
+
If an update before remove the old module
+
<console>
+
###i## rmmod nvidia
+
###i## modprobe nvidia
+
</console>
+
 
+
=== Testing your Video Card ===
+
To test your video card run the glxinfo program, which is part of the mesa-progs package. This will check if direct rendering is enabled.
+
<console>
+
$ ##i##glxinfo | grep direct
+
$ ##i##  direct rendering: yes
+
</console>
+
 
+
== Configuring ==
+
=== Loading at boot ===
+
To automate the loading of the module when you boot your system, add '''nvidia''' in /etc/conf.d/modules.
+
 
+
=== Integration with X Server ===
+
When your X server is installed, the existing logo /etc/X11/xorg.conf you can run the nvidia-xconfig which will set in xorg.conf to identify the video card among other possible configurations.
+
{{file|name=/etc/X11/xorg.conf|body=
+
Section "Device"
+
    Identifier    "nvidia"
+
    Driver        "nvidia"
+
    VendorName    "NVIDIA Corporation"
+
    BoardName      "[Nome] [Modelo]"
+
EndSection
+
}}
+
 
+
=== Enabling support nVidia ===
+
Include the use flag in '''nvidia''' /etc/portage/make.conf so due to applications that make use of this advantage may withdraw.
+
 
+
=== Enabling OpenGL/OpenCL ===
+
As a requirement, make sure that the Xorg server is not in use during this change. To enable OpenGL and OpenCL.
+
<console>
+
###i## eselect opengl set nvidia
+
###i## eselect opencl set nvidia
+
</console>
+
 
+
[[Category:Video Cards]]
+
[[Category:First Steps]]
+
{{EbuildFooter}}
+

Revision as of 19:04, March 26, 2015

This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the CPU_FLAGS_* variables.

CPU_FLAGS_X86

FlagIntroducedByName
mmx1997 (Pentium MMX)IntelMMXSee Wikipedia:MMX (instruction set)
mmxext1999AMDAMD MMX ExtensionsSee Wikipedia:Extended MMX
sse1999 (Pentium III)AMDStreaming SIMD Extensions (SSE)See Wikipedia:Streaming SIMD Extensions
sse22001 (Pentium 4)IntelStreaming SIMD Extensions 2 (SSE2)See Wikipedia:SSE2
sse32004 (Pentium 4 Prescott)IntelStreaming SIMD Extensions 3 (SSE3/PNI)See Wikipedia:SSE3
ssse32006 (Core 2 Woodcrest)IntelSupplemental Streaming SIMD Extensions 3 (SSSE3)See Wikipedia:SSSE3
sse4_12007 (Core Penryn)IntelSupplemental Streaming SIMD Extensions 4.1See Wikipedia:SSSE4#SSE4.1
sse4alate 2007 (Barcelona/Phenom)AMDSupplemental Streaming SIMD Extensions 4aSee Wikipedia:SSSE4#SSE4a
sse4_2late 2008 (Nehalem/Core i7)IntelSupplemental Streaming SIMD Extensions 4.2See Wikipedia:SSSE4#SSE4.2
popcnt2007AMDPOPCNT and LZCNTSee Wikipedia:SSE4#POPCNT_and_LZCNT