SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
AFAIK those cards are not supported anymore, the drivers don't work with the recent kernels (one gets the error you posted). On my old comupter my Pardus 2009 system uses the Nouveau driver for TNT2 and it seemed to work OK. I didn't test the 3D support thoroughly, but at least glxgears was working.
I run make but I'm getting some strange compiler errors.. I probably don't have right dependencies.
This file is included:
Code:
The dependencies for drm.ko, ttm.ko and nouveau.ko can be checked from the
file drivers/gpu/drm/Kconfig. All "depends" and "select" features must be
enabled. If you make e.g. nouveau.ko built-in, all the dependencies must
be built-in, too.
Here is a list of the usual options you might be missing:
DRM depends on
I2C
I2C_ALGOBIT
NOUVEAU depends on
FB
FRAMEBUFFER_CONSOLE
BACKLIGHT_LCD_SUPPORT
BACKLIGHT_CLASS_DEVICE
FB_CFB_FILLRECT
FB_CFB_COPYAREA
FB_CFB_IMAGEBLIT
For Nouveau, the last three may be a problem, since there is no menuconfig
entry to enable them. You can get them by enabling another driver, that
depends on (selects) them, e.g. CONFIG_FB_SAVAGE. It is recommended to
build FB and FRAMEBUFFER_CONSOLE into the kernel if you plan on using KMS.
But I'm not sure what that is. Are those items in CAPS kernel options which must be enabled to compile?
EDIT: Ok, well I think all those kernel options are enabled by looking at the /boot/config file.
Since you haven't posted the errors I can't tell what the problem is. But it's very much likely to be kernel version incompatibility. Did you follow the guide here? You can try upgrading to a recent kernel or grabbing a Nouveau package with an older date.
KMS you say, thought I had enable that in the menuconfig.
But I tried compiling and got the following errors:
Code:
CC [M] drivers/gpu/drm/i915/i915_suspend.o
CC [M] drivers/gpu/drm/i915/i915_gem.o
CC [M] drivers/gpu/drm/i915/i915_gem_debug.o
CC [M] drivers/gpu/drm/i915/i915_gem_tiling.o
drivers/gpu/drm/i915/i915_gem_tiling.c: In function 'intel_alloc_mchbar_resource':
drivers/gpu/drm/i915/i915_gem_tiling.c:111: error: implicit declaration of function 'pnp_range_reserved'
make[4]: *** [drivers/gpu/drm/i915/i915_gem_tiling.o] Error 1
make[3]: *** [drivers/gpu/drm/i915] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I'll bang around and see if I can find KMS in menuconfig...
My problem with the guide here is down at this portion:
Quote:
If you want KMS support and a fancy framebuffer console, enable
Device drivers -> Graphics support ->
Support for framebuffer devices (CONFIG_FB)
Console display driver support ->
Framebuffer Console support (CONFIG_FRAMEBUFFER_CONSOLE)
In my menuconfig I have no "Console display driver support ->" under "Support for framebugger devices", which is where KMS support is apparently enabled.
Could be the problem? Am I missing some drivers/modules from my kernel source? I made the suggested edits to my kernel source using the "nouveau/linux 2.6/" tree, so that should be fine.
I'd strongly suggest a recent one. Even if you manage to compile it with 2.6.29, DRM was just introduced back then. The current kernel code should be more stable.
edit: From what I gather from my reading (snip) this current xserver is not comptabile with the legacy drivers: 71.86.11.
Oh well..
What would it take to downgrade my xserver? I've never attempted something like that, anyone give a little push in the right direction?
Or any experiencing using "nouveau" drivers with Slackware?
As far as I know, downgrading is not recommended/supported and the driver is no longer supported with the newer xorg. It can be done however, but no telling how long such a setup will work before something breaks.
Well, finally compiled a working kernel (2.6.31.6) with support from nouveau tree. Edited Xorg to "nouveau" instead of "nv", and ran startx.
Code:
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/local" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/local" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic,
built-ins
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x1de0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7
(--) PCI:*(0:1:0:0) 10de:0028:1092:5a02 rev 17, Mem @ 0xf5000000/16777216, 0xfc000000/33554432
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) NVIDIA GLX Module 71.86.11 Thu Jun 25 18:39:46 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "nouveau"
(WW) Warning, couldn't open module nouveau
(II) UnloadModule: "nouveau"
(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) No drivers available.
Hm, nouveau does not exist.
And yet, lsmod:
Code:
Module Size Used by
nouveau 559008 1
ttm 32900 1 nouveau
drm_kms_helper 22180 1 nouveau
parport_pc 22276 0
intel_agp 23724 1
3c59x 32988 0
parport 28200 1 parport_pc
drm 133580 3 nouveau,ttm,drm_kms_helper
i2c_algo_bit 4672 1 nouveau
ide_cd_mod 24124 0
agpgart 26564 3 ttm,intel_agp,drm
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.