Tiny Core Extensions > TCE Q&A Forum

Xorg 7.7 appears to affect Openbox performance with intel i810 graphics...

(1/7) > >>

nitram:
Tweaked JWM, but still prefer Openbox.

Running TC 6.2, extensions updated, old hardware (800 Mhz, 512 MB ram). Intel i810 onboard graphic chip is supported by the TC Intel driver. JWM performance in TC is awesome. Openbox performance is also good on the same hardware running Ubuntu 10.04, Openbox v3.4 (TC 6 uses v3.5), same xorg.conf file with only 16 colour depth.

Openbox issues in TC:
- Very slow performance when resizing windows (stutters when sizing, like a slideshow)
- Very slow performance when dragging windows (eg. takes 5-10 seconds to drag Apps window across 1152x768 screen, visible stepping of window borders and window signicantly lags behind mouse cursor)

Already tried toggling various xorg.conf graphic options without success (eg. NoAccel, DRI). Was apparently able to successfully compile Openbox v3.5 from source but system booted without a cursor (don't ask me, still learning how to compile, error free though).

The only console error i see when running Openbox is 'obt-message: Zinerama extension is not present on the server'. Only similar extension found in Apps was libXinerama, which i loaded/rebooted - no difference.

Openbox performance is otherwise good when opening menus, opening/closing apps, etc. Unfortunately the issues described above make it practically unusable. Never experienced this with a window manager before. Driving me crazy. Hints appreciated.

    [EDIT]: Changed title of thread.  Rich

nitram:
Still troubleshooting with no success.

- Disabled background image - no fix.
- Killed conky - no fix.
- Changed dpi via .Xdefaults from 96 to 128, rebooted - no fix.

As mentioned, my old Ubuntu used Openbox 3.4.10 vs TC 3.5.

Forgot to mention, my old Ubuntu install uses the 2.6 kernel.

Rich:
Hi nitram

--- Quote ---- Very slow performance when resizing windows (stutters when sizing, like a slideshow)
- Very slow performance when dragging windows (eg. takes 5-10 seconds to drag Apps window across 1152x768 screen, visible stepping of window borders and window signicantly lags behind mouse cursor)
--- End quote ---
See if any information is showing up in  /tmp/wm_errors  after performing those actions.
Also check for warnings and errors in  /var/log/Xorg.0.log.
Also see if any new messages show up in  dmesg.

nitram:
Thanks for the help Rich.

Updated TC 6.2 to 6.3rc2, rebooted, no Apps updates, updated .dep files, build reporting database, no missing dependencies.

Rebooted with 'base text norestore' options, manually loaded xf86-video-intel, Xorg, Xprogs, aterm and openbox - same problem.

Log snippets below:

--- Code: ---tc@box:/var/log$ cat Xorg.0.log | grep EEdeciphering
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.612] (EE) intel: Failed to load module "xaa" (module does not exist, 0)
[    58.720] (EE) AIGLX: reverting to software rendering
[    58.720] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    58.720] (EE) GLX: could not load software renderer
[    59.011] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    59.056] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    59.533] (EE) AIGLX: reverting to software rendering
[    59.533] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    59.533] (EE) GLX: could not load software renderer
[    59.815] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

--- End code ---


--- Code: ---tc@box:/var/log$ cat Xorg.0.log | grep WW
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.427] (WW) The directory "/usr/local/lib/X11/fonts/OTF/" does not exist.
[    56.427] (WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
[    56.432] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    56.612] (WW) Warning, couldn't open module xaa

--- End code ---


--- Code: ---wm_errors snippet:
(openbox:2841): GLib-CRITICAL **: Source ID 86 was not found when attempting to remove it
(process:2885): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
libfam.so.0: cannot open shared object file: No such file or directory
Failed to load module: /usr/local/lib/gio/modules/libgiofam.so

--- End code ---


--- Code: ---dmesg snippet:
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel i810 Chipset
pci 0000:00:01.0: detected 4MB dedicated video ram
agpgart-intel 0000:00:00.0: detected gtt size: 65536K total, 65536K mappable
agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xd0000000
8139too 0000:01:03.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
nf_conntrack version 0.5.0 (8001 buckets, 32004 max)
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i810 1.4.0 20030605 for 0000:00:01.0 on minor 0
mtrr: base(0xd0000000) is not aligned on a size(0x360000) boundary
Failed to add WC MTRR for [d0000000-d035ffff]; performance may suffer.
[drm] Using v1.4 init.
mtrr: base(0xd0000000) is not aligned on a size(0x3000000) boundary
[drm] DMA Cleanup
mtrr: no MTRR for d0000000,3000000 found
mtrr: base(0xd0000000) is not aligned on a size(0x360000) boundary
Failed to add WC MTRR for [d0000000-d035ffff]; performance may suffer.
[drm] Using v1.4 init.
mtrr: base(0xd0000000) is not aligned on a size(0x3000000) boundary

--- End code ---

Will investigate errors as best i can, starting with 'performance may suffer' dmesg stuff and module xaa fail. May try an archived Intel driver. Never had much luck deciphering logs, if anyone sees something please let me know.

Rich:
Hi nitram

--- Code: ---mtrr: base(0xd0000000) is not aligned on a size(0x360000) boundary
Failed to add WC MTRR for [d0000000-d035ffff]; performance may suffer.
[drm] Using v1.4 init.
mtrr: base(0xd0000000) is not aligned on a size(0x3000000) boundary
[drm] DMA Cleanup
mtrr: no MTRR for d0000000,3000000 found
--- End code ---
I'd probably try looking into that first. Run:

--- Code: ---cat /proc/mtrr
--- End code ---
Compare the results for that under TC and Ubuntu. This may also be of use:
http://my-fuzzy-logic.de/blog/index.php?/archives/41-Solving-linux-MTRR-problems.html

Navigation

[0] Message Index

[#] Next page

Go to full version