linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dieter Nützel" <Dieter.Nuetzel@hamburg.de>
To: John Cavan <johnc@damncats.org>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>,
	"DRI-Devel" <dri-devel@lists.sourceforge.net>,
	Alan Cox <alan@redhat.com>
Subject: Re: Linux 2.4.5-ac14
Date: Fri, 15 Jun 2001 06:55:57 +0200	[thread overview]
Message-ID: <20010615044215Z264242-17720+4117@vger.kernel.org> (raw)
In-Reply-To: <20010615022033Z261561-17720+4111@vger.kernel.org> <3B29734A.738A95D5@damncats.org>

Am Freitag, 15. Juni 2001 05:32 schrieb Dieter Nützel:
> Am Freitag, 15. Juni 2001 04:30 schrieb John Cavan:
> > Dieter Nützel wrote:
> > > Hello Alan,
> > >
> > > I see 4.29 GB under shm with your latest try.
> > > something wrong?
> >
> >         total:    used:    free:  shared: buffers:  cached:
> > Mem:  1053483008 431419392 622063616   122880 24387584 260923392
> > Swap: 394764288        0 394764288
> > MemTotal:      1028792 kB
> > MemFree:        607484 kB
> > MemShared:         120 kB
> > Buffers:         23816 kB
> > Cached:         254808 kB
> > Active:         225536 kB
> > Inact_dirty:     53208 kB
> > Inact_clean:         0 kB
> > Inact_target:       44 kB
> > HighTotal:      131056 kB
> > HighFree:         1048 kB
> > LowTotal:       897736 kB
> > LowFree:        606436 kB
> > SwapTotal:      385512 kB
> > SwapFree:       385512 kB
> >
> > I don't seem to have the problem...
>
> You are using HIGHMEM?!

I tested some more and found this.

It is XFree86 4.1.0 DRI (tdfx driver) related.
During my first run I used the 2.4.5-ac14 kernel DRM module.
Now I am running with the latest DRI trunk DRM module.
Both show the same symptoms.

After system and first Xserver start everything is fine.

SunWave1>cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  327802880 256114688 71688192   487424 60665856 106491904
Swap: 1052794880        0 1052794880
MemTotal:       320120 kB
MemFree:         70008 kB
MemShared:         476 kB
Buffers:         59244 kB
Cached:         103996 kB
Active:         156332 kB
Inact_dirty:      7384 kB
Inact_clean:         0 kB
Inact_target:     1092 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       320120 kB
LowFree:         70008 kB
SwapTotal:     1028120 kB
SwapFree:      1028120 kB

Then after the first DRI (OpenGL/Mesa) app was running I get this:

SunWave1>l /dev/dri/card0
crw-rw----    1 root     video    226,   0 Jun 15 06:40 /dev/dri/card0

NO double /dev/dri entry. OK.

SunWave1>cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  327802880 222384128 105418752 4294873088  2973696 168341504
Swap: 1052794880 72327168 980467712
MemTotal:       320120 kB
MemFree:        102948 kB
MemShared:    4294967204 kB
Buffers:          2904 kB
Cached:         164396 kB
Active:         124212 kB
Inact_dirty:      3692 kB
Inact_clean:     39304 kB
Inact_target:       76 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       320120 kB
LowFree:        102948 kB
SwapTotal:     1028120 kB
SwapFree:       957488 kB

4.29 GB shm...

SunWave1>cat /proc/dri/0/*
a dev   pid    uid      magic     ioctls
 
y   0   693     0          0         25
                  total counts                   |    outstanding
type       alloc freed fail     bytes      freed | allocs      bytes
 
system        0     0    0     320120 kB         |
locked        0     0    0          0 kB         |
 
dmabufs       0     0    0          0          0 |      0          0
sareas        0     0    0          0          0 |      0          0
driver        2     0    0         25          0 |      2         25
magic         1     0    0         12          0 |      1         12
ioctltab      0     0    0          0          0 |      0          0
maplist      10     2    0        144         12 |      8        132
vmalist       8     7    0         96         84 |      1         12
buflist       0     0    0          0          0 |      0          0
seglist       0     0    0          0          0 |      0          0
pagelist      0     0    0          0          0 |      0          0
files         2     1    0         80         40 |      1         40
queues        0     0    0          0          0 |      0          0
commands      0     0    0          0          0 |      0          0
mappings      2     0    0  100663296          0 |      2  100663296
buflists      0     0    0          0          0 |      0          0
agplist       0     0    0          0          0 |      0          0
totalagp      0     0    0          0          0 |      0          0
boundagp      0     0    0          0          0 |      0          0
ctxbitmap     1     0    0       4096          0 |      1       4096
stub          1     0    0        192          0 |      1        192
tdfx 0xe200 PCI:1:5:0
  ctx/flags   use   fin   blk/rw/rwf  wait    flushed      queued      locks
 
slot     offset       size type flags    address mtrr
 
   0 0xd8000000 0x02000000  REG  0x00 0xd9099000 none
   1 0xe0000000 0x04000000   FB  0x00 0xd5098000    3
   2 0xd5096000 0x00001000  SHM  0x20 0xd5096000 none
vma use count: 1, high_memory = d3ff0000, 0x13ff0000
 
  693 0x46182000-0x46183000 rw-sl- 0xd5096000 pwubca-kl

Who is to blame?
XFree? DRI? Kernel?

-Dieter

  parent reply	other threads:[~2001-06-15  4:42 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-15  2:33 Linux 2.4.5-ac14 Dieter Nützel
2001-06-15  2:30 ` John Cavan
2001-06-15  3:32   ` Dieter Nützel
2001-06-15  4:55   ` Dieter Nützel [this message]
     [not found]   ` <200106150442.AAA22505@spqr.damncats.org>
2001-06-15 11:24     ` John Cavan
2001-06-15 10:01 ` Christoph Rohland
     [not found] <200106162255.SAA02119@olimpo.networx.com.br.suse.lists.linux.kernel>
     [not found] ` <E15B0vv-000780-00@the-village.bc.nu.suse.lists.linux.kernel>
     [not found]   ` <15146.33742.299279.102372@pizda.ninka.net.suse.lists.linux.kernel>
2001-06-16  5:57     ` Andi Kleen
2001-06-16  6:15       ` Alexander Viro
2001-06-16  7:37       ` Alexander Viro
2001-06-16  8:20         ` Marc ZYNGIER
2001-06-16  8:36           ` Alexander Viro
2001-06-17 20:47         ` Olaf Hering
2001-06-16 16:33     ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2001-06-14 22:44 Alan Cox
2001-06-15 21:05 ` Thiago Vinhas de Moraes
2001-06-15 21:15   ` Alan Cox
2001-06-15 21:37     ` Andreas Dilger
2001-06-16 20:56     ` Thiago Vinhas de Moraes
2001-06-16 21:14       ` Arnaldo Carvalho de Melo
2001-06-15 21:53   ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010615044215Z264242-17720+4117@vger.kernel.org \
    --to=dieter.nuetzel@hamburg.de \
    --cc=alan@redhat.com \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=johnc@damncats.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).