Skip to contentSkip to conversation

unable to compile xf86-video-nouveau

DISCUSSION Bob Gleitsmann 2 participants 3 messages Jul 9, 2008 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Greetings,

After the modesetting commit, I have been unable to compile xf86-video-nouveau. The git site for drm given on the wiki page does not get the proper xf86drmMode.h, etc. I noted that libdrm git has over 100 branches and I really don't want to try all of them. Fedora 9 has a patch of the libdrm source rpm that includes an earlier version of xf86drmMode.h but it's now out of date. I would like to follow along in the development of nouveau as I have a GeForce 6800 GTO.
Your kind help would be appreciated.

Best Wishes,

Bob Gleitsmann

A message that is not in the archive (sent off-list or not yet received): 200807082243.12120.rjgleits-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.org

#2 lore raw
Quoted 10 lines · Bob Gleitsmann

Greetings,

After the modesetting commit, I have been unable to compile xf86-video-nouveau. The git site for drm given on the wiki page does not get the proper xf86drmMode.h, etc. I noted that libdrm git has over 100 branches and I really don't want to try all of them. Fedora 9 has a patch of the libdrm source rpm that includes an earlier version of xf86drmMode.h but it's now out of date. I would like to follow along in the development of nouveau as I have a GeForce 6800 GTO.
Your kind help would be appreciated.

You're probably using a modesetting drm branch. The easy solution is to switch to the plain drm branch.

If you really want to stick to the drm modesetting branch then you AFAICT need git xorg, or some workarounds that make it compile for non-git xorg.

Patch attached, but note that this is only a workaround. You can commit it to your local nouveau repo and then git-rebase it after git-fetching (I hope you know how to do that ;) .

Good luck,
Renato Caldas

Quoted 8 lines

Best Wishes,

Bob Gleitsmann
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

commit 5cf052ebf51a7f6b747113dbdb3e9263000a776f

Author: Renato Caldas <[email protected]>
Date:   Thu Jun 26 16:27:10 2008 +0100

Fix compilation for modesetting drm and non-git xorg

src/drmmode_display.c +1 -1
index 3807a05..bc3bf5f 100644
@@ -404,7 +404,7 @@ drmmode_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue, in
 
 static const xf86CrtcFuncsRec drmmode_crtc_funcs = {
 	.dpms = drmmode_crtc_dpms,
-	.set_mode_major = drmmode_set_mode_major,
+	//.set_mode_major = drmmode_set_mode_major,
 	.set_cursor_colors = drmmode_set_cursor_colors,
 	.set_cursor_position = drmmode_set_cursor_position,
 	.show_cursor = drmmode_show_cursor,

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1caff7430807090333t571925c5wf0ea4cbef105bbff-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 15 lines · Renato Caldas
Quoted 10 lines · Bob Gleitsmann

Greetings,

After the modesetting commit, I have been unable to compile xf86-video-nouveau. The git site for drm given on the wiki page does not get the proper xf86drmMode.h, etc. I noted that libdrm git has over 100 branches and I really don't want to try all of them. Fedora 9 has a patch of the libdrm source rpm that includes an earlier version of xf86drmMode.h but it's now out of date. I would like to follow along in the development of nouveau as I have a GeForce 6800 GTO.
Your kind help would be appreciated.

You're probably using a modesetting drm branch. The easy solution is to switch to the plain drm branch.

Quoted 7 lines

If you really want to stick to the drm modesetting branch then you AFAICT need git xorg, or some workarounds that make it compile for non-git xorg.

Patch attached, but note that this is only a workaround. You can commit it to your local nouveau repo and then git-rebase it after git-fetching (I hope you know how to do that ;) .

Ah, the problem is a different one, and just realized it was there. You need to stick to plain drm for now. Some changes were made to it that are still not part of the modesetting branch.

Cheers,
Renato

Quoted 12 lines

Good luck,
Renato Caldas

Quoted 8 lines

Best Wishes,

Bob Gleitsmann
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau