Summary: | A memory leak in either radeon driver or xorg | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Maciej Piechotka <uzytkownik2> | ||||
Component: | Driver/Radeon | Assignee: | xf86-video-ati maintainers <xorg-driver-ati> | ||||
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | goriccardo, hramrach, p.patruno | ||||
Version: | git | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Maciej Piechotka
2008-12-20 07:13:02 UTC
And does the leak not happen without using xf86-video-ati? (In reply to comment #1) > And does the leak not happen without using xf86-video-ati? > I'll check. What driver should I use? You'll probably want to take a look at xrestop. http://freedesktop.org/wiki/Software/xrestop (In reply to comment #3) > You'll probably want to take a look at xrestop. > http://freedesktop.org/wiki/Software/xrestop > xrestop - Display: localhost:0 Monitoring 37 clients. XErrors: 1 Pixmaps: 25783K total, Other: 208K total, All: 25991K total I guess it is approximetly the same as at the beginning. However a few days ago xorg occupied 40 MiB (I'll check as I'll restart X soon) and now it cooupies 70 MiB. xrestop - Display: localhost:0 Monitoring 37 clients. XErrors: 0 Pixmaps: 43245K total, Other: 221K total, All: 43466K total And here's output for 90 MiB X. Is this still an issue with a newer driver/kernel? I would like to see the leak myself. I run a X server for almost a month now and both VSS and RSS are smaller than stated here: 463m virtual 139m resident I would expect that the memory consumption rises over first few days due to heap fragmentation, etc. A valgrind session with memory leak: https://bugzilla.redhat.com/show_bug.cgi?id=808641 https://bugzilla.redhat.com/attachment.cgi?id=634908 The output of top after less the 3 days: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1680 root 20 0 2223m 1.4g 1800 D 7.6 72.9 394:21.05 Xorg Created attachment 69216 [details]
restop output with Xorg with res memory 1.4g
a restop output with noveau driver is attached associated with the same top before: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1680 root 20 0 2223m 1.4g 1800 D 7.6 72.9 394:21.05 Xorg The log shows that you are running X server 1.11. This is old and no longer supported. Can you reproduce the issue with recent X server? There have been some memory allocation issues addressed in recent patches so you should at least get less noise in the valgrind output. Specifically, atom.c should not leak now or not as much. EXA and pixman would be quite different in the old server and current code. Paolo, please file your own report. After a few hours I definitely cannot compile a newer version of xorg on Fedora 16. There are too much dependencies and some compile problems in glx/glxdri2.c. More precisely I compile xserver after a few tricks in glxdri2.c but I cannot compile all the drivers .. So using some application like audacious audio player in Fedora 16 (but I think in other distributions) after some hours/days the machine becomes unusable. A patch for version 1.11 for major and repeated leak will be welcome ... thanks -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/5. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.