← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 408077] [NEW] nvida Xorg binary drivers conflict with oss ati driver

 

Public bug reported:

Binary package hint: xserver-xorg-video-ati

I think there is some sort of undocumented conflict between the ati
driver above, and the closed source nvidia drivers. My current version
is 1:6.12.1-0ubuntu2

My system previously had an nVidia 9600 graphics card in it when I
installed Ubuntu Januty. Today I replaced that card with an ATI x1650
graphics card. I expected it all to 'just work' (I have a laptop with
ATI x1600 and the accelarated 3D graphics work very nicely).

Instead I did not get any working 3D at all. glxinfo reported that 3D
was not supported. Even explicity adding Driver "ati" to the xorg.conf
file did not make it work.

I logged in via ssh as root and stopped gdm, then ran startx so that I could see the messages go by. This is what I got.
----------------------------------------------------------------------------------------------------------------------------

root@miranda:~# /etc/init.d/gdm stop
 * Stopping GNOME Display Manager...                                     [ OK ]
root@miranda:~# startx

X: warning; process set to priority -1 instead of requested priority 0

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-15-server x86_64 Ubuntu
Current Operating System: Linux miranda 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 200                                       9 x86_64
Build Date: 09 April 2009  02:11:54AM
xorg-server 2:1.6.0-0ubuntu14 (buildd@crested.buildd)
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug  2 19:34:36 2009
(==) Using config file: "/etc/X11/xorg.conf"
encoder: 0x15
encoder: 0x13
encoder: 0x16
  XRANDR name: VGA-0
  Connector: VGA
  CRT1: INTERNAL_KLDSCP_DAC1
  DDC reg: 0x7e40
  XRANDR name: DVI-0
  Connector: DVI-I
  CRT2: INTERNAL_KLDSCP_DAC2
  DFP1: INTERNAL_KLDSCP_TMDS1
  DDC reg: 0x7e50
finished output detect: 0
Dac detection success
Unhandled monitor type 0
finished output detect: 1
finished all detect
before xf86InitialConfiguration
Dac detection success
Unhandled monitor type 0
after xf86InitialConfiguration
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Mode 1280x1024 - 1728 1072 5
freq: 157500000
best_freq: 157500000
best_feedback_div: 70
best_ref_div: 2
best_post_div: 6
Set CRTC 0 PLL success
Set CRTC Timing success
Set CRTC 0 Overscan success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV disable setup success
Output DAC1 setup success
Output CRT1 enable success
Enable CRTC 0 success
Unblank CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
Dac detection success
Unhandled monitor type 0
Dac detection success
Unhandled monitor type 0
Dac detection success
Unhandled monitor type 0

waiting for X server to shut down Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Enable CRTC 0 success
Unblank CRTC 0 success
error setting MTRR (base = 0xd0000000, size = 0x10000000, type = 1) Invalid argument (22)
 ddxSigGiveUp: Closing log

root@miranda:~#

----------------------------------------------------------------------------------------------------------------------------

(X windows started as root, but there was no 3D acceleration, I logged
out as soon as I tested that)

After seeing the errors about nvidia extensons not beeing avalable, I
decided to check for anything nvidia related that might be installed,
and remove it.

----------------------------------------------------------------------------------------------------------------------------

root@miranda:~# dpkg -l *nvidia*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                         Version                      Description
+++-============================-============================-========================================================================
un  nvidia-173-kernel-source     <none>                       (no description available)
ii  nvidia-173-modaliases        173.14.16-0ubuntu1           Modaliases for the NVIDIA binary X.Org driver
un  nvidia-177-kernel-source     <none>                       (no description available)
ii  nvidia-180-kernel-source     180.44-0ubuntu1              NVIDIA binary kernel module source
ii  nvidia-180-libvdpau          180.44-0ubuntu1              Video Decode and Presentation API for Unix
ii  nvidia-180-modaliases        180.44-0ubuntu1              Modaliases for the NVIDIA binary X.Org driver
un  nvidia-71-kernel-source      <none>                       (no description available)
ii  nvidia-71-modaliases         71.86.08-0ubuntu1            Modaliases for the NVIDIA binary X.Org driver
un  nvidia-96-kernel-source      <none>                       (no description available)
ii  nvidia-96-modaliases         96.43.10-0ubuntu1            Modaliases for the NVIDIA binary X.Org driver
ii  nvidia-common                0.2.11                       Find obsolete NVIDIA drivers
un  nvidia-glx                   <none>                       (no description available)
un  nvidia-glx-173               <none>                       (no description available)
un  nvidia-glx-177               <none>                       (no description available)
ii  nvidia-glx-180               180.44-0ubuntu1              NVIDIA binary Xorg driver
un  nvidia-glx-71                <none>                       (no description available)
un  nvidia-glx-96                <none>                       (no description available)
un  nvidia-glx-envy              <none>                       (no description available)
un  nvidia-glx-ia32              <none>                       (no description available)
un  nvidia-glx-legacy            <none>                       (no description available)
un  nvidia-glx-legacy-envy       <none>                       (no description available)
un  nvidia-glx-new               <none>                       (no description available)
un  nvidia-glx-new-envy          <none>                       (no description available)
un  nvidia-glx-src               <none>                       (no description available)
un  nvidia-kernel-source         <none>                       (no description available)
un  nvidia-kernel-source-envy    <none>                       (no description available)
un  nvidia-kernel-src            <none>                       (no description available)
un  nvidia-legacy-kernel-source  <none>                       (no description available)
un  nvidia-legacy-kernel-source- <none>                       (no description available)
un  nvidia-new-kernel-source     <none>                       (no description available)
un  nvidia-new-kernel-source-env <none>                       (no description available)
ii  nvidia-settings              180.25-0ubuntu1              Tool of configuring the NVIDIA graphics driver

root@miranda:~# aptitude purge nvidia-glx-180 nvidia-common nvidia-96-modaliases nvidia-180-modaliases nvidia-180-libvdpau nvidia-180-kernel-source nvidia-173-modaliases
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Writing extended state information... Done
The following packages will be REMOVED:
  nvidia-173-modaliases{p} nvidia-180-kernel-source{p} nvidia-180-libvdpau{p} nvidia-180-modaliases{p} nvidia-96-modaliases{p}
  nvidia-common{p} nvidia-glx-180{p}
0 packages upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 65.1MB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... 212160 files and directories currently installed.)
Removing nvidia-common ...
Purging configuration files for nvidia-common ...
Removing nvidia-173-modaliases ...
Removing nvidia-glx-180 ...
Purging configuration files for nvidia-glx-180 ...
dpkg - warning: while removing nvidia-glx-180, directory `/usr/lib32/tls' not empty so not removed.
dpkg - warning: while removing nvidia-glx-180, directory `/usr/lib/tls' not empty so not removed.
Removing nvidia-180-kernel-source ...
Removing all DKMS Modules
Done.
Removing nvidia-180-libvdpau ...
Purging configuration files for nvidia-180-libvdpau ...
Removing nvidia-180-modaliases ...
Removing nvidia-96-modaliases ...
Processing triggers for man-db ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Writing extended state information... Done

root@miranda:~#

----------------------------------------------------------------------------------------------------------------------------

After removing all the nvidia related stuff, I tried startx again, and
this time accelerated 3D worked. Here is the output for comparison.

root@miranda:~# startx

X: warning; process set to priority -1 instead of requested priority 0

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-15-server x86_64 Ubuntu
Current Operating System: Linux miranda 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 x86_64
Build Date: 09 April 2009  02:11:54AM
xorg-server 2:1.6.0-0ubuntu14 (buildd@crested.buildd)
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug  2 19:37:18 2009
(==) Using config file: "/etc/X11/xorg.conf"
encoder: 0x15
encoder: 0x13
encoder: 0x16
  XRANDR name: VGA-0
  Connector: VGA
  CRT1: INTERNAL_KLDSCP_DAC1
  DDC reg: 0x7e40
  XRANDR name: DVI-0
  Connector: DVI-I
  CRT2: INTERNAL_KLDSCP_DAC2
  DFP1: INTERNAL_KLDSCP_TMDS1
  DDC reg: 0x7e50
finished output detect: 0
Dac detection success
Unhandled monitor type 0
finished output detect: 1
finished all detect
before xf86InitialConfiguration
Dac detection success
Unhandled monitor type 0
after xf86InitialConfiguration
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Mode 1280x1024 - 1728 1072 5
freq: 157500000
best_freq: 157500000
best_feedback_div: 70
best_ref_div: 2
best_post_div: 6
Set CRTC 0 PLL success
Set CRTC Timing success
Set CRTC 0 Overscan success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV disable setup success
Output DAC1 setup success
Output CRT1 enable success
Enable CRTC 0 success
Unblank CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Dac detection success
Unhandled monitor type 0
Dac detection success
Unhandled monitor type 0
Dac detection success
Unhandled monitor type 0
Dac detection success
Unhandled monitor type 0

waiting for X server to shut down Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Enable CRTC 0 success
Unblank CRTC 0 success
error setting MTRR (base = 0xd0000000, size = 0x10000000, type = 1) Invalid argument (22)
 ddxSigGiveUp: Closing log


root@miranda:~#

** Affects: xserver-xorg-video-ati (Ubuntu)
     Importance: Undecided
         Status: New

-- 
nvida Xorg binary drivers conflict with oss ati driver
https://bugs.launchpad.net/bugs/408077
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.



Follow ups

References