View previous topic :: View next topic |
Author |
Message |
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Nov 11, 2007 3:04 pm Post subject: ati 8.42 and AIGLX [SOLVED] |
|
|
Hy,
I just installed the fglrx 8.42.3 from the ati site, but I don't know how to enable and configure the AIGLX support.
I have an ATI mobility radeon x1600 and the 7.2 xorg. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Last edited by Impalatore-polacco on Sun Nov 11, 2007 10:00 pm; edited 1 time in total |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Sun Nov 11, 2007 3:52 pm Post subject: |
|
|
open google and search gentoo aiglx.. |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Nov 11, 2007 4:33 pm Post subject: |
|
|
OK, I've done everything on this site: http://gentoo-wiki.com/HOWTO_AIGLX
but when I do this:
Code: | eselect opengl list |
I get only xorg-x11 and no ati acceleration...why?
This is the output from X log:
Code: | el-loco-asus el-loco # grep -e EE -e WW -e AIGLX /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(**) Option "AIGLX" "true"
(II) Loading extension MIT-SCREEN-SAVER
(WW) fglrx(0): Failed to open DRM connection
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Only one display is connnected,so single mode is enabled
(WW) fglrx(0): No DRM connection for driver fglrx.
(**) AIGLX enabled
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(WW) fglrx(0): Textured Video not supported without DRI enabled.
(WW) fglrx(0): Option "RenderAccel" is not used
(EE) AIGLX: Screen 0 is not DRI capable
|
_________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
yoshi314 l33t
Joined: 30 Dec 2004 Posts: 850 Location: PL
|
Posted: Sun Nov 11, 2007 4:42 pm Post subject: |
|
|
that's because you installed fglrx via ati installer.
you must use an ebuild to add entries for eselect opengl to be able to switch drivers. _________________ ~amd64
shrink your /usr/portage with squashfs+aufs |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Nov 11, 2007 4:52 pm Post subject: |
|
|
OK...but how to do this? I searched on google but I can't find howto...
Thanks for help. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Sun Nov 11, 2007 5:10 pm Post subject: |
|
|
emerge -va ati-drivers
The one thing you should get used to with Gentoo: Almost everything is in portage, enjoy its comfort. Perhaps you have to unmask it to get the latest version though. |
|
Back to top |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Nov 11, 2007 9:10 pm Post subject: |
|
|
I've done the overlay, I've copied all the patches for the 8.42.3 ati drivers, but when I try to emerge the 8.42.3 ati driver the compile fail with this errors:
Code: | Portage tree and overlays:
[0] /usr/portage
[1] /usr/local/portage
Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) x11-drivers/ati-drivers-8.42.3 to /
* ati-driver-installer-8.42.3-x86.x86_64.run MD5 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking ati-driver-installer-8.42.3-x86.x86_64.run ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.22-gentoo-r9/build
* Found sources for kernel version:
* 2.6.22-gentoo-r9
>>> Unpacking source...
* Applying ati-powermode-opt-path.patch ...
[ ok ]
* Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ...
[ ok ]
>>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/extra
* Applying ati-drivers-8.42.3-warnings.patch ...
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work ...
* Preparing fglrx module
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo-r9'
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:365: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:366: warning: initialization from incompatible pointer type
/var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:527: warning: ‘firegl_smp_func_parameter_wrap’ defined but not used
LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.42.3/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r9'
* Building fgl_glxgears
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
*
* ERROR: x11-drivers/ati-drivers-8.42.3 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ati-drivers-8.42.3.ebuild, line 189: Called die
* The specific snippet of code:
* "$(tc-getCC)" -o fgl_fglxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU \
* -I"${S}"/common/usr/include fgl_glxgears.c \
* -lGL -lGLU -lX11 -lm || die "fgl_glxgears build failed"
* The die message:
* fgl_glxgears build failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.42.3/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
*
* Messages for package x11-drivers/ati-drivers-8.42.3:
*
* ERROR: x11-drivers/ati-drivers-8.42.3 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ati-drivers-8.42.3.ebuild, line 189: Called die
* The specific snippet of code:
* "$(tc-getCC)" -o fgl_fglxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU \
* -I"${S}"/common/usr/include fgl_glxgears.c \
* -lGL -lGLU -lX11 -lm || die "fgl_glxgears build failed"
* The die message:
* fgl_glxgears build failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.42.3/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
* |
UPDATE: I've applied the fgl_glxgears patch _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
arabis Apprentice
Joined: 11 Apr 2005 Posts: 195 Location: Québec, Canada
|
Posted: Sun Nov 11, 2007 10:01 pm Post subject: |
|
|
@Impalatore-polacco:
As Dottout suggested, did you use the sabayon overlay or did you use the ebuild from bugzilla? _________________ Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Sun Nov 11, 2007 11:55 pm Post subject: |
|
|
I've copied the ati-drivers dir to /usr/local/portage/x11-drivers/ati-drivers and then I've renamed the 8.40.4 ebuilds and patches to 8.42.3 and then I emerged the ati-drivers, thet's all. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
arabis Apprentice
Joined: 11 Apr 2005 Posts: 195 Location: Québec, Canada
|
Posted: Mon Nov 12, 2007 1:05 am Post subject: |
|
|
After reading this post https://forums.gentoo.org/viewtopic-t-604241-highlight-atidrivers.html
and this bug https://bugs.gentoo.org/show_bug.cgi?id=196820
I think getting ati-drivers-8.42.3 to work properly is more complicated then rename 8.40.4 ebuilds and patches to 8.42.3.
For now, I think the best way is using the ebuild provided in the bug 196820.
But, if you want to use compiz with aiglx, it seems that noboby has found a solution yet. _________________ Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Mon Nov 12, 2007 8:52 am Post subject: |
|
|
I have to configure and install compiz....I don't know if this work for me with this drivers....after the installation I tell you if it's all ok or not. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Tue Nov 20, 2007 9:19 pm Post subject: |
|
|
Yep....compiz works very vell on my Asus F3JA....I have a mobility radeon x1600....yea, I's not too fast and maybee some unstable, but it's work, I can move my cube and resize every window...It's more stable that I think. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Wed Nov 21, 2007 8:07 pm Post subject: |
|
|
This is my xorg:
Code: | el-loco-asus el-loco # cat /etc/X11/xorg.conf
#Section "Device"
# Identifier "Standard VGA"
# VendorName "Unknown"
# BoardName "Unknown"
# Driver "vga"
#EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Synaptics Touchpad"
Option "AIGLX" "true"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "IgnoreABI" "on"
Option "AIGLX" "on"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2" # IntelliMouse PS/2
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Monitor"
#Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -Hsync +Vsync
Identifier "MONITOR_ASUS"
HorizSync 31.5 - 64.3
VertRefresh 50.0 - 90.0
EndSection
Section "Device"
Identifier "MOBILITY_RADEON"
Driver "fglrx"
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
Option "RenderAccel" "true"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "true"
Option "DesktopSetup" "horizontal"
Option "Capabilities" "0x00000800"
Option "PairModes" "1280x800+1280x800"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "MOBILITY_RADEON"
Monitor "MONITOR_ASUS"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "Extensions"
Option "DAMAGE" "true"
Option "RENDER" "true"
Option "Composite" "Enable"
EndSection
|
_________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
|