Package Details: xf86-video-mach64 6.9.7-1

Git Clone URL: https://aur.archlinux.org/xf86-video-mach64.git (read-only, click to copy)
Package Base: xf86-video-mach64
Description: X.org mach64 video driver
Upstream URL: https://xorg.freedesktop.org/
Licenses: custom
Groups: xorg-drivers
Conflicts: X-ABI-VIDEODRV_VERSION, xorg-server
Submitter: lordheavy
Maintainer: trya
Last Packager: trya
Votes: 4
Popularity: 0.000000
First Submitted: 2017-01-14 20:26 (UTC)
Last Updated: 2022-11-25 00:21 (UTC)

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

benpicco commented on 2022-11-25 15:17 (UTC) (edited on 2022-11-25 20:27 (UTC) by benpicco)

@micwoj92 Those flags are already in my /etc/makepkg.conf. I tried re-compiling the latest version of the package (and explicitly setting those flags) but I still get the segfault.

I did some debugging and found out it's crashing in ATIMach64Detect() on outr() or outb() looks like something is wrong with the memory mapping?

micwoj92 commented on 2022-11-16 22:01 (UTC)

@benpicco this package is already marked out of date

Try building with

  export CFLAGS=${CFLAGS/-fno-plt}
  export CXXFLAGS=${CXXFLAGS/-fno-plt}
  export LDFLAGS=${LDFLAGS/,-z,now}

benpicco commented on 2022-11-16 20:37 (UTC)

There is a new upstream version

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,21 @@
 # Contributor: Jan de Groot <jgc@archlinux.org>

 pkgname=xf86-video-mach64
-pkgver=6.9.6
-pkgrel=2
+pkgver=6.9.7
+pkgrel=1
 pkgdesc="X.org mach64 video driver"
-arch=(i686 x86_64)
+arch=(i486 i686 x86_64)
 url="https://xorg.freedesktop.org/"
 license=('custom')
 depends=('glibc')
-makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION>=23' 'X-ABI-VIDEODRV_VERSION<25')
-conflicts=('xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=25')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION>=23' 'X-ABI-VIDEODRV_VERSION<26')
+conflicts=('xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=26')
 optdepends=('mach64-dri: DRI1 support from community repo'
             'mach64drm: Mach64 DRM module')
 groups=('xorg-drivers')
 options=('!emptydirs' '!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('7a0707c71bb522430f83bb5e9d9ee697e661e35534a3a2d10834f86b327a3c9c')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('50d78abffa7c8227e6f187976f23a244ae2095e97f08de275529b70fba9481ba')

 build() {
   cd ${pkgname}-${pkgver}

Unfortunately Xorg crashes when loading the the driver:

[  7886.602] (II) LoadModule: "mach64"
[  7886.605] (II) Loading /usr/lib/xorg/modules/drivers/mach64_drv.so
[  7886.608] (II) Module mach64: vendor="X.Org Foundation"
[  7886.609]    compiled for 1.21.1.4, module version = 6.9.7
[  7886.609]    Module class: X.Org Video Driver
[  7886.609]    ABI class: X.Org Video Driver, version 25.2
[  7886.609] (II) MACH64: Driver for ATI Mach64 chipsets
[  7886.652] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
[  7886.653] (==) MACH64(0): Using EXA acceleration architecture
[  7886.655] (EE) 
[  7886.662] (EE) Backtrace:
[  7886.672] (EE) 0: /usr/lib/Xorg (OsLookupColor+0x142) [0x629592]
[  7886.685] (EE) 1: linux-gate.so.1 (?+0x0) [0xb7eee570]
[  7886.695] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  7886.702] (EE) 2: /usr/lib/xorg/modules/drivers/mach64_drv.so (?+0x0) [0xb6c1b82f]
[  7886.712] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  7886.719] (EE) 3: /usr/lib/xorg/modules/drivers/mach64_drv.so (?+0x0) [0xb6c2c30a]
[  7886.729] (EE) 4: /usr/lib/Xorg (InitOutput+0xa66) [0x6484f6]
[  7886.743] (EE) 5: /usr/lib/Xorg (InitFonts+0x234) [0x551834]
[  7886.754] (EE) 6: /usr/lib/Xorg (SProcXkbDispatch+0x1504) [0x51171b]
[  7886.768] (EE) 7: /usr/lib/libc.so.6 (__libc_init_first+0x85) [0xb7896105]
[  7886.782] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0x89) [0xb78961c9]
[  7886.794] (EE) 9: /usr/lib/Xorg (_start+0x27) [0x511757]
[  7886.801] (EE) 
[  7886.807] (EE) Segmentation fault at address 0x0