Mailinglist Archive: opensuse-features (365 mails)

< Previous Next >
[openFATE 307588] Add nouveau drivers for xorg
  • From: fate_noreply@xxxxxxx
  • Date: Fri, 5 Mar 2010 17:52:42 +0100 (CET)
  • Message-id: <feature-307588-23@xxxxxxxxxxxxxx>
Feature changed by: Johannes Obermayr (jobermayr)
Feature #307588, revision 23
Title: Add nouveau drivers for xorg

openSUSE-11.3: Evaluation
Priority
Requester: Important

Package Wishlist: Unconfirmed
Priority
Requester: Important

Requested by: Luis Medinas (lmedinas)

Description:
Hi, nouveau drivers (nvidia) are the only good alternative to nvidia
closed source drivers. It would be awesome to use it on openSUSE 11.2
by default.

Discussion:
#1: Todd R (theblackcat) (2009-12-03 17:02:12)
I think this is a good idea, by the time 11.3 rolls around nouveau
should be in pretty good shape.  Maybe not perfect, maybe not as good
as the official binary drivers, but probably far better than the
official (crippled) open-source nv driver.
In the meantime one of the nouveau developers has provided an openSUSE
repository for the drivers:
http://download.opensuse.org/repositories/home:/jobermayr/
(http://download.opensuse.org/repositories/home:/jobermayr/openSUSE_11.2/)

#2: Luis Medinas (lmedinas) (2009-12-03 17:14:00)
Since Factory is open for everyone maybe he can add the package and
maintain it. Looks like Novell Xorg developers don't have enough
resources to maintain it.

#3: Johannes Obermayr (jobermayr) (2009-12-10 17:38:26)
It is very nice to see my OBS project here.
Just for clarification:
I am not a XOrg/nouveau developer - more a packager just for fun...
I do not understand any kind of source code (I am happy if I get some
very simple loops in very very old QBasic working...)
This is because lack of time -> I need it for translating KDE and my
study...
I "robbed" many things from Ruediger Oertel (home:oertel:Radeon_DRI2).
All I can do is daily packaging and asking developers (mainly upstream)
if something is broken...
For proper installation you should read:
English: http://nouveau.freedesktop.org/wiki/openSUSEPackages
(http://nouveau.freedesktop.org/wiki/openSUSEPackages)
German: http://de.opensuse.org/Nouveau
(http://de.opensuse.org/Nouveau)
I will write a short article with links to above articles and this
feature request for "Weekly News" #101 or #102.

#4: Johannes Obermayr (jobermayr) (2010-01-19 20:05:27)
Because nouveau driver needs at least a Xserver 1.7 you have to include
following repo for openSUSE 11.2 (additionally):
http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_11.2/
I wait with building for Factory until there is also at least a Xserver
1.7 in main repo ...

#5: Johannes Obermayr (jobermayr) (2010-01-20 21:12:04)
Another repository is needed for openSUSE 11.2 (additionally):
http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_11.2/
Otherwise Kernel modesetting and nouveau driver do not work ...
There is also a one-click-install option on:
http://software.opensuse.org/search

#6: Bjørn Lie (zaitor) (2010-02-09 00:43:24)
I guess most of  this is in Factory now, since nouveau is in kernel ->
only thing missing as far as I can tell is the experimental 3d driver (
and a nice kms enabled boot)

#7: Johannes Obermayr (jobermayr) (2010-02-24 19:29:38)
Marcin Kościelnicki provides a patch which obsoletes proprietary
firmware on NV50/NV8x/NV9x/NVAx cards.
It needs testing on as many chipsets and applications as possible (also
with installed Mesa-nouveau3d package.
Please report all regressions to Marcin Kościelnicki
<koriakin@xxxxxxxx> and CC me <johannesobermayr@xxxxxx>.
If there are too many regressions I will remove the patch.
See:
http://lists.freedesktop.org/archives/nouveau/2010-February/005137.html
(http://lists.freedesktop.org/archives/nouveau/2010-February/005137.html)
(http://lists.freedesktop.org/archives/nouveau/2010-February/005137.html)
Patched packages will be:
openSUSE 11.2: > drm-all-kmp-{flavor}-20100223_2.6.33.0_rc8_21-1.1
openSUSE Factory: > drm-all-kmp-{flavor}-20100223_2.6.33.0_rc7_3-1.2

#8: Stefan Dirsch (sndirsch) (2010-03-02 14:54:02)
Whereas the patch for NV40 to no longer depend on the firmware is
already upstream in Linus tree (commit #054b93e), the patch for NV50 is
not. :-( How should we handle that for openSUSE? Try to integrate the
remaining patch to our kernel (which will probably be rejected by
gregkh as long as it's not in Linus' tree) or add the firmware? What's
the legal status of this firmware? Could we ship it with openSUSE? How
did RH handle this in the past before they developped these patches?
Some more informations about firmware could be found here:
http://nouveau.freedesktop.org/wiki/InstallDRM#Firmware

#9: Stefan Dirsch (sndirsch) (2010-03-02 14:57:38) (reply to #8)
That's the remaining patch I'm talking about:

http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=266229a5779459314e2fda4281199fb1f308d668

#10: Johannes Obermayr (jobermayr) (2010-03-04 19:49:28) (reply to #8)
I think gregkh should patch the openSUSE kernel. I have not heard that
people have/had problems with my package which has included it already.
So there are no real reasons for rejecting it ...
But I will also do my "job" in future.

#11: Stefan Dirsch (sndirsch) (2010-03-05 00:48:35) (reply to #10)
Greg never adds any patches, which aren't upstream in Linus git tree
yet.

#12: Johannes Obermayr (jobermayr) (2010-03-05 09:52:00) (reply to
#11)

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=03a2c4d76c9e99b80d74ab8a4f344e135a5ae44b
So this is not a reason ...

#13: Stefan Dirsch (sndirsch) (2010-03-05 11:10:47) (reply to #12)
Indeed. It's in now. Wonderful!
commit d5f3c90d4f3ad6b054f9855b7b69137b97bda131
Author: Marcin Kościelnicki <koriakin@xxxxxxxx>
Date: Thu Feb 25 00:54:02 2010 +0000
drm/nv50: Implement ctxprog/state generation.

This removes dependence on external firmware for NV50 generation
cards.
If the generated ctxprogs don't work for you for some reason, please
report it.

Signed-off-by: Marcin Kościelnicki <koriakin@xxxxxxxx>
Signed-off-by: Ben Skeggs <bskeggs@xxxxxxxxxx>

+ #14: Johannes Obermayr (jobermayr) (2010-03-05 17:52:12) (reply to #8)
+ Discussion on openSUSE Kernel mailing list is started:
+ http://lists.opensuse.org/opensuse-kernel/2010-03/msg00006.html



--
openSUSE Feature:
https://features.opensuse.org/307588

< Previous Next >
This Thread
References