You are not logged in.

#1 2009-11-01 13:25:42

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

[solved] nouveau and dri issue

Today I upgraded to a new xorg 1.7 version. As it appeared new xorg doesn't support old nvidia hardware, in my case it is GeForce2 MX/MX 400. So, I decided to follow an advice and installed xf86-video-nouveau 0.0.10_git20091013-3, nouveau-drm 0.0.15_20091008-1 and nouveau-dri 7.6-2. It removed nvidia-96xx and nvidia-utils and installed libgl-7.6-2. I added nouveau driver to xorg.conf and rebooted my box. Unfortunately my xorg server doesn't want to load, it fails with

(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/lib/xorg/modules/extensions/libdri.so
(II) NOUVEAU(0): Loaded DRI module
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
[drm] failed to load kernel module "nouveau"
(EE) [drm] drmOpen failed.
(EE) NOUVEAU(0): [drm] error opening the drm
(EE) NOUVEAU(0): 864:
(II) UnloadModule: "nouveau"
(II) UnloadModule: "dri"
(II) UnloadModule: "int10"
(II) Unloading /usr/lib/xorg/modules/libint10.so
(EE) Screen(s) found, but none have a usable configuration.

Any help will be appreciated deeply!


PS I also installed nv driver and it works just fine, but I'm wondering what is going on with nouveau and dri.

Last edited by knedlyk (2009-11-01 18:34:23)

Offline

#2 2009-11-01 16:33:37

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: [solved] nouveau and dri issue

Do you use kernel mode setting and did you already try to disable it?

Offline

#3 2009-11-01 16:45:10

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: [solved] nouveau and dri issue

I didn't use KMS, it is disabled.

Offline

#4 2009-11-01 17:43:46

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: [solved] nouveau and dri issue

knedlyk wrote:

I didn't use KMS, it is disabled.

Well nouveau DRI certainly won't work without KMS.  In fact, I'm not sure the video driver works without it, but I think it should.  So try to test it with KMS enabled.

As well, I wouldn't really recommend nouveau-dri for daily consumption.  I have yet to be able to run two GLX applications at the same time without hard-locking by box.

Offline

#5 2009-11-01 17:57:19

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: [solved] nouveau and dri issue

Thank you, tavianator! I'll try to use nouveau with KMS and post result here.

BTW, nouveau-dri package was installed as a dependency.

Offline

#6 2009-11-01 18:08:01

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: [solved] nouveau and dri issue

Well, I added "options nouveau modeset=1" into /etc/modprobe.d/modprobe.conf and rebooted, but nothing happened, xorg still crashes with the same error. Not good...

Offline

#7 2009-11-01 18:33:58

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: [solved] nouveau and dri issue

What a... I feel very stupid. Everything works, with or without KMS. I completely forgot that I have two kernels in my system, kernel 2.6.31-ARCH and kernel 1.6.31 with bfs patch. The last kernel (bfs) is booted by default, that is why I cannot start xorg with nouveau drivers, which are compiled for a kernel without bfs patch... Shame on me big_smile:-)
Just need to recompile nouveau packages for this kernel and that's it.

SOLVED.

PS For a people who have bfs kernel and old nvidia hardware I made nouveau-drm-bfs AUR package.

Last edited by knedlyk (2009-11-01 22:33:21)

Offline

#8 2009-11-18 19:54:27

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,923
Website

Re: [solved] nouveau and dri issue

knedlyk wrote:

For a people who have bfs kernel and old nvidia hardware I made nouveau-drm-bfs AUR package.

Thanks a bunch!


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB