or scratch the itch yourself...lordcris wrote:licor wrote:
any update on this? I'm getting this same error on the current cvs.. :S
nope.
you should temporally switch to the stable version ...


Scratching the itch is a non-trivial amount of work, but for those who'd like to try, there is a "pci-rework" branch in the git repository on freedesktop.org. At the moment only the ati driver has been reworked, the radeon, r128 and theatre drivers are commented out of the config.Slippery Jim wrote:or scratch the itch yourself...lordcris wrote:licor wrote:
any update on this? I'm getting this same error on the current cvs.. :S
nope.
you should temporally switch to the stable version ...
Code: Select all
xorg-server-1.3.99.999-fix-xorgcfg-pixman.patchCode: Select all
--- hw/xfree86/utils/xorgcfg/Makefile.am.orig 2007-09-02 19:54:30.000000000 +0000
+++ hw/xfree86/utils/xorgcfg/Makefile.am 2007-09-02 20:01:46.000000000 +0000
@@ -29,7 +29,7 @@
if BUILD_XORGCFG
bin_PROGRAMS = xorgcfg
-INCLUDES = $(XORG_INCS) -I$(top_srcdir)/hw/xfree86/parser
+INCLUDES = $(XORG_INCS) -I$(top_srcdir)/hw/xfree86/parser -I$(includedir)/pixman-1
OPTIONSPATH=$(libdir)/X11
Code: Select all
--- layman/r300-driver/x11-base/xorg-server/xorg-server-1.3.99.999.ebuild 2007-06-21 23:21:40.000000000 +1000
+++ overlay/x11-base/xorg-server/xorg-server-1.3.99.999.ebuild 2007-09-12 11:52:53.000000000 +1000
@@ -275,7 +275,9 @@
pkg_setup() {
use minimal || ensure_a_server_is_building
- PATCHES="${FILESDIR}/${P}-fix-sysconfdir-references.patch"
+ PATCHES="${FILESDIR}/${P}-fix-sysconfdir-references.patch
+ ${FILESDIR}/${P}-fix-xorgcfg-pixman.patch
+ "
# Patches required for compiz to work with AIGLX,
# but they slow EXA down.
@@ -567,8 +569,8 @@
xorg_src_unpack() {
local EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver"
local EGIT_PROJECT="xorg-server"
- local EGIT_BRANCH="master"
- local EGIT_TREE="master"
+ local EGIT_BRANCH="no-pci-rework"
+ local EGIT_TREE=${EGIT_BRANCH}
git_src_unpack
}


If you still want to test on the bleeding edge, you can install the x11 overlay to get most of the good stuff that was in primozic's r300 overlay. There were compilation issues last week, but I submitted some patches to the overlay ebuilds, and everything listed below emerges cleanly now. Note that you can't compile xf86-video-ati-6* against xorg-server-9999, due to API changes. This affects downgrading to stable too, because portage tries to downgrade xf86-video-ati before downgrading xorg-server, and therefore tries to build xf86-video-ati-6* against the installed xorg-server, which fails. Manually downgrade xorg-server first to work around this, if you're having trouble.Shamus397 wrote:It seems that the r300-driver overlay has been abandoned, but at least what's in portage seems to work now.
I unmerged all the stuff from the overlay and re-emerged all the packages from the regular portage tree and amazingly enough, it worked (where it == 3D acceleration). So I guess this thread is no longer needed--at least for R300 based cards. I'm using the 1.4 xorg-server in portage on ~x86.
Also, I just wanted to say a great big THANK YOU to all of the people who supported and contributed to the overlay. We'd all have been stuck without decent free 3D acceleration on radeon without your dedication and support.
Code: Select all
layman -a x11Code: Select all
# Mesa DRI stuff: #
#~~~~~~~~~~~~~~~~~#
x11-libs/libdrm ~amd64
x11-base/x11-drm ~amd64
media-libs/mesa ~amd64
x11-apps/mesa-progs ~amd64
x11-misc/driconf ~amd64
# xorg 1.4 stuff: #
# Add to package.mask:
# =x11-base/xorg-server-9999
# =x11-proto/inputproto-9999
#
#~~~~~~~~~~~~~~~~~#
x11-proto/renderproto ~amd64
x11-libs/pixman ~amd64
x11-libs/libXrender ~amd64
x11-libs/libXtst ~amd64
x11-libs/libXaw ~amd64
x11-libs/libXpm ~amd64
x11-libs/libX11 ~amd64
x11-libs/xtrans ~amd64
x11-libs/libXfont ~amd64
x11-libs/libXi ~amd64
x11-apps/xinit ~amd64
x11-drivers/xf86-input-keyboard ~amd64
x11-base/xorg-server ~amd64
#x11-misc/xkeyboard-config ~amd64
### X11 overlay stuff: ###
# Remove from package.mask:
# =x11-base/xorg-server-9999
# =x11-proto/inputproto-9999
#
# Uncomment these as necessary:
#~~~~~~~~~~~~~~~~~~~~~~~~#
x11-proto/inputproto ~amd64
x11-proto/xf86dgaproto ~amd64
x11-libs/libpciaccess ~amd64
x11-drivers/xf86-video-ati ~amd64
Code: Select all
# comment out for overlay (-9999) versions:
=x11-base/xorg-server-9999
=x11-proto/inputproto-9999
=x11-libs/pixman-9999
Code: Select all
### uncomment the one you want, and comment out the others:
#=x11-drivers/xf86-video-ati-6.6*
#=x11-drivers/xf86-video-ati-6.7*
=x11-drivers/xf86-video-ati-9999*
Code: Select all
x86_64-pc-linux-gnu-gcc -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/kerberos/include -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I/usr/include/freetype2 -DXPRINT -DPRINT_ONLY_SERVER -D_XP_PRINT_SERVER_ -DXPRINTDIR=\"/usr/lib64/X11/xserver\" -DXPRASTERDDX -DXPPCLDDX -DXPMONOPCLDDX -DXPPSDDX -DXFree86Server -march=athlon64 -O2-pipe -Wl,-z -Wl,lazy -Wl,-z -Wl,lazy -o Xprt Xprt-attributes.o Xprt-AttrValid.o Xprt-ddxInit.o Xprt-Init.o Xprt-mediaSizes.o Xprt-Oid.o Xprt-spooler.o Xprt-Util.o Xprt-miinitext-wrapper.o Xprt-dpmsstubs-wrapper.o Xprt-fbcmap_mi.o -L/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999 ../../dbe/.libs/libdbe.a ../../XTrap/.libs/libxtrap.a ../../record/.libs/librecord.a ../../composite/.libs/libcomposite.a ../../randr/.libs/librandr.a ../../xfixes/.libs/libxfixes.a ../../damageext/.libs/libdamageext.a ../../Xi/.libs/libXi.a ../../GL/glx/.libs/libglx.a ../../GL/mesa/.libs/libGLcore.a ../../miext/damage/.libs/libdamage.a ps/.libs/libps.a raster/.libs/libraster.a pcl/.libs/libpcl.a pcl-mono/.libs/libpcl.a ../../fb/.libs/libfb.a ../../render/.libs/librender.a ../../dix/.libs/libdix.a ../../config/libconfig.a ../../mi/.libs/libmi.a ../../Xext/.libs/libXext.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../os/.libs/libos.a /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so -ldl /usr/lib64/libXfont.so /usr/lib64/libfreetype.so /usr/lib64/libXau.so /usr/lib64/libfontenc.so -lz /usr/lib64/libpixman-1.so /usr/lib64/libhal.so /usr/lib64/libdbus-1.so /usr/lib64/libXdmcp.so -lcrypto -lm -lrt
ps/.libs/libps.a(PsInit.o): In function `InitializePsDriver':
PsInit.c:(.text+0xd36): undefined reference to `GlxWrapInitVisuals'
collect2: ld returned 1 exit status
make[3]: *** [Xprt] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw/xprint'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw/xprint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw'
make: *** [all-recursive] Error 1Code: Select all
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"
FEATURES="collision-protect"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://mirror.ing.unibo.it/gentoo/ http://ftp.caliu.info/gentoo/ "
USE="3dnow 3dnowext a52 aac acl acpi apache2 bash-completion bluetooth bzip2 cdparanoia cups divx4linux dts exif flac gdbm glitz glx gphoto2 gpm gps gtk2 icqimlib jabber java javascript joystick junit ieee1394 libwww lirc lm_sensors matroska mmx mmxext mono mplayer msn multiuser nsplugin nptl nptlonly ocaml pcre perl php python ruby scanner speex sse sse2 usb v4l vim-syntax x264 xcb xcomposite xml2 xmlrpc xpm xprint xscreensever xvid xaw3d -arts -emboss -esd -evo -oss"
VIDEO_CARDS="radeon"
ALSA_CARDS="cs46xx hda-intel"
INPUT_DEVICES="evdev keyboard mouse joystick"
LINGUAS="it"
PORTDIR_OVERLAY=""
source /usr/portage/local/layman/make.conf
LIRC_DEVICE="serial"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajpproxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
Code: Select all
# emerge -pv xorg-server
[ebuild U ] x11-base/xorg-server-9999 [1.4.0.90-r2] USE="dri hal ipv6 sdl xorg xprint (-3dfx) -debug -dmx -kdrive -minimal (-nptl)" INPUT_DEVICES="evdev joystick keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="radeon -fbdev -i810 -mach64 -mga -nv -r128 -rendition -savage -tdfx -vesa -vmware (-xgi) (-amd%) (-apm%) (-ark%) (-chips%) (-cirrus%) (-cyrix%) (-dummy%) (-epson%) (-fglrx%) (-glint%) (-i128%) (-i740%) (-impact%) (-imstt%) (-neomagic%) (-newport%) (-nsc%) (-nvidia%) (-s3%) (-s3virge%) (-siliconmotion%) (-sis%) (-sisusb%) (-sunbw2%) (-suncg14%) (-suncg3%) (-suncg6%) (-sunffb%) (-sunleo%) (-suntcx%) (-tga%) (-trident%) (-tseng%) (-v4l%) (-vermilion%) (-vga%) (-via%) (-voodoo%)" 0 kB [0=>1]
Total: 2 packages (2 upgrades), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/portage/local/layman/x11Code: Select all
laj@NeXT ~ $ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)Code: Select all
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x1efff000 at 0x2af6c443e000
(II) RADEON(0): [drm] Closed DRM master.
(WW) RADEON(0): Direct rendering disabledCode: Select all
$ dmesg | tail
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:03:00.0 to 64
[drm] Initialized radeon 1.28.0 20060524 on minor 0
[drm] Setting GART location based on new memory map
[drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory
