Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Abysmal slow graphics with latest mesa on Intel D2500
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Fri Nov 11, 2022 8:30 am    Post subject: Abysmal slow graphics with latest mesa on Intel D2500 Reply with quote

I have a bunch of old Atom d2500 machines I need to keep reasonably updated. The D2500 has the horrid old PowerVR GPU :cry:
When I updated recently, the graphics performance went from "perfectly adequate" to "unusable". It's now so slow that you can watch it drawing a new xterm window.
After a bit of experimentation, I found that reverting to mesa-21.3.7 (I had to retrieve an old portage tree and copy it into my overlay for that) fixes it.
I found a post that mentioned removal of Intel drivers from mesa at 22.0 - does that mean my MoBo has been completely abandoned upstream? Or is there something I can change?

emerge --info
Code:
Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/x86/17.0/desktop, gcc-11.3.0, glibc-2.35-r8, 5.17.15-ovs i686)
=================================================================
System uname: Linux-5.17.15-ovs-i686-Intel-R-_Atom-TM-_CPU_D2500_@_1.86GHz-with-glibc2.35
KiB Mem:     2049524 total,   1841132 free
KiB Swap:    2570396 total,   2570396 free
Timestamp of repository gentoo: Mon, 31 Oct 2022 19:30:01 +0000
Head commit of repository gentoo: 67e46c2236c1b970b194d40b53562b1e83edbcf7
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           3.10.8_p1::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

OVS_local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/OVS /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_BINHOST="http://www.flitspace.org.uk/OVS/downloads/software/GRP"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="3dnow X a52 aac acl acpi alsa bindist branding bzip2 cairo cdda cdr cli crypt cscope cups dbus dga dri dts dvd elogind encode exif flac fortran ftp gdbm gif gtk gtk2 gui iconv icu imlib jpeg keymap kpathsea lcms libglvnd libnotify libtirpc lmsensors mad mng mp3 mp4 mpeg ncurses nls nocardbus nptl ogg opengl openmp pam pango pcre pdf png policykit python qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcltk test-rust tidy tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xattr xcb xml xpm xv xvid zlib" ABI_X86="32" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i915 vesa modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LANG, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sat Nov 12, 2022 10:35 pm    Post subject: Reply with quote

RobPearce,

Some old mesa drivers have been moved to mesa-amber.

Code:
$ eix amber
* media-libs/mesa-amber
     Available versions:  (amber) 21.3.9^t
       {+X debug gles1 +gles2 selinux test valgrind wayland +zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2" VIDEO_CARDS="i915 i965 intel nouveau r100 r200 radeon"}
     Homepage:            https://www.mesa3d.org/ https://mesa.freedesktop.org/
     Description:         OpenGL-like graphic library for Linux


Sharing your lspci -nnk might help.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Sun Nov 13, 2022 9:55 am    Post subject: Reply with quote

lspci -nnk
Code:
00:00.0 Host bridge [0600]: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller [8086:0bf5] (rev 04)
   Subsystem: Mitac Atom Processor D2xxx/N2xxx DRAM Controller [1071:202e]
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller [8086:0be1] (rev 0b)
   DeviceName: Intel(R) GMA 3600 Video Device
   Subsystem: Mitac Atom Processor D2xxx/N2xxx Integrated Graphics Controller [1071:202e]
   Kernel driver in use: gma500
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
   DeviceName: Intel(R) High Definition Audio Device
   Subsystem: Mitac NM10/ICH7 Family High Definition Audio Controller [1071:202e]
   Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family PCI Express Port 1 [1071:202e]
   Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family USB UHCI Controller [1071:202e]
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family USB UHCI Controller [1071:202e]
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family USB UHCI Controller [1071:202e]
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci_hcd
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family USB UHCI Controller [1071:202e]
   Kernel driver in use: uhci_hcd
   Kernel modules: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family USB2 EHCI Controller [1071:202e]
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
   Subsystem: Mitac 82801 Mobile PCI Bridge [1071:202e]
00:1f.0 ISA bridge [0601]: Intel Corporation NM10 Family LPC Controller [8086:27bc] (rev 02)
   Subsystem: Mitac NM10 Family LPC Controller [1071:202e]
00:1f.2 SATA controller [0106]: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] [8086:27c1] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family SATA Controller [AHCI mode] [1071:202e]
   Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 02)
   Subsystem: Mitac NM10/ICH7 Family SMBus Controller [1071:202e]
   Kernel driver in use: i801_smbus
01:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
   DeviceName: Intel(R) 82574L Gigabit Ethernet Device
   Subsystem: Mitac 82574L Gigabit Network Connection [1071:0731]
   Kernel driver in use: e1000e
   Kernel modules: e1000e


I'll have a play with mesa-amber and see if it helps
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sun Nov 13, 2022 10:13 am    Post subject: Reply with quote

RobPearce,

ASUS 1025C-amd64 GMA3600 4.14.209:XORG 1.20.8 fails - SOLVED is probably worth reading.
Its two years old and written around a different PowerVR GPU to yours.

Once upon a time there was a gma* mesa driver ...
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Sun Nov 13, 2022 1:41 pm    Post subject: Reply with quote

Thanks NeddySeagoon,
I had already found that thread and checked that I was doing everything it said, plus my problem is rather different and wasn't a problem at the time that thread was last updated :wink:
There is one thing, which is that he recommended the GMA3600 kernel driver, which doesn't seem to exist any more, but the DRM_GMA500 seems to be OK
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Sun Nov 13, 2022 5:32 pm    Post subject: Reply with quote

I tried mesa-amber and it doesn't help. In fact it completely breaks X (and locks up the consoles and keyboard, so I had to SSH in to remove it)
The Xorg log:
Code:
[    28.546]
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    28.547] Current Operating System: Linux ovs-ref-mitac 5.17.15-ovs #1 SMP Sun Jun 19 18:03:43 BST 2022 i686
[    28.547] Kernel command line: root=/dev/sda3 net.ifnames=0 video=LVDS-1:d
[    28.547] 
[    28.547] Current version of pixman: 0.40.0
[    28.547]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    28.547] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    28.547] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 13 16:55:26 2022
[    28.668] (==) Using config file: "/etc/X11/xorg.conf"
[    28.668] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    28.669] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    28.683] (==) ServerLayout "X.org Configured"
[    28.683] (**) |-->Screen "Screen0" (0)
[    28.683] (**) |   |-->Monitor "Monitor0"
[    28.684] (**) |   |-->Device "N2500"
[    28.684] (**) |   |-->GPUDevice "onboard"
[    28.684] (**) |   |-->GPUDevice "Card0"
[    28.684] (**) |-->Input Device "EETI"
[    28.684] (**) |-->Input Device "Mouse0"
[    28.684] (**) |-->Input Device "Keyboard0"
[    28.684] (==) Automatically adding devices
[    28.684] (==) Automatically enabling devices
[    28.684] (==) Automatically adding GPU devices
[    28.684] (==) Automatically binding GPU devices
[    28.684] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    28.851] (**) FontPath set to:
   /usr/share/fonts/misc/:unscaled,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/corefonts/,
   /usr/share/fonts/OTF,
   /usr/share/fonts/freefonts/,
   /usr/share/fonts/dejavu/,
   /usr/share/fonts/unifont/,
   /usr/share/fonts/Speedo/,
   /usr/share/fonts/75dpi/:unscaled,
   /usr/share/fonts/100dpi/:unscaled,
   /usr/share/fonts/misc,
   /usr/share/fonts/TTF,
   /usr/share/fonts/OTF,
   /usr/share/fonts/Type1,
   /usr/share/fonts/100dpi,
   /usr/share/fonts/75dpi
[    28.851] (**) ModulePath set to "/usr/lib/xorg/modules"
[    28.851] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    28.851] (WW) Disabling Mouse0
[    28.851] (WW) Disabling Keyboard0
[    28.851] (II) Module ABI versions:
[    28.851]    X.Org ANSI C Emulation: 0.4
[    28.851]    X.Org Video Driver: 25.2
[    28.851]    X.Org XInput driver : 24.4
[    28.851]    X.Org Server Extension : 10.0
[    28.853] (++) using VT number 7

[    28.853] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    28.855] (II) xfree86: Adding drm device (/dev/dri/card0)
[    28.855] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    28.943] (--) PCI:*(0@0:2:0) 8086:0be1:1071:202e rev 11, Mem @ 0x80100000/1048576, I/O @ 0x000020d0/8, BIOS @ 0x????????/131072
[    28.944] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    28.944] (II) LoadModule: "glx"
[    29.028] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    29.187] (II) Module glx: vendor="X.Org Foundation"
[    29.187]    compiled for 1.21.1.4, module version = 1.0.0
[    29.187]    ABI class: X.Org Server Extension, version 10.0
[    29.187] (II) LoadModule: "extmod"
[    29.187] (II) Module "extmod" already built-in
[    29.188] (II) LoadModule: "record"
[    29.188] (II) Module "record" already built-in
[    29.188] (II) LoadModule: "dri2"
[    29.188] (II) Module "dri2" already built-in
[    29.188] (II) LoadModule: "dbe"
[    29.188] (II) Module "dbe" already built-in
[    29.188] (II) LoadModule: "dri"
[    29.188] (II) Module "dri" already built-in
[    29.188] (II) LoadModule: "modesetting"
[    29.188] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    29.265] (II) Module modesetting: vendor="X.Org Foundation"
[    29.265]    compiled for 1.21.1.4, module version = 1.21.1
[    29.265]    Module class: X.Org Video Driver
[    29.265]    ABI class: X.Org Video Driver, version 25.2
[    29.265] (II) LoadModule: "modesetting"
[    29.265] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    29.265] (II) Module modesetting: vendor="X.Org Foundation"
[    29.265]    compiled for 1.21.1.4, module version = 1.21.1
[    29.265]    Module class: X.Org Video Driver
[    29.265]    ABI class: X.Org Video Driver, version 25.2
[    29.266] (II) UnloadModule: "modesetting"
[    29.266] (II) Unloading modesetting
[    29.266] (II) Failed to load module "modesetting" (already loaded, 0)
[    29.266] (II) LoadModule: "egalax"
[    29.266] (II) Loading /usr/lib/xorg/modules/input/egalax_drv.so
[    29.284] (II) Module egalax: vendor="X.Org Foundation"
[    29.284]    compiled for 1.10.0, module version = 3.6.0
[    29.284]    Module class: X.Org XInput Driver
[    29.284]    ABI class: X.Org XInput driver, version 12.2
[    29.284] (EE) egalax: module ABI major version (12) doesn't match the server's version (24)
[    29.284] (EE) Failed to load module "egalax" (module requirement mismatch, 0)
[    29.285] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    29.376] (II) modeset(0): using drv /dev/dri/card0
[    29.377] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    29.377] (==) modeset(0): RGB weight 888
[    29.377] (==) modeset(0): Default visual is TrueColor
[    29.377] (II) Loading sub module "glamoregl"
[    29.377] (II) LoadModule: "glamoregl"
[    29.377] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    29.512] (II) Module glamoregl: vendor="X.Org Foundation"
[    29.512]    compiled for 1.21.1.4, module version = 1.0.1
[    29.512]    ABI class: X.Org ANSI C Emulation, version 0.4

The egalax error is normal for this box. No other obvious (EE) entries in there.

I tried running startx from the SSH shell (obviously not expecting it to work) and saw a failed attempt to load a couple of non-existent modules:
Code:
startx


X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: Linux ovs-ref-mitac 5.17.15-ovs #1 SMP Sun Jun 19 18:03:43 BST 2022 i686
Kernel command line: root=/dev/sda3 net.ifnames=0 video=LVDS-1:d
 
Current version of pixman: 0.40.0
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sun Nov 13 17:01:17 2022
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) egalax: module ABI major version (12) doesn't match the server's version (24)
pci id for fd 13: 8086:0be1, driver (null)
MESA-LOADER: failed to open gma500: /usr/lib/dri/gma500_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: gma500
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: zink
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sun Nov 13, 2022 6:47 pm    Post subject: Reply with quote

RobPearce,

Code:
[    29.284] (EE) egalax: module ABI major version (12) doesn't match the server's version (24)

That's a very old egalax.

Code:
/usr/lib/dri/gma500_dri.so
would have been the DRI Xorg driver but its gone.
Its not even in mesa-amber, so the best you will do today is with gma500? in the kernel anid Xorg using the modeset driver.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Sun Nov 13, 2022 7:49 pm    Post subject: Reply with quote

NeddySeagoon wrote:

That's a very old egalax.

Yes, it's one I tried many years back but wasn't happy with, so I haven't updated it. Its presence is a bit of a zombie - there is no touchscreen on this box.

NeddySeagoon wrote:

Code:
/usr/lib/dri/gma500_dri.so
would have been the DRI Xorg driver but its gone.
Its not even in mesa-amber, so the best you will do today is with gma500? in the kernel anid Xorg using the modeset driver.

The kernel has the GMA500 DRM and X is using the modesetting driver. With mesa-21.3.7 this works great.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sun Nov 13, 2022 7:57 pm    Post subject: Reply with quote

RobPearce,

Share the Xorg.0.log with mesa-21.3.7 in use and with the newest mesa.
That's two pastebins please.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Sun Nov 13, 2022 9:34 pm    Post subject: Reply with quote

With the older mesa: https://pastebin.com/3W6is1SN
With the new one: https://pastebin.com/pY91z0Rq
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Sun Nov 13, 2022 9:49 pm    Post subject: Reply with quote

RobPearce,

Are you sure those pastbins are the right way round?
https://pastebin.com/3W6is1SN
Code:
[    31.185] (II) modeset(0): glamor initialization failed
[    31.292] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)

[    31.291] (II) AIGLX: Screen 0 is not DRI2 capable
[    31.292] (EE) AIGLX error: unable to load driver swrast
[    31.292] (EE) GLX: could not load software renderer

That's badly broken.

https://pastebin.com/pY91z0Rq
Code:
[    30.525] (II) modeset(0): glamor initialized

[    30.873] (II) modeset(0): [DRI2] Setup complete
[    30.873] (II) modeset(0): [DRI2]   DRI driver: kms_swrast
[    30.873] (II) modeset(0): [DRI2]   VDPAU driver: kms_swrast

[    30.887] (EE) AIGLX error: Calling driver entry point failed
[    30.901] (II) IGLX: Loaded and initialized swrast
[    30.901] (II) GLX: Initialized DRISWRAST GL provider for screen 0

That's working go faster stuff.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Mon Nov 14, 2022 8:03 am    Post subject: Reply with quote

NeddySeagoon wrote:

Are you sure those pastbins are the right way round?


Yes, absolutely. The file /usr/lib/dri/swrast_dri.so does NOT exist in the old mesa build (which runs just fine) but is present with the one that draws like a snail.
Removing that file from the slow version makes no discernible difference.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Mon Nov 14, 2022 9:49 am    Post subject: Reply with quote

RobPearce,

That makes my head hurt - The idea that a badly broken setup is faster that one that appears to work.
What does
Code:
glxinfo | head -n6
show for both mesa versions please?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Mon Nov 14, 2022 5:33 pm    Post subject: Reply with quote

I don't have glxinfo, so I need to install it...
(I'm really not interested in fancy 3D stuff on this box, I just want normal application windows like Xterm or even IceWM to render smoothly)

OK, for the 22.1.7 (really slow) one:
Code:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

(plus the following on stderr?)
Code:

libGL error: pci id for fd 4: 8086:0be1, driver (null)
libGL error: MESA-LOADER: failed to open gma500: /usr/lib/dri/gma500_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: gma500
libGL error: pci id for fd 4: 8086:0be1, driver (null)
libGL error: MESA-LOADER: failed to open gma500: /usr/lib/dri/gma500_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: gma500


For the 21.3.7 (fast) one:
Code:
name of display: :0.0

(and on stderr?)
Code:
Error: couldn't find RGB GLX visual or fbconfig


So it does look like the old mesa GLX stuff is badly broken, but for plain 2D window rendering that seems to be a Good Thing. Wuuuh?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum