Nouveau driver supports 3D acceleration with all GeForce GPUs

34 Antworten [Letzter Beitrag]
icarolongo
Offline
Beigetreten: 03/26/2011

From H-Online:

The Nouveau driver in the current Linux 3.8 development branch has recently acquired everything that's necessary to support the 3D acceleration features of any GeForce graphics hardware. Together with a current version of libdrm and the Nouveau 3D driver in Mesa 3D 9.0, this allows Linux applications to use 3D acceleration even with the most recent GeForce graphics cards.

http://www.h-online.com/open/news/item/Open-source-Linux-driver-supports-3D-acceleration-with-all-GeForce-GPUs-1776089.html

akifo

I am a member!

Offline
Beigetreten: 12/23/2011

Epic win

andermetalsh
Offline
Beigetreten: 01/04/2013

Nice. BTW, is adding the Ubuntu xorg-edgers PPA to Trisquel 6.0 secure? I didn't install neither the non-free kernel or the firmware ( I am using linux-libre 3.7) . I just upgraded xorg, nouveau and MESA to 9.0.

If not, if would be nice to fork the PPA contents but without any non-free firmware stuff.

Thanks :)

Xlash
Offline
Beigetreten: 10/02/2012

Finally! Great news! Im happy to read this. I hope that work with only free(Libre)software...

Tanks you for share this info mate! :)

Regards.

Xlash.

Alden
Offline
Beigetreten: 03/04/2011

Exciting stuff.

Cyberhawk

I am a translator!

Offline
Beigetreten: 07/27/2010

Wait, what does that libdrm do that is apparently needed to run 3D acceleration? Is that some sort of firmware library that loads binary code that actually executes the 3D acceleration? There's definitely a package called libdrm2 installed on my Trisquel right now, but I'm unsure what it's for.

andermetalsh
Offline
Beigetreten: 01/04/2013

DRM stands for "Direct Rendering Manager", http://dri.freedesktop.org/wiki/DRM

Cyberhawk

I am a translator!

Offline
Beigetreten: 07/27/2010

thanks for the clarification andermetalsh, could have thought of direct rendering manager myself, I've heard that before...

Great news anyways. The more reverse engineering the community does, the more stupid the companies must feel by not publishing specs and documentation for all developers.

miga
Offline
Beigetreten: 09/17/2011

This is an amazing breakthrough. My current nVidia GPU doesn't have great 3D acceleration with Nouveau, but it's still amazing what they've been able to get done without any help from nVidia.

icarolongo
Offline
Beigetreten: 03/26/2011

This feature is available only on Trisquel 7 or 7.5(based on Ubuntu 13.04 or Ubuntu 13.10), probably. By default, of course. You can compile or use PPA or another thing.

andermetalsh
Offline
Beigetreten: 01/04/2013

Can the libre xorg-edgergs' PPA packages be rebuilt with apt-get source or apt-build?

It wouldn't be very difficult to set up a xorg-edgers-libre PPA for Trisquel 6.0 with just linux-libre, xorg and free drivers.

Or at least I could ask the PPA maintaners to set a libre repo.

They have a script to build and repackage xorg from GIT, I think that's just we need with the help of linux-libre updated kernel from FSFLA.

http://jxself.org/linux-libre/

Sorry for my English

jxself
Offline
Beigetreten: 09/13/2010

Yep, the latest kernel won't be the only thing necessary but you can be sure that the kernel in my repository will have support enabled so that people will be able to use it.

jxself
Offline
Beigetreten: 09/13/2010

Replying to myself. Oh wait, I see lots of strings of numbers in there... aka blobiness...

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=902530693ef38f3bb007efae594e54443d84fa5

Michał Masłowski

I am a member!

I am a translator!

Offline
Beigetreten: 05/15/2010

