From owner-freebsd-ppc@freebsd.org Thu May 23 18:25:11 2019 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADE2515B1D36 for ; Thu, 23 May 2019 18:25:10 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C808380D80 for ; Thu, 23 May 2019 18:25:09 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-io1-xd35.google.com with SMTP id b3so274371iob.12 for ; Thu, 23 May 2019 11:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=5bJMGvqaEU1KM8gv2xgfjcS/y+5p1geRN+iAZ3fXO1k=; b=tIno0ZupYVtOu9chtZF5TWEmdaTj1SnST2oC//w0qPt3xp/tQA8f0Lir4lpmFdJqtp hlrYPmFHu/w0gsKJLJq/CrT8X8Cs6bVltRXLAPEa3YSMN4Cdk/nDvzXBiIhTtTxMSBXp 0/DK5gy1Swdji68k5y+D9ZQwMgu1X6dC6ApfjY3RNxyramWj+l2osCkbftsGGjH4tPVJ gb2QB+Yoev+dm0GvZq9fnUDMrqBmwXWEvucgh4P9SMR2B1AqKCU1U6VaPiV2H0Zig6OW SXiK/olhj/FO+IcGwr26ReKHriA/oYjiEY6x9Y3YI/o42JyIzPJ1snlOfGKHnGVU7dm0 OVxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=5bJMGvqaEU1KM8gv2xgfjcS/y+5p1geRN+iAZ3fXO1k=; b=n6MhlyXYDJMPK/K0xGbVzQXr8uLkSoNYnBsrCGkK+SXbKF78I1w404aHEYBGrmdeW8 IBKCRSZu6YC7apJp44FZJo/FMYog1bq1XeFZRtleL/SIURo6rZ82Y0dq7ACs4slS7+ky 8q9rrl8/qXBNZ6hB4f146U7joH8vAZYoNUc8a6xDiUbY0X6xr9B/gpRSGJvSbA88YsCX 8FEmOR5CP+pLhbe7FZQl8yYKM2AJuB9O3jH4Q2WkQiQeGiABhiPSYKtl5SnOdvhQkfmw E1MGtbvgrJcVpBYeBSiR5rrUn+nWbHCRIX2QH7NuP0aejLtbXghCOseyAwDq6my7owwz 2+5w== X-Gm-Message-State: APjAAAXZhe08Y021cxKJMpV6jH7B637N62H2LwsB29+JQQXsUwjcsSBf l/4fWka5Sk9sCeTieAs4sHZVf/cX X-Google-Smtp-Source: APXvYqz9+og8+T+MCpo/kBIwyw0W33ePKyYZbL91pnAA4UgjB6r5UxAZsRsKcSINbBeE7Wze8il6MA== X-Received: by 2002:a5d:9352:: with SMTP id i18mr689018ioo.177.1558635908272; Thu, 23 May 2019 11:25:08 -0700 (PDT) Received: from toshiba.acadix.biz ([2605:a000:bc45:5f00:224:d2ff:fe27:bb80]) by smtp.gmail.com with ESMTPSA id a2sm83838iok.47.2019.05.23.11.25.07 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 11:25:07 -0700 (PDT) To: "freebsd-ppc@freebsd.org" From: Jason Bacon Subject: Mac G5 X11 performance Message-ID: Date: Thu, 23 May 2019 13:25:07 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: C808380D80 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tIno0Zup; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bacon4000@gmail.com designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=bacon4000@gmail.com X-Spamd-Result: default: False [-6.85 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.84)[ip: (-8.60), ipnet: 2607:f8b0::/32(-3.28), asn: 15169(-2.28), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[5.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2019 18:25:11 -0000 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 "" [    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.