Hello.
I know that miniglx is quite outdated, but could anyone help me (even a
little!) with this
issue:
I've got intel 955GME with 32M RAM set in BIOS, and trying to run miniglx
(sample_server) on it.
I use:
1. libdrm 2.3.1
2. libpciaccess 0.10.3
3. mesa-7.0.3
4. linux kernel 2.6.26
I've managed to build it, but can't run:
> modprobe intelfb; modprobe i915; export LD_LIBRARY_PATH=/path/to/miniglx/libs
> ./sample_server
drmAddMap(ring_map) failed. Disabling DRI.
I've debuged it, and think I know what's happenning during init (but don't know
how to fix):
1. All buffers except texture memory are allocated by I830AllocVidMem from pool.
2. Texture memory is allocated from AGP (by allocFromAGP -> drm_agp_alloc in
kernel), 2000 pages are allocated.
3. Then texture memory is bound by bindAgpRange at 2000000h (successfully).
So one entry is bound (debug from kernel's drm_agp_bind): Start=F2000000h,
size=32M.
4. After that, drmAddMap is called to map ring buffer at F0000000h (size 131072
bytes), and gets
EPERM in kernel's drm_addmap_core because it's not in range of
beforementioned bind.
What can I do about it? I mean, what is actually wrong in this sequence of
actions?
Should texture memory be mapped otherwise? Or drmAddMap for ring buffer done
not with DRM_AGP type?
BTW, I've tried to remove check in kernel's drm_addmap_core, and
./sample_server starts, but after
running miniglxtest (it displays something like colored rectangle) PC just dies
(hangs).
Please help.
Thanks in advance.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev