sorry I copied the displayed link not the actual link
http://ubuntuforums.org/showpost.php...69&postcount=6
sorry I copied the displayed link not the actual link
http://ubuntuforums.org/showpost.php...69&postcount=6
[mouse-drag-select] == COPY && [mouse-middle-click]== PASTE
---- 3D Desktop xorg.conf's ---
ubuntu guide ---- Ubuntu Document Storage Facility ---- "Mark thread as [SOLVED]" using "Thread tools"
Hi, I have Compaq Evo N400c with this card
And running 2.6.22-14-generic kernel, butCode:01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
And when I tried to compile modules from your howto, then common was compiled OK, but:Code:root@evo:~/mach64-20060403-linux.i386# modprobe mach64 WARNING: Error inserting drm (/lib/modules/2.6.22-14-generic/kernel/drivers/char/drm/drm.ko): Invalid module format WARNING: Error inserting drm '/lib/modules/2.6.22-14-generic/kernel/drivers/char/drm/mach64.ko': Invalid module format
On one mailing list I found, that config.h is deprecated and removed from kernel sources 2.6.19+ (iirc).Code:root@evo:~/mach64-20060403-linux.i386# cat dri.log make DRM_MODULES=mach64.o modules make[1]: Entering directory `/root/mach64-20060403-linux.i386/drm/linux-core' make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' CC [M] /root/mach64-20060403-linux.i386/drm/linux-core/drm_auth.o In file included from /root/mach64-20060403-linux.i386/drm/linux-core/drm_auth.c:36: /root/mach64-20060403-linux.i386/drm/linux-core/drmP.h:44:26: error: linux/config.h: No such file or directory make[3]: *** [/root/mach64-20060403-linux.i386/drm/linux-core/drm_auth.o] Error 1 make[2]: *** [_module_/root/mach64-20060403-linux.i386/drm/linux-core] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/root/mach64-20060403-linux.i386/drm/linux-core' make: *** [mach64.o] Error 2
I've also downloaded already precompiled modules, but they're for 2.6.18 kernel, so they will obviously not work. Any ideas?
In my xorg.conf is now being used driver "ati", but glxinfo says indirect mesa
And another thing - I've tried to compile older kernel, but it failed to boot 1st (can't recognize /dev/hda or sda, only UUID), solved that, but with same problems.
Hi there !
Well I installed the dri drivers (i can't remember how but it was painful)
The device :
The strange thing :Code:# lspci | grep VGA 00:14.0 VGA compatible controller: ATI Technologies Inc Rage MobilityP/M (rev 64)
The problem :Code:# lsmod | grep mach64 mach64 44896 0 drm 132824 1 mach64
The complete diagnostic archive :Code:# glxinfo | grep direct direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) OpenGL renderer string: Mesa GLX Indirect
coming...
lobiik please try this link as your drm is from 03/04/2006
use the git version
http://ubuntuforums.org/showpost.php...69&postcount=6
[mouse-drag-select] == COPY && [mouse-middle-click]== PASTE
---- 3D Desktop xorg.conf's ---
ubuntu guide ---- Ubuntu Document Storage Facility ---- "Mark thread as [SOLVED]" using "Thread tools"
ok, some more progress with 2.6.22 kernel, 1st part passed ok:
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
make -C /lib/modules/2.6.22-2-686/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-2-686'
CC [M] /src/drm/linux-core/drm_auth.o
...
LD [M] /src/drm/linux-core/mach64.o
Building modules, stage 2.
MODPOST 2 modules
CC /src/drm/linux-core/drm.mod.o
LD [M] /src/drm/linux-core/drm.ko
CC /src/drm/linux-core/mach64.mod.o
LD [M] /src/drm/linux-core/mach64.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-2-686'
Success
But ati drivers:
In file included from atidripriv.h:40,
from atistruct.h:40,
from atimach64io.h:37,
from atibus.c:32:
/usr/include/GL/glxint.h:28:19: error: GL/gl.h: No such file or directory
In file included from atidripriv.h:40,
from atistruct.h:40,
from atimach64io.h:37,
from atibus.c:32:
/usr/include/GL/glxint.h:95: error: expected specifier-qualifier-list before 'GLboolean'
make[1]: *** [atibus.lo] Error 1
make[1]: Leaving directory `/src/xf86-video-ati-6.6.192/src'
make: *** [install-recursive] Error 1
---> http://ubuntuforums.org/showthread.php?p=1646660
Soulution:
make banged me with an error because gl.h was missing.
fixed that.Code:sudo apt-get install mesa-common-dev
Ok, modprobe mach64 loads module, but when I change settings to "mach64", then X doesn't startx. It says that module mach64 and module dri doesn't exists. With "ati" in xorg.conf it starts ok. Log output:
evo:~# cat /var/log/Xorg.0.log |grep dri
X.Org XInput driver : 0.7
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
ABI class: X.Org XInput driver, version 0.7
ABI class: X.Org XInput driver, version 0.7
ABI class: X.Org XInput driver, version 0.7
(EE) No drivers available.
evo:~# cat /var/log/Xorg.0.log |grep mach64
(II) LoadModule: "mach64"
(WW) Warning, couldn't open module mach64
(II) UnloadModule: "mach64"
(EE) Failed to load module "mach64" (module does not exist, 0)
evo:~# slocate mach64.so
/usr/lib/directfb-0.9.25/gfxdrivers/libdirectfb_mach64.so
/lib/libdri.so
/usr/X11R6/lib/modules/extensions/libdri.so
/root/common-20060325-linux.i386/core/libdri.so
so I did:
evo:~# cp /lib/libdri.so /usr/lib/xorg/modules/extensions/
evo:~# cp /usr/lib/directfb-0.9.25/gfxdrivers/libdirectfb_mach64.so /usr/lib/xorg/modules/extensions/
Result:
evo:~# ldd /usr/lib/xorg/modules/extensions///libdri.so |grep drm
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7f6e000)
But X doesn't start saying undefined symbol: drmSetServerInfo, tried to do http://www.mail-archive.com/debian-b...msg316110.html
but still the same
evo:~# ldd /usr/lib/xorg/modules/extensions/libdri.so
linux-gate.so.1 => (0xffffe000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7f31000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7f0c000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7dc4000)
/lib/ld-linux.so.2 (0x80000000)
And this is where I am currently stuck. Now it doesn't start even with ati driver. Will try to install again latest ati drivers (used in that scrip) and will see.
And if you will find anything usefull, feel free to add into howto's
xf86-video-ati-6.6.192 is last years ati driver (june 2006) download the 6.7.192 or 6.7.195 from web site
hope that works for you.
[mouse-drag-select] == COPY && [mouse-middle-click]== PASTE
---- 3D Desktop xorg.conf's ---
ubuntu guide ---- Ubuntu Document Storage Facility ---- "Mark thread as [SOLVED]" using "Thread tools"
Ok, started from scratch, done that script (manually, error appeared on line 26 - last line) and got it working
IMPORTANT: The xf86-video-ati_6.7.195 and mach64 modules compiled are ONLY for Ubuntu Gutsy 7.10 and kernel 2.6.22-14-generic (maybe works on 386 kernel too but i couldn't tried it)
This modules are compiled with the dougfractal's post (thank's for your great work )
1. Download this files:
xf86-video-ati_6.7.196_gutsy.deb
mach64 Kernel 2.6.22-14-generic.tar.gz
2. Uninstall xserver-xorg-video-ati
sudo apt-get uninstall --purge xserver-xorg-video-ati
3. install xf86-video-ati_6.7.196_gutsy.deb with gdeb or:
sudo dpkg -i /where/is/xf86-video-ati_6.7.196_gutsy.deb
4. uncompress mach64 Kernel 2.6.22-14-generic.tar.gz and enter the directory with console and:
sudo cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/
sudo depmod -a
sudo modprobe mach64
restart X and you have 3D acceleration
I hope that this solution works for you
UPDATED xf86-video-ati 6.7.195 to xf86-video-ati 6.7.196
Last edited by oasick; November 13th, 2007 at 10:15 PM. Reason: UPDATE
Last solution works for me! Great thanks! For my friend's laptop Compaq Evo n400.
But why I can see Slackware Package?
http://ubuntu4us.wordpress.com - New World Computer Religion... Ubuntu with Us! Join Us!
Don't worry Offoffoff . Slackware package appears because i created the deb file with alien and by default put this. But the compilation is for ubuntu gutsy
Bookmarks