Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto: KMS + nouveau
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ashtophet
Guru
Guru


Joined: 08 Aug 2004
Posts: 396
Location: Galiza

PostPosted: Wed Nov 25, 2009 5:08 pm    Post subject: Reply with quote

Yes I have CONFIG_DRM enabled. Note that, as far as I can see, if you've already a kernel which includes nouveau DRM you wouldn't install nouveau-drm (just install xf86-video-nouveau and, if you want to try GL support, mesa).

Code:

awk '/DRM/' /usr/src/linux/.config
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
CONFIG_DRM_NOUVEAU=m
CONFIG_DRM_NOUVEAU_KMS=y
# CONFIG_DRM_NOUVEAU_BACKLIGHT is not set
# CONFIG_DRM_NOUVEAU_DEBUG is not set
# CONFIG_DRM_I2C_CH7006 is not set


Cheers.
_________________
O coração, se pudesse pensar, pararia. Fernando Pessoa
If heart could think, it would stop
Back to top
View user's profile Send private message
larophel
n00b
n00b


Joined: 19 Mar 2005
Posts: 54

PostPosted: Wed Nov 25, 2009 9:19 pm    Post subject: Reply with quote

Thanks, ashtophet, for checking this out for me. So I guess if you wanted to always use the latest available version of the nouveau you should go with the ebuilds as they get the sources from the git repository.
Thanks again!
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3387

PostPosted: Tue Dec 01, 2009 6:21 pm    Post subject: Reply with quote

Just a report... I have this working, using a new vanilla-sources-2.6.31.6 and the suggested patch against 2.6.31. A few hunks were rejected, but they all looked to be in the Intel drivers, so I didn't think it would matter. So far it doesn't.

The patch also appears to be all-inclusive, so all I need is the kernel patch and the mesa, libdrm, and nouveau driver packages.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 137

PostPosted: Fri Dec 11, 2009 3:28 pm    Post subject: Reply with quote

I have an Nvidia Geforce 7800GS AGP 256MB graphics card and I am currently using nvidia binary drivers. I'm a bit fed up with the issues and nvidia not fixing the bugs and I'd like to switch to nouveau, but I don't want to switch to an inferior solution. Will nouveau support the following features on my card:

* dual monitor (now twinview)
* run compiz (I don't care if speed is not that great, but it should be usable and there should not be any out of memory errors like with binary drivers)
* xv support (tvtime)
* opengl. I need 3d hw accel; intel gma965+mesa works fine for me, will nouveau do this too?
* hibernate/resume (don't care about suspend-to-ram, just suspend-to-disk using tuxonice)

Aahh, kms and xrandr support would be so nice to have...
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 445
Location: Brazil

PostPosted: Fri Dec 11, 2009 4:26 pm    Post subject: Reply with quote

Small_Penguin wrote:
I have an Nvidia Geforce 7800GS AGP 256MB graphics card and I am currently using nvidia binary drivers. I'm a bit fed up with the issues and nvidia not fixing the bugs and I'd like to switch to nouveau, but I don't want to switch to an inferior solution. Will nouveau support the following features on my card:

* dual monitor (now twinview)
* run compiz (I don't care if speed is not that great, but it should be usable and there should not be any out of memory errors like with binary drivers)
* xv support (tvtime)
* opengl. I need 3d hw accel; intel gma965+mesa works fine for me, will nouveau do this too?
* hibernate/resume (don't care about suspend-to-ram, just suspend-to-disk using tuxonice)

Aahh, kms and xrandr support would be so nice to have...

It's VERY unlikely that nouveau will be more stable than nvidia binary driver... Specially for your config, which is pretty dated (still using AGP).
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2664
Location: Slovenia

PostPosted: Fri Dec 11, 2009 5:46 pm    Post subject: Reply with quote

Small_Penguin wrote:
* dual monitor (now twinview)
Yes, xrandr 1.2 support is there.

Small_Penguin wrote:
* run compiz (I don't care if speed is not that great, but it should be usable and there should not be any out of memory errors like with binary drivers)
Maybe, but don't count on it, 3d support is still very experimental.

Small_Penguin wrote:
* xv support (tvtime)
Yes, Xv support is there.

Small_Penguin wrote:
* opengl. I need 3d hw accel; intel gma965+mesa works fine for me, will nouveau do this too?
Same thing as for compiz - Maybe you'll be able to play simple stuff like Quake II (and games derived from it), but no guarantees.

Small_Penguin wrote:
* hibernate/resume (don't care about suspend-to-ram, just suspend-to-disk using tuxonice)
Is there and should work.

Small_Penguin wrote:
Aahh, kms and xrandr support would be so nice to have...
There's pretty much only KMS, if UMS is still there, it won't be for long.

Bottom line is this: 2d support works very well, 3d is very experimental and still completely unsupported by the nouveau developers. If it works, be happy. If it doesn't, wait until it matures.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3387

PostPosted: Sun Dec 13, 2009 7:43 pm    Post subject: Reply with quote

An at this point, it must be mentioned that nouveau-drm has made it into 2.6.33 as a staging driver.

No more kernel patching.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
salahx
Guru
Guru


Joined: 12 Mar 2005
Posts: 437

PostPosted: Thu Dec 17, 2009 11:04 pm    Post subject: Reply with quote

Note, however, the staging drivers do not include the "firmware" (or whatever it is the blob uploads to the card, the Nouveau developers aren't sure what it is), since its copyright status is unsure.

The firmware can be downloaded here: http://people.freedesktop.org/~pq/nouveau-drm . If tte firmware for you card is not in it, its possible to extract it frm the blob, althoguh its not for the faint of heart: http://nouveau.freedesktop.org/wiki/CtxInit .
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3387

PostPosted: Thu Dec 17, 2009 11:32 pm    Post subject: Reply with quote

Does anyone have a pointer to a 2.6.32 version of the kernel patch? The only one(s) posted in this thread was for 2.6.31. (and earlier)
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Fri Dec 18, 2009 2:27 pm    Post subject: Reply with quote

nouveau from 2.6.33-rc1 doesn't have kms, do we have to wait for 2.6.34?
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2664
Location: Slovenia

PostPosted: Fri Dec 18, 2009 7:46 pm    Post subject: Reply with quote

Paczesiowa wrote:
nouveau from 2.6.33-rc1 doesn't have kms, do we have to wait for 2.6.34?

Of course it does. In fact, it's all nouveau devs care about and Geforce 8 and up don't even work without KMS.

About the firmware... The devs actually know exactly what it does and it's not required anymore for nv40 cards (Geforce 6 and 7), with support for newer cards coming soon, there was talk about it last night in the #nouveau IRC channel.
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Fri Dec 18, 2009 10:36 pm    Post subject: Reply with quote

hmm, I didn't see nouveau_kms in kernel config, but yeah, it works.

what about X driver? is there something wrong with that x11-overlay ebuild for in-kernel version (it fails to compile) or is it just regular live-ebuild related problem?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum