Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2019 13:25:07 -0500
From:      Jason Bacon <bacon4000@gmail.com>
To:        "freebsd-ppc@freebsd.org" <freebsd-ppc@freebsd.org>
Subject:   Mac G5 X11 performance
Message-ID:  <d2621743-183e-d40b-71fe-6f14b30cd014@gmail.com>

next in thread | raw e-mail | index | archive | help

This is not a very important issue, but thought I'd bring in up in case 
there's a simple solution.

I have an iMac G5, used mainly for port testing, but I've found that 
it's very close to being a usable desktop system (running SLiM login 
manager and LXDE as other mainstream desktop environments don't 
currently build).  All it would need is a few more key ports fixed (e.g. 
firefox or chromium, qt5-*) and improved X11 performance.

X11 performance is slow to the point where a dragged window won't even 
keep up with the mouse.

Chipset and Xorg info is below.

Loading radeonkms causes a complete system freeze.

I haven't found anything on the freebsd-ppc pages or elsewhere to help.

If anyone knows of any ways to improve the situation, I'd appreciate 
hearing them.  If they're not too hackish, I would add support to 
sysutils/desktop-installer so others with PowerPC Macs can configure 
them with minimal effort.

vgapci0@pci0:0:16:0:    class=0x030000 card=0x41501002 chip=0x41501002 
rev=0x00 hdr=0x00
     vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
     device     = 'RV350 [Radeon 9550/9600/X1050 Series]'
     class      = display
     subclass   = VGA

[    66.665]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    66.665] X Protocol Version 11, Revision 0
[    66.665] Build Operating System: FreeBSD 12.0-RELEASE-p3 powerpc
[    66.666] Current Operating System: FreeBSD imacg5.acadix.biz 
12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC powerpc
[    66.667] Build Date: 01 May 2019  12:53:13AM
[    66.667]
[    66.667] Current version of pixman: 0.34.0
[    66.667]     Before reporting problems, check http://wiki.x.org
     to make sure that you have the latest version.
[    66.667] Markers: (--) probed, (**) from config file, (==) default 
setting,
     (++) from command line, (!!) notice, (II) informational,
     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    66.667] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 23 
12:59:10 2019
[    66.790] (==) Using system config directory 
"/usr/local/share/X11/xorg.conf.d"
[    66.834] (==) No Layout section.  Using the first Screen section.
[    66.834] (==) No screen section available. Using defaults.
[    66.834] (**) |-->Screen "Default Screen Section" (0)
[    66.834] (**) |   |-->Monitor "<default monitor>"
[    66.835] (==) No monitor specified for screen "Default Screen Section".
     Using a default monitor configuration.
[    66.835] (==) Automatically adding devices
[    66.835] (==) Automatically enabling devices
[    66.835] (==) Not automatically adding GPU devices
[    66.835] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    66.921] (==) FontPath set to:
     /usr/local/share/fonts/misc/,
     /usr/local/share/fonts/TTF/,
     /usr/local/share/fonts/OTF/,
     /usr/local/share/fonts/Type1/,
     /usr/local/share/fonts/100dpi/,
     /usr/local/share/fonts/75dpi/
[    66.921] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    66.921] (II) The server relies on devd to provide the list of input 
devices.
     If no devices become available, reconfigure devd or disable 
AutoAddDevices.
[    66.921] (II) Loader magic: 0x1023d968
[    66.921] (II) Module ABI versions:
[    66.921]     X.Org ANSI C Emulation: 0.4
[    66.921]     X.Org Video Driver: 20.0
[    66.922]     X.Org XInput driver : 22.1
[    66.922]     X.Org Server Extension : 9.0
[    66.922] (WW) xf86EnableIO -1
[    66.922] (II) xf86EnableIO: ffffffff
[    66.922] (WW) Can't map IO space!
[    66.922] (--) PCI: (0:0:16:0) 1002:4150:1002:4150 rev 0, Mem @ 
0x98000000/134217728, 0x90000000/65536, I/O @ 0x00000400/256, BIOS @ 
0x????????/65536
[    66.923] (II) LoadModule: "glx"
[    66.945] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    67.207] (II) Module glx: vendor="X.Org Foundation"
[    67.207]     compiled for 1.18.4, module version = 1.0.0
[    67.207]     ABI class: X.Org Server Extension, version 9.0
[    67.208] (==) AIGLX enabled
[    67.208] (==) Matched modesetting as autoconfigured driver 0
[    67.209] (==) Matched scfb as autoconfigured driver 1
[    67.209] (==) Assigned the driver to the xf86ConfigLayout
[    67.209] (II) LoadModule: "modesetting"
[    67.209] (II) Loading 
/usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    67.222] (II) Module modesetting: vendor="X.Org Foundation"
[    67.222]     compiled for 1.18.4, module version = 1.18.4
[    67.222]     Module class: X.Org Video Driver
[    67.222]     ABI class: X.Org Video Driver, version 20.0
[    67.222] (II) LoadModule: "scfb"
[    67.222] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    67.232] (II) Module scfb: vendor="X.Org Foundation"
[    67.232]     compiled for 1.18.4, module version = 0.0.4
[    67.232]     ABI class: X.Org Video Driver, version 20.0
[    67.232] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    67.232] (II) scfb: driver for wsdisplay framebuffer: scfb
[    67.233] (--) Using syscons driver with X support (version 8589934592.0)
[    67.233] (++) using VT number 9

[    67.233] (WW) Falling back to old probe method for modesetting
[    67.234] (EE) open /dev/dri/card0: No such file or directory
[    67.234] (WW) Falling back to old probe method for scfb
[    67.234] scfb trace: probe start
[    67.234] (II) scfb(0): using default device
[    67.234] scfb trace: probe done
[    67.234] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support
[    67.234] scfb: PreInit 0
[    67.234] (II) scfb(0): Using: depth (32),    width (1680),  height 
(1050)
[    67.235] (II) scfb(0): Creating default Display subsection in Screen 
section
     "Default Screen Section" for depth/fbbpp 24/32
[    67.235] (==) scfb(0): Depth 24, (==) framebuffer bpp 32
[    67.235] (==) scfb(0): RGB weight 888
[    67.235] (==) scfb(0): Default visual is TrueColor
[    67.235] (==) scfb(0): Using gamma correction (1.0, 1.0, 1.0)
[    67.235] (II) scfb(0): Vidmem: 7087k
[    67.235] (==) scfb(0): DPI set to (96, 96)
[    67.235] (**) scfb(0): Using "Shadow Framebuffer"
[    67.235] (II) Loading sub module "shadow"
[    67.235] (II) LoadModule: "shadow"
[    67.236] (II) Loading /usr/local/lib/xorg/modules/libshadow.so
[    67.359] (II) Module shadow: vendor="X.Org Foundation"
[    67.359]     compiled for 1.18.4, module version = 1.1.0
[    67.359]     ABI class: X.Org ANSI C Emulation, version 0.4
[    67.359] (II) Loading sub module "fb"
[    67.359] (II) LoadModule: "fb"
[    67.360] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    67.415] (II) Module fb: vendor="X.Org Foundation"
[    67.415]     compiled for 1.18.4, module version = 1.0.0
[    67.415]     ABI class: X.Org ANSI C Emulation, version 0.4
[    67.415] scfb: PreInit done
[    67.415] (II) UnloadModule: "modesetting"
[    67.415] (II) Unloading modesetting
[    67.415] (--) Depth 24 pixmap format is 32 bpp
[    67.416] scfb: ScfbScreenInit 0
[    67.416]     bitsPerPixel=32, depth=24, defaultVisual=TrueColor
     mask: ff0000,ff00,ff, offset: 16,8,0
[    67.416] mmap returns: addr 0x811b4b000 len 0x6ec000, fd 6, off 0
[    67.416] scfb: ScfbSave 0
[    67.416] scfb: ScfbSave done
[    67.418] (==) scfb(0): Backing store enabled
[    67.418] scfb: ScfbScreenInit done
[    67.418] (==) RandR enabled
[    67.437] (II) AIGLX: Screen 0 is not DRI2 capable
[    67.437] (EE) AIGLX: reverting to software rendering
[    67.738] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    67.739] (II) AIGLX: Loaded and initialized swrast
[    67.739] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    68.589] (II) config/devd: probing input devices...
[    68.589] (II) config/devd: adding input device (null) (/dev/kbdmux)
[    68.589] (II) LoadModule: "kbd"
[    68.591] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
[    68.609] (II) Module kbd: vendor="X.Org Foundation"
[    68.609]     compiled for 1.18.4, module version = 1.9.0
[    68.609]     Module class: X.Org XInput Driver
[    68.609]     ABI class: X.Org XInput driver, version 22.1
[    68.609] (II) Using input driver 'kbd' for 'kbdmux'
[    68.609] (**) kbdmux: always reports core events
[    68.609] (**) kbdmux: always reports core events
[    68.609] (**) Option "Protocol" "standard"
[    68.609] (**) Option "XkbRules" "base"
[    68.609] (**) Option "XkbModel" "pc105"
[    68.609] (**) Option "XkbLayout" "us"
[    68.609] (**) Option "config_info" "devd:kbdmux"
[    68.610] (II) XINPUT: Adding extended input device "kbdmux" (type: 
KEYBOARD, id 6)
[    68.611] (II) config/devd: kbdmux is enabled, ignoring device ukbd0
[    68.611] (II) config/devd: kbdmux is enabled, ignoring device ukbd1
[    68.612] (II) config/devd: adding input device (null) (/dev/sysmouse)
[    68.612] (II) LoadModule: "mouse"
[    68.613] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
[    68.665] (II) Module mouse: vendor="X.Org Foundation"
[    68.665]     compiled for 1.18.4, module version = 1.9.3
[    68.665]     Module class: X.Org XInput Driver
[    68.665]     ABI class: X.Org XInput driver, version 22.1
[    68.665] (II) Using input driver 'mouse' for 'sysmouse'
[    68.665] (**) sysmouse: always reports core events
[    68.665] (**) Option "Device" "/dev/sysmouse"
[    68.665] (==) sysmouse: Protocol: "Auto"
[    68.666] (**) sysmouse: always reports core events
[    68.666] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[    68.666] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[    68.666] (**) sysmouse: Buttons: 5
[    68.666] (**) Option "config_info" "devd:sysmouse"
[    68.666] (II) XINPUT: Adding extended input device "sysmouse" (type: 
MOUSE, id 7)
[    68.667] (**) sysmouse: (accel) keeping acceleration scheme 1
[    68.667] (**) sysmouse: (accel) acceleration profile 0
[    68.667] (**) sysmouse: (accel) acceleration factor: 2.000
[    68.667] (**) sysmouse: (accel) acceleration threshold: 4
[    68.667] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[    68.667] (II) sysmouse: SetupAuto: protocol is SysMouse
[    68.668] (II) config/devd: device /dev/ums0 already opened
[    68.668] (II) config/devd: device /dev/ums1 already opened
[    68.670] scfb: SaveScreen 0
[    68.670] scfb: SaveScreen done
[   668.671] scfb: SaveScreen 0
[   668.672] scfb: SaveScreen done

-- 
Earth is a beta site.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2621743-183e-d40b-71fe-6f14b30cd014>