![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2006
Location: Lithuania
Beans: 58
Ubuntu 8.10 Intrepid Ibex
|
HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
Intro Nouveau is a project which aims at producing Open Source 3D drivers for nVidia cards. In this tutorial I would like to explain how to install latest version of nouveau drivers from git repository. Here is a list of links with some useful info about the project: This guide is meant for those who are using nv drivers and want more speed, people who don't like to use proprietary software, people who like testing new things, software junkies (like me) and developers. It's NOT meant for average users, hardcore gamers or compiz/beryl users(neither of them currently works with these drivers, but compiz++ should work whith xrender backend which still needs to be written). Currently driver developers only support 2D driver (just as stable as nv driver, but faster). 3D driver is NOT officially supported and bug reports are NOT accepted, as there is still much to implement and memory management still has to be ironed out (playing 3d games with high resolutions for extended periods is not recommended...). The good news is that the driver supports composite, damage, render and many other extensions, so you can use metacity (gnome window manager) or xfwm4 (XFCE4 wm) built-in compositing managers to get all those neat effects. Also it's reported that Open Arena runs pretty well and I have tried to run Fallout2 under wine - runs pretty well for me. Part A: Removing nvidia drivers
Part B: 2D driver installation
Part C: 3D driver installation Warning: Currently nouveau's developers do NOT support 3D driver and any bug reports are NOT accepted. Please SEE NOTES SECTION BEFORE proceeding, to see if you should be able to do anything more than just test/help debug current 3d drivers with your VGA!
Appendix: Issues and workarounds No direct rendering
Notes As mentioned above 3D driver is work in progress and some nvidia graphic cards might have some SERIOUS problems. Currently ONLY experienced testers and developers should try installing 3D driver for cards which codenames are: less than NV30 (includes NV28, NV25 and so on) or equal/higher than NV50 (includes NV50 and higher). You can look up the codename here or by running glxinfo. Also please take a look at nouveau's feature matrix. Resources Install Nouveau Gallium3D How to Nouveau FAQ Last edited by Hakimio; February 11th, 2009 at 07:44 AM.. Reason: Grammar |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() |
Thanks for compiling this. It's fun playing with new code. I actually have it working half decent on jaunty.
__________________
-Jason |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Location: Koblenz, Germany
Beans: 103
|
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
When these drivers will be stable, would this then enable future Xen Dom0 to use more then 800x600 px resolution when using nvidia cards?
|
|
|
|
|
|
#4 | |||
|
Just Give Me the Beans!
![]() Join Date: Nov 2006
Location: Lithuania
Beans: 58
Ubuntu 8.10 Intrepid Ibex
|
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
Quote:
Just curious: did you try the 3d driver or just the 2d. If 3d, what VGA you have and how was the overall experience? Did you try running some 3d apps? Quote:
Quote:
|
|||
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Location: Koblenz, Germany
Beans: 103
|
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
I asked that, because Xen-Kernels and nvidia-modules have to be patched to work together. But I read that these patches are using workarounds like IGNORE_XEN_PRESENCE=1. Therefor these so called solutions are very unstable or unuseable. Some people reported system halt and crashes all 3 or 5 hours.
http://www.nvnews.net/vbulletin/showthread.php?t=122900 http://www.meinews.net/nvidia-t266401.html (sorry, german) I'm not able to get useful resolutions with the nv driver at all. I got a GeForce 6600 GT, and tested yesterday the ppa nouveau packages from launchpad for hardy, but that didn't work either. Code:
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 GT] (rev a2) (prog-if 00 [VGA controller]) http://nouveau.freedesktop.org/wiki/UbuntuPackages https://launchpad.net/~raof/+archive/ppa xorg.conf nv and nouveau: http://paste.pocoo.org/show/107880/ Xorg.0.log nouveau: http://paste.pocoo.org/show/107881/ There was no backtrace: output. That's the EOF. Code:
# egrep '(\(EE|\(WW|\(!!)' /var/log/Xorg.0.log.nouveau_1 (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. (WW) NOUVEAU(0): Bad V_BIOS checksum (EE) NOUVEAU(0): wrong DRM version (EE) NOUVEAU(0): DRI pre-initialisation failed. Setting NoAccel (!!) NOUVEAU(0): ... BIOS signature not found (!!) NOUVEAU(0): Raw DCB entry 0: 01000300 00000028 (!!) NOUVEAU(0): Raw DCB entry 1: 04010312 00000000 (!!) NOUVEAU(0): Raw DCB entry 2: 04010310 00000028 (!!) NOUVEAU(0): Raw DCB entry 3: 02020321 0000c080 (WW) NOUVEAU(0): Failed to set up write-combining range (0xc000001a,0x1) (WW) NOUVEAU(0): Failed to set up write-combining range (0xc0000018,0x3) (WW) NOUVEAU(0): Failed to set up write-combining range (0xc0000010,0xb) (WW) NOUVEAU(0): Failed to set up write-combining range (0xc0000000,0x1b) (WW) Configured Mouse: No Device specified, looking for one... (EE) NOUVEAU(0): wrong DRM version Code:
libdrm2:
Installed: 2.4.1+git20090212-0~ppa1~hardy
Candidate: 2.4.1+git20090212-0~ppa1~hardy
Version table:
*** 2.4.1+git20090212-0~ppa1~hardy 0
500 http://ppa.launchpad.net hardy/main Packages
100 /var/lib/dpkg/status
2.3.0-4ubuntu1 0
500 http://de.archive.ubuntu.com hardy/main Packages
500 http://archive.ubuntu.com hardy/main Packages
The diversion problem was somewhat complex: http://paste.pocoo.org/show/107883/ Now I got the propritary binary driver running again. Last edited by floogy; March 14th, 2009 at 08:01 AM.. |
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2006
Location: Lithuania
Beans: 58
Ubuntu 8.10 Intrepid Ibex
|
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
Instead of using precompiled packages, try installing the latest 2d driver using my guide.
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2009
Beans: 2
|
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
Great Guide.
I got to step 17. Then I get this msg. checking for LIBDRM_NOUVEAU... configure: error: Package requirements (libdrm_nouveau) were not met: No package 'libdrm_nouveau' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBDRM_NOUVEAU_CFLAGS and LIBDRM_NOUVEAU_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. I'm a complete noob so any help would be greatly appreciated. Cheers, |
|
|
|
|
|
#8 | |
|
Just Give Me the Beans!
![]() Join Date: Nov 2006
Location: Lithuania
Beans: 58
Ubuntu 8.10 Intrepid Ibex
|
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
Quote:
|
|
|
|
|
|
|
#9 |
|
Extra Foam Sugar Free Ubuntu
![]() |
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
Seeing Nouveau in action will be a delight to the eyes once its final version is released..
![]()
__________________
Optimists say the Glass is Half Full. Pessimists say the Glass is Half Empty. Programmers say WHY THE !@#$ Is the glass twice as Large ? |
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2009
Beans: 2
|
Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards
After step 4, I got this error
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:24: installing `./missing' tests/Makefile.am: installing `./depcomp' configure.ac:130: required file `libdrm/intel/Makefile.in' not found configure.ac:130: required file `libdrm/nouveau/Makefile.in' not found configure.ac:130: required file `libdrm/nouveau/libdrm_nouveau.pc.in' not found autoreconf: automake failed with exit status: 1[/I] I might just downgrade to 8.04 and hope that my nvidia card works with that. |
|
|
|
| Bookmarks |
| Tags |
| 3d drivers, graphic cards, nouveau, nvidia, open source drivers |
| Thread Tools | |
| Display Modes | |
|
|