[CentOS] NOUVEAU driver video acceleration

Mon Jan 16 16:17:06 UTC 2012
Ned Slider <ned at unixmail.co.uk>

On 16/01/12 15:58, Mark LaPierre wrote:
> On 01/16/2012 02:41 AM, Akemi Yagi wrote:
>> On Sun, Jan 15, 2012 at 9:06 PM, Mark LaPierre<marklapier at aol.com>   wrote:
>>
>>> I did this:
>>>
>>> [root at mushroom yum.repos.d]# rpm --import
>>> http://elrepo.org/RPM-GPG-KEY-elrepo.org
>>> [root at mushroom yum.repos.d]# rpm -Uvh
>>> http://elrepo.org/elrepo-release-5-3.el5.elrepo.noarch.rpm
>>> Retrieving http://elrepo.org/elrepo-release-5-3.el5.elrepo.noarch.rpm
>>
>> You are running CentOS 6. You need to install elrepo-release for *el6* :
>>
>> rpm -Uvh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
>>
>> Please uninstall the incorrect one you installed and get the right one for you.
>>
>> Akemi
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> Duh!  I hate it when that happens.
>
> I did this:
>
> [root at mushroom yum.repos.d]# /etc/yum.repos.d
> [root at mushroom yum.repos.d]# rm -f elrepo.repo
> [root at mushroom yum.repos.d]# yum clean all
> [root at mushroom yum.repos.d]# rpm -Uvh
> http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
> [root at mushroom yum.repos.d]# yum --disablerepo=\* --enablerepo=elrepo\*
> install kmod-nvidia*
> [root at mushroom yum.repos.d]# yum --disablerepo=\* --enablerepo=elrepo
> install kmod-nvidia*
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Loading mirror speeds from cached hostfile
>    * elrepo: mirror.symnds.com
> Setting up Install Process
> Resolving Dependencies
> -->  Running transaction check
> --->  Package kmod-nvidia.i686 0:290.10-1.el6.elrepo will be installed
> -->  Processing Dependency: nvidia-x11-drv = 290.10-1.el6.elrepo for
> package: kmod-nvidia-290.10-1.el6.elrepo.i686
> --->  Package kmod-nvidia-173xx.i686 0:173.14.31-1.el6.elrepo will be
> installed
> -->  Processing Dependency: nvidia-x11-drv-173xx = 173.14.31-1.el6.elrepo
> for package: kmod-nvidia-173xx-173.14.31-1.el6.elrepo.i686
> -->  Running transaction check
> --->  Package nvidia-x11-drv.i686 0:290.10-1.el6.elrepo will be installed
> --->  Package nvidia-x11-drv-173xx.i686 0:173.14.31-1.el6.elrepo will be
> installed
> -->  Processing Conflict: nvidia-x11-drv-290.10-1.el6.elrepo.i686
> conflicts nvidia-x11-drv-173xx
> -->  Processing Conflict:
> nvidia-x11-drv-173xx-173.14.31-1.el6.elrepo.i686 conflicts nvidia-x11-drv
> -->  Finished Dependency Resolution
> Error: nvidia-x11-drv conflicts with nvidia-x11-drv-173xx
> Error: nvidia-x11-drv-173xx conflicts with nvidia-x11-drv
>    You could try using --skip-broken to work around the problem
>    You could try running: rpm -Va --nofiles --nodigest
> [root at mushroom yum.repos.d]#
>
> It looks like there is a dependency conflict.  It want's to install both
> nvidia-x11-drv.i686 0:290.10-1.el6.elrepo and nvidia-x11-drv-173xx.i686
> 0:173.14.31-1.el6.elrepo which conflict with each other.  Is it safe to
> use --skip-broken to get around this?
>
>

No.

There are 3 nvidia drivers available - the current version plus two 
legacy drivers for use with older hardware.

By doing:

yum install kmod-nvidia*

you are trying to install all of them rather than the specific driver 
you want.

Please see here for more info:

http://elrepo.org/tiki/kmod-nvidia
http://elrepo.org/tiki/kmod-nvidia-96xx
http://elrepo.org/tiki/kmod-nvidia-173xx

Assuming you want the current driver and not one of the old legacy 
drivers, you should instead do:

yum install kmod-nvidia

which will pull in the dependencies it needs.

Then you will need to reboot your system.