Re: Problem starting drm with mach64 (debian, version mismatch)

"George Fufutos" <[email protected]>
Newsgroups gmane.comp.video.dri.user
Message-ID <[email protected]>
> > > > > My system is running kernel 2.6.18.3 with debian unstable. I 
>installed
> > > > > the mach64 drm module from the git sources (compiled locally) and 
>it
> > > > > loads fine
> > > > > with the message:
> > > > > > > > > [drm] Initialized drm 1.1.0 20060810 PCI: Unable to 
>reserve mem region
> > > > > #1:1000000@e9000000 for device 0000:01:00.0
> > > > > [drm] Initialized mach64 2.0.0 20060718 on minor 0:
> > > > > [drm] Used old pci detect: framebuffer loaded
> > > > > > > > > I then start X and I get that direct rendering is 
>disabled. Looking in
> > > > > dmesg
> > > > > the only message is:
> > > > > > > > > [drm:mach64_dma_init] *ERROR* mach64_dma_init called 
>without lock held,
> > > > > held  0 owner 00000000 cf64f900
> > > > > [drm:drm_unlock] *ERROR* Process 5352 using kernel context 0
> > > > > > > > > and in Xorg.0.log:
> > > > > > > > > (II) ATI(0): [drm] DRM interface version 1.3
> > > > > (II) ATI(0): [drm] created "mach64" driver at busid 
>"pci:0000:01:00.0"
> > > > > (II) ATI(0): [drm] added 8192 byte SAREA at 0xd0d55000
> > > > > (II) ATI(0): [drm] mapped SAREA 0xd0d55000 to 0xb729a000
> > > > > (II) ATI(0): [drm] framebuffer handle = 0xe9000000
> > > > > (II) ATI(0): [drm] added 1 reserved context for kernel
> > > > > (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.
> > > > > > > > > Any way to solve this or is the xorg version in debian 
>unstable too old?

Please see:

http://marc.theaimsgroup.com/?l=mesa3d-dev&m=116230579900827&w=2
http://marc.theaimsgroup.com/?l=dri-devel&m=116187769308698&w=2

> > > I have the same problem too.
> > > > > I supose that latest libdrm is istalled after "./autogen.sh" and 
>"make
> > > install" as stated in item 1.3 from here:
> > > http://dri.freedesktop.org/wiki/Building  But I don't know how to 
>download
> > > compile and install ati ddx. If there is a guide from freedesktop or
> > > anywhere else, please tell us.
> > > > > When I had kernel 2.6.17.7 everything was fine. The problem 
>appeared when
> > > upgrading to kernel 2.6.17.14. I did not upgrade drm sources, I just
> > > recompiled it, so it looks like a problem with the newer kernel. Right
> > > now, I have kernel 2.6.17-10 on Ubuntu Edgy.

No, there shouldn't be a problem with the newer kernel, unless someone put
the new mach64.ko in the new kernel which doesn't seem very propable.
>From the X.org message, it seems that you do use new drm.ko and mach64.ko
(from the linux-core subdir), this is irrelevant of whether you installed 
libdrm.

> > you'll need to check out and build the xf86-video-ati module from git:
> > http://wiki.freedesktop.org/wiki/UsingGit
>
>Checked it out but it won't configure:
>after commenting out the XORG_DRIVER_CHECK_EXT which caused an error I got
>
>checking for XORG... configure: error: Package requirements (xorg-server 
>xproto \
>fontsproto ) were not met:

Check http://wiki.x.org/wiki/CompileXserverManually to see if it helps.

george.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.