See
e.g. https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc;h=0bcfa4d447e569f5506a40a30988b6e81903b...
-- these files are compiled from the source included in the same
directory. This is commonly done for programs needing an uncommon
compiler that have a single "portable" output format (e.g. most GNU
tarballs include bison-generated parsers while these aren't sources).

(I don't know what the code does; Nouveau has documentation that can
help understand it.)

Chris

I am a member!

Offline
Beigetreten: 04/23/2011

After a bit of deciphering it does appear that the proprietary firmware required prior is no longer needed on newer generation cards. My reading of this is that this is doing more than simply automating the extraction of non-free firmware from the proprietary NVIDIA driver for use with the Nouveau driver.

I would not look at this and say “NVIDIA cards/chipsets are now OK”. Rather to the contrary NVIDIA is still not terribly cooperative. The newer cards are still working because of reverse engineering efforts and far from working properly.

What is less clear is which cards are “safe” to use (even if not desirable due to NVIDIA's lack of cooperation). I'll take a look into this and see if we can offer something newer than the 9500GT in the near future. As the article points out there are issues with the newer generation cards despite this new bit of info.

-- update --

It does appear I'm correct in stating the NV50 core is still the best option for those looking for a new graphics card. This would include the 9500GT. Still waiting on an email from those with the real expertise in this area.

miga
Offline
Beigetreten: 09/17/2011

I should point out that I fried a G92 card (GTS 250) while using Nouveau. I'm not sure whether it was Nouveau's fault or old age, but either way, I'd agree that you should take caution while using Nouveau.

Chris

I am a member!

Offline
Beigetreten: 04/23/2011

I'd be care not to blame Nouveau for anything even if it doesn't work with the hardware correctly. The problem is NVIDIA's lack of cooperation in the matter.

miga
Offline
Beigetreten: 09/17/2011

Oh, I'm not blaming Nouveau. They're definitely trying their hardest to support NVIDIA. Actually, looking at the card again, it looks like the capacitors are no good anymore.

Ah well, I haven't been having good luck with capacitors as of lately anyway, and the card lived a good lifespan...

aliasbody
Offline
Beigetreten: 09/14/2012

I have the NV92 models (9600M GT and 9800GT) and I have to admit that they work perfectly under only Free Drivers (Nouveau of course)... Even if the performance aren't at the same level as the Proprietary ones (and I don't mind that), they are more stable and more painless tu use and this is great :D

Don't know about the newest models since I don't own one.

miga
Offline
Beigetreten: 09/17/2011

I have a GTX 560, and performance is slightly better than the Intel GMA 4500HD (3D-wise). I'm thinking it's mostly because the GPU is being run at very low clock speeds.

I'm hoping Nouveau is able to get reclocking working on this card at some point, so that I can use this card to its full potential. Still beats installing proprietary drivers by far, though.

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012

Hi,

I'm trying to make 3D acceleration work on my new GeForce GT 610 with nouveau (Trisquel 6). I've updated to linux-libre 3.7.1 using jxself's repo, but was hoping someone could help me with the xorg side of things. Currently, I've only got 2D so no Unity or Gnome shell.

Thanks for any help.

andermetalsh
Offline
Beigetreten: 01/04/2013

You need to install "libgl1-mesa-dri-experimental"

EDIT: I suggest you to active "toutatis-updates" on the repositories tab in Synaptic in order to get a sightly updated GL subsystem.

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012

Thanks but I have that package installed already, according to apt. Also I do have toutatis-updates enabled already. Is there some other repository I should be using?

I'm switching from the integrated Intel graphics, in case that makes any difference.

andermetalsh
Offline
Beigetreten: 01/04/2013

Write an /etc/X11/xorg.conf file with these lines:

Section "Device"
Identifier "n"
Driver "nouveau"
EndSection

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012

Thanks for helping but it's still not working.

andermetalsh
Offline
Beigetreten: 01/04/2013

Can you paste the contents of dmesg and /var/log/Xorg.0.log ?

Install pastebinit and run these commands:

demsg | pastebinit
pastebinit < /var/log/Xorg.0.log

Then, post back the URLs you get.

Also, you can try this (up to date Intel drivers):

sudo apt-add-repository ppa:oibaf/graphics-drivers && sudo apt-get upgrade.

Then, reboot.

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012
quiliro
Offline
Beigetreten: 02/24/2009

Does repository ppa:oibaf contain only libre software? ¿How was it verified?

jxself
Offline
Beigetreten: 09/13/2010

lloydsmart, it's not going to work right now. If you'll re-read the original post these changes are part of kernel version 3.8, which hasn't been released yet (you're using 3.7.1 from my repository.) Version 3.8 will probably not be released until the February/March timeframe.

Once 3.8 has been released my repository will be updated, usually within a few days.

At that time, you'll be able to do the usual upgrade within your package manager to get version 3.8 but you'll also need to make sure that you're using the latest versions of libdrm and the latest versions of the Nouveau 3D driver and of Mesa 3D, since the versions of these that come with the distro will not be new enough. That will probably mean compiling these other programs from source.

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012

Oh, ok. Thanks for clearing that up.

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Yay! Following the release of the 3.8 linux-libre kernel, I'm now able to use Unity 3D with my Nvidia graphics card under Free Software! (Had to enable the xorg-edgers ppa though).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iF4EAREIAAYFAlEozzUACgkQgijxUCZnvlsxcQEAyaiqMaG+AjFjxTw7lLITEHsP
3XsKwO/jVfkK0LXKhJoA/jB5haC/1ltssaB4FAV8ETFELfJq/kCMs2hFT5AsumOk
=pJj4
-----END PGP SIGNATURE-----

miga
Offline
Beigetreten: 09/17/2011

Indeed, my GTX 660 (not 560 as I have previously mentioned here) now works with free software. Not stable for 3D, but 3D DOES work, which is amazing. Go Nouveau.

icarolongo
Offline
Beigetreten: 03/26/2011

And about GNOME Shell? Works fine?

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Works great for me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iF4EAREIAAYFAlG8kJYACgkQgijxUCZnvlu7gAEAua9c+mxA/K7NA8ocpWT8MRDH
GvaRLcUBGgutbT40ucIA/2Lu+1BgBzpNUj4N8ZI0ruXIgzV59ubNmQKn89SrFq8u
=wJvl
-----END PGP SIGNATURE-----

Fernando_Negro
Offline
Beigetreten: 06/17/2012

Yes, but even if it does work with all cards (without any blobs), let's be careful when using the Nouveau driver.

Since, the main reason why I haven't installed Trisquel on my main computer yet, is because the Nouveau driver is known to overheat my particular card...

http://www.phoronix.com/scan.php?page=article&item=nouveau_comp_2011&num=19