Skip to contentSkip to conversation

New: Nouveau driver from git fails to build

Bug 23231 [email protected] 1 participant 8 messages Aug 10, 2009 – Aug 13, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=23231

Summary: Nouveau driver from git fails to build
Product: xorg
Version: 6.99.99.904 (7.0 RC4)
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: high
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Hi to all,
I'm currently using Fedora Rawhide 12 Constantine.
I also complile D.R.M the unamed git repository for the nouveau kernel moudules,Mesa and the Nouveau driver form git.My graphics card is an nvidia geforce 6,800 G.T with 256Mb of memory,my monitor is a A.D.I Microscan G1000.

I've been building the former source code from git ok,but I'm having trouble building the Nouveau driver.I update the commits from the nouveau git repository regulary.

The problem is after ./configure and then run make.I'll try and type the error I'm getting as accurately as possible:

Make all-recursive
make[1]: Entering directory '/opt/xf86-video-nouvuea'
Making all in src
make[2]: entering directory '/opt/xf86-video-nouveau/src'
CC nouveau_exa.lo
nouveau_exa.c: In function 'nouveau_exa_init' nouveau_exa.c:576:error:'EXA_MIXED_PIXMAPS'undelclared(first use in this function
nouveau_exa.c:576:error:for each function declared in) make[2]:*** [nouveau_exa.lo] Error1

I hope anybody can solve this problem.
Regards,

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

[Bug 23231] Nouveau driver from git fails to build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=23231

Pekka Paalanen <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #1 from Pekka Paalanen <[email protected]> 2009-08-10 03:29:56 PST --- Excerpt from #nouveau:
10:14:41 < okias> Hello, have anyone idea why i can't compile ddx?
http://pastebin.ca/1523661
10:15:25 < darktama> okias: your xserver isn't new enough

where the referred paste contains the same bug as you:
nouveau_exa.c:576: error: ‘EXA_MIXED_PIXMAPS’ undeclared (first use in this function)

It was introduced in the DDX commit commit 30ddd08bb2739514edf6d6e137f533b34a4369d2, "exa: turn on new exa migration mode for driver pixmaps".

The "fix" is in xorg-server commit
http://cgit.freedesktop.org/xorg/xserver/commit/?id=03ecb164f2592c954aa408bf121e0c67b604d854
"exa: A simple 3rd backend implementation.", so the solution is to update your xorg-server from git.

An alternative solution is to downgrade xorg-server to a version prior EXA 2.5. Today that means any xorg-server version officially released.

Closing as not a bug.

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#3 lore raw

[Bug 23231] Nouveau driver from git fails to build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=23231

Michel Dänzer <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |

--- Comment #2 from Michel Dänzer <[email protected]> 2009-08-10 03:51:31 PST --- The driver needs to check that EXA_MIXED_PIXMAPS is defined before using it. The radeon driver just guards that code by #ifdef EXA_MIXED_PIXMAPS.

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#4 lore raw

[Bug 23231] Nouveau driver from git fails to build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=23231

--- Comment #3 from Ben Skeggs <[email protected]> 2009-08-10 04:01:31 PST ---
Michel: While it would be easy enough to do that, sure, I have no intentions
of attempting to preserve compatibility between pre-release servers. We
currently check for >= EXA 2.5 before assuming mixed pixmaps are available,
that seems sufficient no?

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

[Bug 23231] Nouveau driver from git fails to build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=23231

--- Comment #4 from Michel Dänzer <[email protected]> 2009-08-10 04:09:20 PST --- If it was sufficient, would this report exist? If Maarten intended the minor version to be used for this, he should have bumped it.

Even if it was sufficient, from my POV it's unnecessarily both more complicated and limiting than just #ifdef EXA_MIXED_PIXMAPS. But of course it's ultimately up to you.

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#6 lore raw

[Bug 23231] Nouveau driver from git fails to build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=23231

--- Comment #5 from Ben Skeggs <[email protected]> 2009-08-10 04:21:40 PST --- The reporter is using non-released software, it shouldn't be unexpected that
things break. Why bother with compatibility for something that's never going
to make it into a release? Are we going to do the same when CreatePixmap2()
gets modified again before the release? In which case we have #ifdefs for 3
different APIs...

It's no real trouble to allow use of both, I just didn't see the point. Not to mention that before mixed pixmaps, driver pixmaps were essentially unusably slow on some chipsets.

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

[Bug 23231] Nouveau driver from git fails to build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=23231

--- Comment #6 from Michel Dänzer <[email protected]> 2009-08-10 04:28:12 PST --- (In reply to comment #5)

Quoted 2 lines

Are we going to do the same when CreatePixmap2() gets modified again before the release?

How would you handle that with #ifdefs? It's gonna need an EXA version change (minor bump, probably).

Quoted 1 line

It's no real trouble to allow use of both, I just didn't see the point.

Bisectability, e.g.?

Anyway, I think I've presented my arguments and am going to stop now. Do as you see fit.

Signature · 7 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#8 lore raw

[Bug 23231] Nouveau driver from git fails to build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=23231

Steven Ward <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Steven Ward <[email protected]> 2009-08-13 12:56:20 PST --- Hi guys,
As of the latest updates tonight,the nouveau driver from git builds
successfully now.The latest xorg package version is now 1.6.99-33.20090807.

I would like to thank you very much for trying to help me.

I have a build problem with Mesa,but I'm going to file a different bug report on that one.

With your permission,I'm going to close this bug as fixed.

Regards,

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