Skip to contentSkip to conversation

New: can't compile drm_nouveau. Slackware 12.2 (linux-2.6.38-r4 from gentoo-sources)

Bug 37026 [email protected] 2 participants 4 messages May 9, 2011 – Jul 11, 2011 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=37026

Summary: can't compile drm_nouveau. Slackware 12.2
(linux-2.6.38-r4 from gentoo-sources)
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

# git clone git://anongit.freedesktop.org/git/mesa/drm
# cd ./drm 
# ./autogen.sh 
http://paste.pocoo.org/show/385919/

Here is my kernel .config
http://paste.pocoo.org/show/385920/
or

# grep DRM .config
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_NOUVEAU=y

Here is # head /var/log/messages
http://paste.pocoo.org/show/385922/

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw
In reply to a message not in the archive

First I am a bit surprised that you use a kernel coming from gentoo on Slackware 12.2.

I would suggest you configure, compile and install a vanilla 2.6.39-rc7 (as of today) kernel, re-using one of the .config files available in a slackware-13.37 mirror, in the directory /slackware-13.37-mirror/testing/source/linux-2.6.39-rc4-configs

In of of these you'll get e.g. :

bash-4.1$ grep DRM config-generic-smp-2.6.39-rc4-smp CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
...
CONFIG_DRM_NOUVEAU=m CONFIG_DRM_NOUVEAU_BACKLIGHT=y CONFIG_DRM_NOUVEAU_DEBUG=y
...

Please note that all drivers are modularized, though I don't know if that really matters.

Then, I suggest that you re-use the SlackBuilds available in:
/slackware-13.37-mirror/testing/source
to build Slackware package(s) for recent (but not git) version(s) of (mesa and) libdrm, i.e. lindrm-24.25 and mesa-7.10.2.

If this work (which I am not sure at all as the other components of the X stack and the libraries are pretty old in slackware-12.2), you will be able to build xf86-video-nouveau-git_20110417_8378443 the same way.

PS Out of curiosity, why put a very recent X stack on top of a very old distribution?

Quoted 34 lines · On 09/05/2011 19:10, [email protected]…

https://bugs.freedesktop.org/show_bug.cgi?id=37026

Summary: can't compile drm_nouveau. Slackware 12.2
(linux-2.6.38-r4 from gentoo-sources)
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

# git clone git://anongit.freedesktop.org/git/mesa/drm
# cd ./drm
# ./autogen.sh
http://paste.pocoo.org/show/385919/

Here is my kernel .config
http://paste.pocoo.org/show/385920/
or

# grep DRM .config
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_NOUVEAU=y

Here is # head /var/log/messages
http://paste.pocoo.org/show/385922/

#5 lore raw

[Bug 37026] can't compile drm_nouveau. Slackware 12.2 (linux-2.6.38-r4 from gentoo-sources)

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=37026

Emil Velikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Emil Velikov <[email protected]> 2011-07-11 09:11:56 PDT --- Hi Volodymyr

It seems like missing dependencies to me.

I had similar messages on my Ubuntu and Arch.
* Ubuntu
"apt-get build-dep xf86-video-nouveau"
* Arch
"makepkg -s /path/to/build/script/PKGBUILD"

Take a look for an appropriate solution for your distro, or simply use this list
NOTE: Archlinux example - may be incomplete

* 'xorg-server'
* 'xorg-server-devel'
* 'xproto'
* 'fontsproto'
* 'libdrm'
* 'xf86driproto'
* 'randrproto'
* 'renderproto'
* 'glproto'
* 'videoproto'
* 'xextproto'
* 'xorg-util-macros'
* 'mesa'

Cheers
Emil

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.