DRM mit Matrox 550 unter Current nicht funktional

j_t

Alter Hase
Hallo,

hat einer von euch vielleicht schon mal folgendes Problem unter 5.1 current gehabt?
Ich versuche die 3D Funktionalitaet meiner MGA 550 zu nutzen und erhalte folgende Meldung beim Start von X:
error: [drm:pid688:mga_unlock] *ERROR* Process 688 using kernel context 0
Der genannte Prozess ist XFree86.

X laeuft natuerlich trotzdem, lediglich ohne 3D Beschleunigung.
Mit identischer Grafikkarte, allerdings mit einem anderen Board (Asus P2B-DS, BX-Chipset) war das Setup von DRM kein Problem.
Mit dem neuen Board Asus PP-DLW (Intel 7505) sieht es leider anders aus.
Augenscheinlich habe ich nichts vergessen. Existieren noch AGP Probleme mit den neuen Chipset von Intel? Hat jemand eine Vermutung, woran es hapert?

Vielen Dank!

Hier noch ein paar Symptome:

FreeBSD elvis.xoasis.de 5.2-RC FreeBSD 5.2-RC #1: Thu Dec 18 16:36:55 CET 2003 jt@elvis.xoasis.de:/usr/src/obj/usr/src/sys/KERNEL i386

dmesg:
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09a1000.
Preloaded elf module "/boot/kernel/agp.ko" at 0xc09a121c.
Preloaded elf module "/boot/kernel/ng_ubt.ko" at 0xc09a12c4.
Preloaded elf module "/boot/kernel/netgraph.ko" at 0xc09a1370.
Preloaded elf module "/boot/kernel/mga.ko" at 0xc09a1420.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc09a14c8.
ACPI APIC Table: <A M I OEMAPIC >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2791.12-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory = 4026269696 (3839 MB)
avail memory = 3913011200 (3731 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 6
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
netsmb_dev: loaded
Pentium Pro MTRR support enabled
VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc00c52cd (c00052cd)
VESA: Matrox Graphics Inc.
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <A M I OEMRSDT > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f3000
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
acpi_cpu2: <CPU> port 0x530-0x537 on acpi0
[...]
drm0: <Matrox G550 (AGP)> mem 0xfe000000-0xfe7fffff,0xfeafc000-0xfeafffff,0xf200
0000-0xf3ffffff irq 16 at device 0.0 on pci7
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
[...]
error: [drm:pid688:mga_unlock] *ERROR* Process 688 using kernel context 0

/etc/X11/XF86Config:
Section "Module"
Load "GLcore"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xie"
Load "speedo"
Load "type1"
Load "freetype"
Load "ddc"
Load "int10"
EndSection

Section "Device"
# Option "Overlay"
# Option "TexturedVideo" "On"
Identifier "G550"
Driver "mga"
VendorName "Matrox"
BoardName "MGA G550 AGP"
# BusID "PCI:7:0:0"
Option "AGPMode" "4"
# VideoRam 32768
Screen 0
EndSection

Section "DRI"
Mode 0666
EndSection

/var/log/XFree86.0.log:
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 5.2 i386 [ELF]
Build Date: 12 December 2003
[...]
(==) MGA(0): Write-combining range (0xfeafc000,0x4000) was already clear
(WW) MGA(0): Failed to set write-combining range (0xf2000000,0x2000000)
(==) MGA(0): Write-combining range (0xfe000000,0x800000) was already clear
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) MGA(0): Write-combining range (0xa0000,0x10000) was already clear
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2200+664: 2864
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) MGA(0): [drm] created "mga" driver at busid "PCI:7:0:0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xcb8d3000
(II) MGA(0): [drm] mapped SAREA 0xcb8d3000 to 0x282ff000
(II) MGA(0): [drm] framebuffer handle = 0xf2000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f004217 [AGP 0x0000/0x0000; Card 0x102b/0x2527]
(EE) MGA(0): [agp] Out of memory (-1014)
(II) MGA(0): [drm] removed 1 reserved context for kernel
(II) MGA(0): [drm] unmapping 8192 bytes of SAREA 0xcb8d3000 at 0x282ff000
(II) MGA(0): Using 4042 lines for offscreen memory.
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
29 256x256 slots
14 512x512 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(**) Option "dpms"
(**) MGA(0): DPMS enabled
(II) MGA(0): Using overlay video
(==) MGA(0): Direct rendering disabled
(==) RandR enabled

X relevante Packages:
XFree86-4.3.0,1 X11/XFree86 core distribution (complete, using mini/meta-po
XFree86-FontServer-4.3.0_2 XFree86-4 font server
XFree86-Server-4.3.0_12 XFree86-4 X server and related programs
XFree86-clients-4.3.0_5 XFree86-4 client programs and related files
XFree86-documents-4.3.0 XFree86-4 documentation
XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts
XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files
XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts
XFree86-libraries-4.3.0_6 XFree86-4 libraries and headers
dri-5.1.p1,1

/boot/loader.conf:
agp_load="YES"
mga_load="YES"

kldstat:
Id Refs Address Size Name
1 22 0xc0400000 504d40 kernel
2 9 0xc0905000 12f64 agp.ko
3 1 0xc0918000 a8d8 ng_ubt.ko
4 2 0xc0923000 14a58 netgraph.ko
5 1 0xc0938000 17cc8 mga.ko
6 1 0xc0950000 4fb50 acpi.ko
7 1 0xcb590000 6000 linprocfs.ko
8 1 0xcb596000 19000 linux.ko
 
Zurück
Oben