Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

x11-drm: mach64 DRI not loading - version mismatch

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
K T A
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Fri Feb 25, 2005 12:41 am
Location: Europe

x11-drm: mach64 DRI not loading - version mismatch

  • Quote

Post by K T A » Mon Jun 04, 2007 11:31 am

Hello,

I try to get dri running on a rather old box with a ATI mach64 card. I have to use x11-drm to get the drm kernel module, and I had to unmask the latest x11-base/x11-drm to compile with the gentoo-sources-2.6.21-r2. I can modprobe the mach64 module fine but but when stating X dri is not loaded because of a version mismatch:

Code: Select all

(EE) ATI(0): [dri] ATIDRIScreenInit failed because of a version mismatch.
[dri] mach64.o kernel module version is 2.0.0, but version 1.0 or greater is needed.
[dri] Disabling DRI.
HUH? :?: version 2.0.0 is greater 1.0 is it not?

I'm lost here, any ideas?

Thanks

KTA
Last edited by K T A on Sat Jul 28, 2007 8:37 am, edited 2 times in total.
Top
K T A
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Fri Feb 25, 2005 12:41 am
Location: Europe

  • Quote

Post by K T A » Tue Jun 05, 2007 3:18 pm

*bump*

No ideas? More data needed? Just shoot...

KTA
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Wed Jun 06, 2007 4:45 am

Did you compile x11-drm with the same version of GCC as your kernel? Also, which version of xorg-server are you running?
www.gentoo.org.au || #gentoo-au
Top
K T A
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Fri Feb 25, 2005 12:41 am
Location: Europe

  • Quote

Post by K T A » Wed Jun 06, 2007 9:37 am

Hey thanks for the reply!
Also, which version of xorg-server are you running?
I'm running xorg-server-1.2.0-r3 I unmasked the 1.3.0.0 version but it did not change the problem (but gave another, unrelated one) so I'm back to 1.2.0-r3 now.
Did you compile x11-drm with the same version of GCC as your kernel?
In fact I did not! It is fresh install and the kernel was build before I updated to the latest gcc. Thanks for the tip, I'll check if this will solve the problem.

KTA
Top
kion
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Sun Jan 09, 2005 8:41 pm
Location: Kończyce Wlk - Cieszyn PL

  • Quote

Post by kion » Fri Jul 13, 2007 12:49 pm

I have the same problem. I think that is a bug in libdri package.

I didn't solve problem. The same on ubuntu.

x11-base/xorg-server-1.2.0-r3
~x86 x11-base/x11-drm-20070314

Code: Select all


kiontop linux # emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Pentium III (Coppermine)
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 07 Jul 2007 11:30:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kerberos ldap libg++ mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="mach64"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

kiontop linux # lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:04.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:08.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
00:09.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 09)
00:09.1 Serial controller: Agere Systems LT WinModem
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)


/var/log/Xorg.log

(EE) ATI(0): [dri] ATIDRIScreenInit failed because of a version mismatch.
[dri] mach64.o kernel module version is 2.0.0, but version 1.0 or greater is needed.
[dri] Disabling DRI.


Last edited by kion on Fri Jul 13, 2007 1:41 pm, edited 1 time in total.
pozdrawiam/best regards
JID: kion@chrome.pl
Top
K T A
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Fri Feb 25, 2005 12:41 am
Location: Europe

  • Quote

Post by K T A » Fri Jul 13, 2007 1:13 pm

Well, I'm sorry I did not put "SOLVED" in the topic. I found the cause of my problem. It seems it was my fault - during xorgconfig the memory of my card was set to 16 mb but it has only 8 mb and the driver needs at least 12 mb to initialize the dri module...

KTA
Top
kion
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Sun Jan 09, 2005 8:41 pm
Location: Kończyce Wlk - Cieszyn PL

  • Quote

Post by kion » Fri Jul 13, 2007 2:44 pm

So U didn't get it to work with dri?
pozdrawiam/best regards
JID: kion@chrome.pl
Top
K T A
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Fri Feb 25, 2005 12:41 am
Location: Europe

  • Quote

Post by K T A » Fri Jul 13, 2007 5:00 pm

No, sorry... but you may. What card exactly do you have?

KTA
Top
kion
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Sun Jan 09, 2005 8:41 pm
Location: Kończyce Wlk - Cieszyn PL

  • Quote

Post by kion » Fri Jul 13, 2007 5:26 pm

This shity working card is in the old fashion compaq armada e500 laptop. Some kind of: Ati Rage LT Pro with 8 MB RAM, 2x AGP. On lspci I'v:

01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)


As I know the there is the security problem within mach64.ko module. So it isn't build default in every distros.
pozdrawiam/best regards
JID: kion@chrome.pl
Top
K T A
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Fri Feb 25, 2005 12:41 am
Location: Europe

  • Quote

Post by K T A » Sat Jul 14, 2007 9:10 am

I see, but with only 8 MB I guess you have to give up and be content with 2d acceleration :(

KTA
Top
Kurlon
n00b
n00b
Posts: 2
Joined: Thu Oct 26, 2006 3:09 pm

  • Quote

Post by Kurlon » Fri Jul 27, 2007 6:40 pm

Actually, you can do DRI with 6mb on a mach64, just run 1024 x 768 in 16bit color. Up until I upgraded my kernel from 2.6.19 to 2.6.21 I had it working perfectly, now I'm running up against build problems with x11-drm-20060608, and the version mismatch with x11-drm-20070314. Me and my lil iMac are not happy.
Top
K T A
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Fri Feb 25, 2005 12:41 am
Location: Europe

  • Quote

Post by K T A » Sat Jul 28, 2007 8:36 am

Thanks for the tip. I am going to try the radeon driver since the wiki mention its working for mach64 too...
http://gentoo-wiki.com/HOWTO_DRI_with_A ... ce_Drivers

KTA
Top
Kurlon
n00b
n00b
Posts: 2
Joined: Thu Oct 26, 2006 3:09 pm

  • Quote

Post by Kurlon » Mon Jul 30, 2007 7:40 pm

Bah, those instructions require building x11-drm... so that's no help.
Top
rewtstyle
n00b
n00b
Posts: 1
Joined: Mon Aug 20, 2007 1:58 am

  • Quote

Post by rewtstyle » Mon Aug 20, 2007 2:03 am

I solved this by unmasking and emerging x11-drivers/xf86-video-ati-6.6.193

My video card is 01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
Now i only wish i had that extra 4mb memory module so that i could use dri in resolutions over 800x600@16 :)

Good luck!
Top
Post Reply

14 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic