WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xorg 7.7 appears to affect Openbox performance with intel i810 graphics...  (Read 8507 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: slow openbox performance...
« Reply #15 on: May 29, 2015, 01:43:30 AM »
/usr/local/lib/dri/swrast_dri.so is in the Xorg-7.7-3d extension in tc-5.x and tc-6.x

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: slow openbox performance...
« Reply #16 on: June 05, 2015, 10:31:56 AM »
Hi Juanito.

The Xorg3D extension does not help, already tried it before.

Query whether Xorg3D supports Intel i810, here are the Xorg3D installed files:

Code: [Select]
/usr/local/lib/dri/i915_dri.so
/usr/local/lib/dri/i965_dri.so
/usr/local/lib/dri/kms_swrast_dri.so
/usr/local/lib/dri/mesa_dri_drivers.so
/usr/local/lib/dri/nouveau_dri.so
/usr/local/lib/dri/nouveau_vieux_dri.so
/usr/local/lib/dri/r200_dri.so
/usr/local/lib/dri/r300_dri.so
/usr/local/lib/dri/r600_dri.so
/usr/local/lib/dri/radeon_dri.so
/usr/local/lib/dri/radeonsi_dri.so
/usr/local/lib/dri/swrast_dri.so
/usr/local/lib/dri/vmwgfx_dri.so
/usr/local/lib/libGLESv1_CM.so
/usr/local/lib/libGLESv1_CM.so.1
/usr/local/lib/libGLESv1_CM.so.1.1.0
/usr/local/lib/libGLESv2.so
/usr/local/lib/libGLESv2.so.2
/usr/local/lib/libGLESv2.so.2.0.0
/usr/local/lib/libOSMesa.so
/usr/local/lib/libOSMesa.so.8
/usr/local/lib/libOSMesa.so.8.0.0
/usr/local/lib/libXvMCnouveau.so
/usr/local/lib/libXvMCnouveau.so.1
/usr/local/lib/libXvMCnouveau.so.1.0
/usr/local/lib/libXvMCnouveau.so.1.0.0
/usr/local/lib/libXvMCr600.so
/usr/local/lib/libXvMCr600.so.1
/usr/local/lib/libXvMCr600.so.1.0
/usr/local/lib/libXvMCr600.so.1.0.0
/usr/local/lib/libxatracker.so
/usr/local/lib/libxatracker.so.2
/usr/local/lib/libxatracker.so.2.2.0
/usr/local/lib/vdpau/libvdpau_nouveau.so
/usr/local/lib/vdpau/libvdpau_nouveau.so.1
/usr/local/lib/vdpau/libvdpau_nouveau.so.1.0
/usr/local/lib/vdpau/libvdpau_nouveau.so.1.0.0
/usr/local/lib/vdpau/libvdpau_r300.so
/usr/local/lib/vdpau/libvdpau_r300.so.1
/usr/local/lib/vdpau/libvdpau_r300.so.1.0
/usr/local/lib/vdpau/libvdpau_r300.so.1.0.0
/usr/local/lib/vdpau/libvdpau_r600.so
/usr/local/lib/vdpau/libvdpau_r600.so.1
/usr/local/lib/vdpau/libvdpau_r600.so.1.0
/usr/local/lib/vdpau/libvdpau_r600.so.1.0.0
/usr/local/lib/vdpau/libvdpau_radeonsi.so
/usr/local/lib/vdpau/libvdpau_radeonsi.so.1
/usr/local/lib/vdpau/libvdpau_radeonsi.so.1.0
/usr/local/lib/vdpau/libvdpau_radeonsi.so.1.0.0

I'm just a hack, will try to add my i810.ko.gz into this directory, reboot and test.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: slow openbox performance...
« Reply #17 on: June 05, 2015, 10:35:28 AM »
It might be better to look at the Xorg log first..

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: slow openbox performance...
« Reply #18 on: June 05, 2015, 10:42:13 AM »
Didn't work. Here are the Xorg log errors with Xorg only, then with Xorg3D.

Xorg 7.7 only:
Code: [Select]
[    47.003] (EE) intel: Failed to load module "xaa" (module does not exist, 0)
[    49.184] (EE) AIGLX: reverting to software rendering
[    49.185] (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)
[    49.185] (EE) GLX: could not load software renderer
[    49.729] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    49.773] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    50.279] (EE) AIGLX: reverting to software rendering
[    50.280] (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)
[    50.280] (EE) GLX: could not load software renderer
[    50.563] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Xorg3D:
Code: [Select]
[    47.336] (EE) intel: Failed to load module "xaa" (module does not exist, 0)
[    49.528] (EE) AIGLX: reverting to software rendering
[    52.419] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    52.464] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    52.989] (EE) AIGLX: reverting to software rendering
[    53.289] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Regardless of the Xorg3D extension, my desire is to run with hardware support, not software rendering. As outlined in an earlier post above, i was able to get current Openbox running great in TC6, using TC6 kernel but Xorg 7.6. So there's some sort of regression issue with Xorg 7.7. Spent countless hours trying to figure it out, can't.

So i have a work-around (use Xorg 7.6) but it's a shame i can't use the proper TC6 extensions.

The error ' intel: Failed to load module "xaa"', can this be fixed for Xorg 7.7?

Edit: ...or could Xorg 7.6 be added to the TC6 repository, similar to how TC4 had 2 or 3 Xorg versions?
« Last Edit: June 05, 2015, 10:46:11 AM by nitram »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: slow openbox performance...
« Reply #19 on: June 05, 2015, 10:45:56 AM »
Are you using an Xorg.conf? The permission denied error looks odd..

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: slow openbox performance...
« Reply #20 on: June 05, 2015, 10:46:00 AM »
It has nothing to do with openbox, it is an Xorg issue. Would be good to use a proper thread subject not to mislead future readers looking for help a year later.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Thread title changed, not sure how to modify thread title from first post. Don't want to start a new thread as this one already has my archived notes. Already noted that this appears Xorg related, not Openbox, as i'm able to run current Openbox properly but only with an older Xorg.

Yes using xorg.conf, which works fine to change monitor resolution...so it must be read.
Code: [Select]
Section "Monitor"
Identifier   "Monitor0"
#VendorName   "Monitor Vendor"
#ModelName    "Monitor Model"
HorizSync       28.0 - 96.0
  VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            # [<bool>]
        #Option     "SWcursor"            # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "CacheLines"          # <i>
        #Option     "Dac6Bit"            # [<bool>]
        #Option     "DRI"                # [<bool>]
        #Option     "NoDDC"              # [<bool>]
        #Option     "ShowCache"          # [<bool>]
        #Option     "XvMCSurfaces"        # <i>
        #Option     "PageFlip"            # [<bool>]
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "82810 DC-100 (CGC) Chipset Graphics Controller"
BusID       "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth    16
#Option         "metamodes" "1152x864_75 +0+0"
SubSection "Display"
Depth 16
#Modes "1024x768"
Modes "1152x864"
EndSubSection
EndSection


As per my previous post/edit:
Code: [Select]
The error ' intel: Failed to load module "xaa"', can this be fixed for Xorg 7.7?

Edit: ...or could Xorg 7.6 be added to the TC6 repository, similar to how TC4 had 2 or 3 Xorg versions?

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: slow openbox performance...
« Reply #22 on: June 05, 2015, 11:27:09 AM »
hi friends,

i guess that openbox has some shared code with fluxbox.
i use the intel-i915-grafic-card and experienced some problems with fluxbox with the display of icons and slit-applets and i could proof that it was caused by the new tinycore-kernel-3.16.6.
i compared the identical setup with the old tinycore-kernel-3.8.13 and the actual tinycore-kernel-3.16.6:
the old kernel showed now issues and bugs and the new kernel had some problems to display certain icons f.e. the noscript-icons in iceweasel/firefox or the slitlist-applet wmcpuload lost the ability to display the cpuload (the font for the percent-digits were replaced by black bars)

perhaps you could also verify that its a kernel bug?

thank you for your interest and help.
« Last Edit: June 05, 2015, 11:29:45 AM by netnomad »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: slow openbox performance...
« Reply #23 on: June 05, 2015, 11:46:20 AM »
If you add this to xorg.conf:
Code: [Select]
Section "dri"
  Mode 0666
EndSection

..do the permissions errors disappear?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: slow openbox performance...
« Reply #24 on: June 05, 2015, 11:59:16 AM »
Pasted into xorg.conf and rebooted, performance still poor, permission errors persist:
Code: [Select]
tc@box:/var/log$ cat Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    46.551] (EE) intel: Failed to load module "xaa" (module does not exist, 0)
[    48.732] (EE) AIGLX: reverting to software rendering
[    48.733] (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)
[    48.733] (EE) GLX: could not load software renderer
[    49.277] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    49.322] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    49.834] (EE) AIGLX: reverting to software rendering
[    49.835] (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)
[    49.835] (EE) GLX: could not load software renderer
[    50.121] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: slow openbox performance...
« Reply #25 on: June 05, 2015, 12:03:48 PM »
Sorry - I should have said to try it with Xorg-7.7-3d.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: slow openbox performance...
« Reply #26 on: June 05, 2015, 12:06:26 PM »
@netnomad: Just booted into both my good working TC6 Openbox and the problematic install, both are running graphics-3.16.6-tinycore, so not the issue for me. Only got good result when i replaced TC6 Xorg 7.7 with 7.6 and the associated Intel driver from TC4.

I also did not have any draw issues as you described. Even on my problematic TC6 Openbox install, everything opens/closes well, scrolls properly, drop downs work great, just problem sliding and re-sizing windows. You may want to start a new thread with your particular issue.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Sorry Juanito, misunderstood.

Modified xorg.conf as requested and rebooted:
Code: [Select]
Section "dri"
  Mode 0666
EndSection

Section "Monitor"
Identifier   "Monitor0"
#VendorName   "Monitor Vendor"
#ModelName    "Monitor Model"
HorizSync       28.0 - 96.0
  VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            # [<bool>]
        #Option     "SWcursor"            # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "CacheLines"          # <i>
        #Option     "Dac6Bit"            # [<bool>]
        #Option     "DRI"                # [<bool>]
        #Option     "NoDDC"              # [<bool>]
        #Option     "ShowCache"          # [<bool>]
        #Option     "XvMCSurfaces"        # <i>
        #Option     "PageFlip"            # [<bool>]
Identifier  "Card0"
Driver      "intel"
VendorName  "Intel Corporation"
BoardName   "82810 DC-100 (CGC) Chipset Graphics Controller"
BusID       "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
DefaultDepth    16
#Option         "metamodes" "1152x864_75 +0+0"
SubSection "Display"
Depth 16
#Modes "1024x768"
Modes "1152x864"
EndSubSection
EndSection

Onboot.lst:
Code: [Select]
xf86-video-intel.tcz
Xprogs.tcz
openbox.tcz
obconf.tcz
nano.tcz
fluff.tcz
alsa-config.tcz
aterm.tcz
firefox-official.tcz
findutils.tcz
lshw.tcz
pci-utils.tcz
Xorg-7.7-3d.tcz


Still permission errors and poor performance:
Code: [Select]
[    47.284] (EE) intel: Failed to load module "xaa" (module does not exist, 0)
[    49.475] (EE) AIGLX: reverting to software rendering
[    52.377] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    52.423] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    52.949] (EE) AIGLX: reverting to software rendering
[    53.247] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Other notable xorg log stuff:
Code: [Select]
[    49.475] (EE) AIGLX: reverting to software rendering
[    51.813] (II) AIGLX: Loaded and initialized swrast
[    51.813] (II) GLX: Initialized DRISWRAST GL provider for screen 0

[    52.377] (II) config/udev: Adding drm device (/dev/dri/card0)
[    52.377] (II) xfree86: Adding drm device (/dev/dri/card0)
[    52.377] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[    52.949] (II) AIGLX: Screen 0 is not DRI2 capable
[    52.949] (EE) AIGLX: reverting to software rendering
[    52.962] (II) AIGLX: Loaded and initialized swrast
[    52.962] (II) GLX: Initialized DRISWRAST GL provider for screen 0

[    53.247] (II) xfree86: Adding drm device (/dev/dri/card0)
[    53.247] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10980
Intel has long since dropped support for your i810. There hasn't been 3d support in years, XAA was removed a couple years ago, the latest driver has no acceleration for it.
The only barriers that can stop you are the ones you create yourself.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Thanks curaga for the sad but useful news. Thought this hardware would have died years ago but it keeps chugging along...so want to keep it running. The best i can do then is just run TC6 with older Xorg 7.6 and Intel driver from TC4, which still works well. Thanks to all who tried to help.