You are not logged in.

#1 2013-01-26 08:22:30

skotadi
Member
Registered: 2013-01-26
Posts: 6

[SOLVED] NVIDIA driver conflict after upgrade

First of all, Its nice to be here. I'm a new arch user. So please excuse me if this has been discussed before. I searched the forum , i seem to have this problem https://bbs.archlinux.org/viewtopic.php?id=156666 but the information in the thread did not solve my issue.

When i do an upgrade i get the following message.

:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
:: libgl and nvidia-304xx-utils are in conflict. Remove nvidia-304xx-utils? [y/N] 

If i say yes

 error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-nvidia-304xx-utils: requires nvidia-304xx-utils
:: nvidia-304xx: requires nvidia-304xx-utils=304.64
 

UNAME

 [sam@archetype ~]$ uname -a
Linux archetype 3.7.4-1-ARCH #1 SMP PREEMPT Mon Jan 21 23:05:29 CET 2013 x86_64 GNU/Linux
 

Also, I'm running an Nvidia 7300LE with nvidia-304xx driver. I'm on a x64 system.


Thanks in advance,
Skotadi

Last edited by skotadi (2013-01-27 08:39:02)

Offline

#2 2013-01-26 10:34:38

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED] NVIDIA driver conflict after upgrade

Go and read nvidia wiki page:

Here's hint:

The nvidia{,-304xx,-173xx,-96xx}-utils package is a dependency and will be pulled in automatically. It may conflict with the libgl package; this is normal. If pacman asks to remove libgl and fails due to unsatisfied dependencies, remove it with pacman -Rdd libgl.

If you don't need to have multiple drivers for different graphics cards (other than nvidia GPUs) in your system, removing libgl is safe. Nvidia has its own gl libraries which are in conflict with libgl

For the next time, please read the wiki first, Arch's wiki is really amazing and easy to understand. Good luck smile If you solve your problem mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.

Last edited by masteryod (2013-01-26 10:38:44)

Offline

#3 2013-01-26 11:39:16

skotadi
Member
Registered: 2013-01-26
Posts: 6

Re: [SOLVED] NVIDIA driver conflict after upgrade

masteryod wrote:

Go and read nvidia wiki page:

Here's hint:

The nvidia{,-304xx,-173xx,-96xx}-utils package is a dependency and will be pulled in automatically. It may conflict with the libgl package; this is normal. If pacman asks to remove libgl and fails due to unsatisfied dependencies, remove it with pacman -Rdd libgl.

If you don't need to have multiple drivers for different graphics cards (other than nvidia GPUs) in your system, removing libgl is safe. Nvidia has its own gl libraries which are in conflict with libgl

For the next time, please read the wiki first, Arch's wiki is really amazing and easy to understand. Good luck smile If you solve your problem mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.


Hello there, thank you for replying.
The Arch Wiki is one of the things that pulled me towards arch. smile
I have removed libgl at the time of installing nvidia-304xx package few weeks ago.Since i'm on x64 i installed  lib32-nvidia-utils, lib32-nvidia-304xx-utils as well. Everything was working fine for sometime.
But something has broken now and i'm unable to figure it out.
It would be of great help if someone could help me out here.

 sudo pacman -Rdd libgl
error: target not found: libgl

Last edited by skotadi (2013-01-26 11:40:41)

Offline

#4 2013-01-26 12:00:52

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED] NVIDIA driver conflict after upgrade

paste output of: pacman -Qs xf86-video and pacman -Qs nvidia

Offline

#5 2013-01-26 12:48:20

skotadi
Member
Registered: 2013-01-26
Posts: 6

Re: [SOLVED] NVIDIA driver conflict after upgrade

masteryod wrote:

paste output of: pacman -Qs xf86-video and pacman -Qs nvidia

 
[sam@archetype ~]$ pacman -Qs xf86-video
local/xf86-video-nouveau 1.0.6-1 (xorg-drivers xorg)
    Open Source 2D acceleration driver for nVidia cards
[sam@archetype ~]$ pacman -Qs nvidia
local/lib32-nvidia-304xx-utils 304.64-1
    NVIDIA drivers utilities and libraries. (32-bit)
local/libvdpau 0.5-1
    Nvidia VDPAU library
local/nvidia-304xx 304.64-2
    NVIDIA drivers for linux, 304xx legacy branch
local/nvidia-304xx-utils 304.64-2
    NVIDIA drivers utilities and libraries, 304xx legacy branch
local/xf86-video-nouveau 1.0.6-1 (xorg-drivers xorg)
    Open Source 2D acceleration driver for nVidia cards
[sam@archetype ~]$ 

Am i running nouveau driver or nvidia-304xx ?

Offline

#6 2013-01-26 12:59:07

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED] NVIDIA driver conflict after upgrade

skotadi wrote:

Am i running nouveau driver or nvidia-304xx ?

Yeah, that's the problem. Nouveau needs libgl, nvidia is in conflict with libgl. Choose one driver - it'll be sane solution. Although switching between is possible, for regular usage you should just pick one. You probably want to go with nvidia. I'm running one PC with GeForce 7100 and the drivers work as they should. 304.xx brunch will be still supported for quite some time and this drivers are future rich. Nouveu is progressing but it might fall short in some areas (most notably 3d performance) and lack some feature.

PS to check what driver and how it's used see glxinfo | grep -i render it should say something like this:

direct rendering: Yes
OpenGL renderer string: GeForce 7100 / nForce 630i/integrated/SSE2
    GL_NV_vertex_program3, GL_NVX_conditional_render, 
    GL_OES_depth_texture, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 

Vital part is direct renderig, it should says 'yes', second part tells you what kind of driver is used. It should indicates hardware acceleration, not software one.

Last edited by masteryod (2013-01-26 13:02:00)

Offline

#7 2013-01-26 13:50:57

skotadi
Member
Registered: 2013-01-26
Posts: 6

Re: [SOLVED] NVIDIA driver conflict after upgrade

Here is my xorg.conf, I do not think i am using nouveau driver. I'm sorry glxinfo isn't working for me even after installing mesa package.

 
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.64  (buildmeister@swio-display-x86-rhel47-12)  Tue Oct 30 12:04:46 PDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I had removed libgl while installing the nvidia driver. I got this problem a few days ago i thought moving to 3.7 would fix the problem but it didn't! :
(

Offline

#8 2013-01-26 17:47:27

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED] NVIDIA driver conflict after upgrade

skotadi wrote:

I'm sorry glxinfo isn't working for me even after installing mesa package.

You didn't have mesa before?!

For a newbie what was the reason to omit this part of the Beginners Guide:

Install mesa for 3D support:

# pacman -S mesa

?
Anyway, glxinfo is inside of a package called mesa-demos (it takes 5 seconds to google it).

Did you removed nouveau as I implied earlier?

Am I getting this right: Arch was working for you since october and something broke in recent days? If so you should have blind idea what could be the reason. Did you changed anything recently? It happened after system upgrade? But first things first: remove nouveau completely  (and maybe reinstall nvidia to see what pacman will say about it). Better yet read some of many threads about it. Most notably this one And for christ sake don't use --force switch or I won't be trying to help you anymore.

Last edited by masteryod (2013-01-26 17:55:30)

Offline

#9 2013-01-26 18:42:45

Gusar
Member
Registered: 2009-08-25
Posts: 3,413

Re: [SOLVED] NVIDIA driver conflict after upgrade

The mesa package isn't needed for 3d support. The 3d drivers are in the *-dri packages.

Offline

#10 2013-01-26 20:01:44

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED] NVIDIA driver conflict after upgrade

Gusar wrote:

The mesa package isn't needed for 3d support. The 3d drivers are in the *-dri packages.

Yes. My point was rather different. You don't need to have mesa of course but how can I trust someone that his setup is correctly made if he omits steps like that? Beginners Guide is rather clear about mesa, it's nice thing to have and it doesn't brake anything.

Offline

#11 2013-01-27 08:38:37

skotadi
Member
Registered: 2013-01-26
Posts: 6

Re: [SOLVED] NVIDIA driver conflict after upgrade

Really appreciate the help guys.
Removing the nouveau driver and re configuring the nvidia driver fixed the issue. I'm marking it as solved. smile

Offline

Board footer

Powered by FluxBB