Hello,
I had been using the mach64-0-0-5-branch in
linux for a while but recently I upgraded my
install and thus gave a shot at the
mach64-0-0-6-branch and encountered a problem.
This report is broken into sections:
1 - Problem description
2 - System information
3 - XF86Config-4
-----------------------------------
1) Problem Description:
I first tried the mach64-20031128-linux.i386.tar.bz2
daily snapshot with XFree86-4.3-23mdk. Kernel modules
built fine and insmod'ed. DRI was not working; the
relevant section on XFree86.0.log reads:
(II) ATI(0): [drm] created "mach64" driver at busid "PCI:1:0:0"
(II) ATI(0): [drm] added 8192 byte SAREA at 0xd0ba0000
(II) ATI(0): [drm] mapped SAREA 0xd0ba0000 to 0x40016000
(II) ATI(0): [drm] framebuffer handle = 0xf5000000
(II) ATI(0): [drm] added 1 reserved context for kernel
(II) ATI(0): [drm] Will request asynchronous DMA mode
(WW) ATI(0): [agp] AGP not available
(WW) ATI(0): [agp] AGP failed to initialize -- falling back to PCI mode.
(WW) ATI(0): [agp] Make sure you have the agpgart kernel module loaded.
(II) ATI(0): [drm] register handle = 0xf4100000
(II) ATI(0): [dri] Visual configs initialized
(II) ATI(0): [dri] Block 0 base at 0xf4100400
(WW) ATI(0): Not enough memory for local textures, disabling DRI
(II) ATI(0): [drm] removed 1 reserved context for kernel
(II) ATI(0): [drm] unmapping 8192 bytes of SAREA 0xd0ba0000 at 0x40016000
Did a lsmod, agpgart and mach64 are loaded. Looked at
kernel logs and found:
kernel: [drm:mach64_dma_init] *ERROR* mach64_dma_init called without lock held
kernel: [drm:mach64_unlock] *ERROR* Process 1836 using kernel context 0
kernel: [drm:mach64_dma_init] *ERROR* mach64_dma_init called without lock held
kernel: [drm:mach64_unlock] *ERROR* Process 2427 using kernel context 0
kernel: [drm:mach64_dma_init] *ERROR* mach64_dma_init called without lock held
kernel: [drm:mach64_unlock] *ERROR* Process 2733 using kernel context 0
kernel: [drm:mach64_dma_init] *ERROR* mach64_dma_init called without lock held
kernel: [drm:mach64_unlock] *ERROR* Process 4150 using kernel context 0
So I figured that a patch that Mandrake put on X may
have been causing the problem -- so I downloaded the
mach64-0-0-6-branch from CVS yesterday and re-built
a clean XFree86 -- same problem.
I hope that this bug report helps and thank the dri development
people for their hard work.
-----------------------------------
2) System information:
Kernel 2.4.22 from kernel.org; preempt patch
XFree86: 4.3.0
Arch: x86
-----------------------------------
3) XF86Config-4 relevent secitons:
Section "Module"
Load "dbe" # Double-Buffering Extension
#Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Device"
Identifier "device1"
VendorName "ATI"
BoardName "ATI Rage Mobility"
Driver "ati"
Option "DPMS"
EndSection
--
-- Chris
_________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_/ _/ _/
_/ _/ ||||
_/ _/_/_/ _/_/ _/ _/_/ c ..
_/ _/ _/ _/ _/ _/ @ >
_/ _/ _/ _/ _/ _/_/ @,-
==>chris<at>soma.978.org<==
_________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel