Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123534 - Problems installing compiz with radeon card
Summary: Problems installing compiz with radeon card
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 125981 126005 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-20 13:36 UTC by Anders Christensen
Modified: 2006-03-13 01:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Christensen 2006-02-20 13:36:21 UTC
I'm having a problem getting my graphic card to work when installing compiz.
I have an ATI Radeon Mobility X600 (M24) 3150 (PCIE). It's a Dell Latitude D810 labtop.

I've followed the guides om gentoo-wiki.org. It uses an overlay containing versions of media-libs/mesa, x11-libs/cairo, x11-base/xgl  and  x11-wm/compiz. With some small tricks I was able to emerge almost everything needed - but not mesa from the overlay. But I was able to emerge the 6.4.2-r1 mesa-version from portage (the overlay version is 6.4.3_alpha20060216). With 6.4.2-r1 installed I was able to emerge the remaining packages (glitz, xgl  and  compiz).

Unfortunately compiz won't run. I execute "./startxgl 1" and after a few seconds I see the standard X interface with a black/white squares, but only for a second. Then I'm back at the console wiht an errormessage.

What can be wrong?
./Anders.


----> Copy/paste from /var/log/Xorg.93.log:

drmOpenDevice: node name is /dev/dri/card251
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card252
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card253
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card254
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
(II) RADEON(0): [drm] drmOpen failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
(II) RADEON(0): Depth moves disabled by default
(II) RADEON(0): Memory manager initialized to (0,0) (1696,8191)
(II) RADEON(0): Reserved area from (0,1050) to (1696,1052)
(II) RADEON(0): Largest offscreen area available: 1696 x 7139
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1052)
(II) RADEON(0): Largest offscreen area available: 1696 x 7134
(II) RADEON(0): No video input capabilities detected and no information is provided - disabling multimedia i2c
(II) Loading sub module "theatre_detect"
(II) LoadModule: "theatre_detect"
(II) Loading /usr/lib/xorg/modules/multimedia/theatre_detect_drv.so
(II) Module theatre_detect: vendor="X.Org Foundation"
        compiled for 4.3.99.902, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(WW) RADEON(0): Direct rendering disabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
((II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/psaux"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "ca(fr)"
(**) Keyboard0: XkbLayout: "ca(fr)"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Option "Device" "/dev/psaux"
(II) Mouse0: GuessProtocol: setting mouse protocol to "PS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.




----> cat startxgl.sh:

#!/bin/bash
echo ">Starting XGL at Display: $1"
echo "========= XGL ============"
Xgl :$1 -ac -accel xv -accel glx:pbuffer &
sleep 3
echo "======= COMPIZ ==========="
DISPLAY=:$1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace decoration wobbly fade switcher minimize cube rotate zoom scale move resize place &
sleep 3
echo "====== DECORATIONS ======="
DISPLAY=:$1 gnome-window-decorator &
sleep 3
echo "======= GNOME ============"
DISPLAY=:$1 gnome-session
#echo "======= LOGOUT ============"
#killall Xgl
# Adding the line above,if you can't logout Gnome correctly.




----> Here is the error I get when trying to compile mesa version 6.4.3_alpha20060216 via the overlay:

i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../../drm/shared-core -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri  `pkg-config --cflags libdrm` -Wall -Wmissing-prototypes -O2 -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer -fPIC -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib/xorg/modules/dri"' -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 -ffast-math  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib/xorg/modules/dri"' intel_ioctl.c -o intel_ioctl.o
intel_ioctl.c: In function `intelGetLastFrame':
intel_ioctl.c:49: error: `I915_PARAM_LAST_DISPATCH' undeclared (first use in this function)
intel_ioctl.c:49: error: (Each undeclared identifier is reported only once
intel_ioctl.c:49: error: for each function it appears in.)
make[6]: *** [intel_ioctl.o] Error 1
make[6]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/src/mesa/drivers/dri/i915'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/src/mesa/drivers/dri'
make[4]: *** [linux-solo] Error 2
make[4]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.3_alpha20060216/work/Mesa'
make: *** [linux-dri-x86] Error 2

!!! ERROR: media-libs/mesa-6.4.3_alpha20060216 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-20 13:42:26 UTC
We cannot support ebuilds that are not in portage.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-12 15:01:25 UTC
*** Bug 125981 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-13 01:58:06 UTC
*** Bug 126005 has been marked as a duplicate of this bug. ***