|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
||||
From the dmesg(), I can see that you have a Radeon PITCAIRN series graphics card. I've just seen a reddit thread and bug report about acceleration for this series.
|
|
||||
Hi jggimi,
As said in the link: https://marc.info/?l=openbsd-bugs&m=154389359919324&w=2 I installed libelf and llvm packages but then I do not understand: Install libelf and llvm packages, apply the below patch and then build xenocara. Code:
Index: lib/mesa/Makefile.bsd-wrapper =================================================================== RCS file: /cvs/xenocara/lib/mesa/Makefile.bsd-wrapper,v retrieving revision 1.21 diff -u -p -r1.21 Makefile.bsd-wrapper --- lib/mesa/Makefile.bsd-wrapper 23 Oct 2018 06:35:32 -0000 1.21 +++ lib/mesa/Makefile.bsd-wrapper 4 Dec 2018 02:44:28 -0000 @@ -11,7 +11,7 @@ GALLIUM_DRIVERS= swrast .if ${MACHINE} == i386 || ${MACHINE} == amd64 DRI_DRIVERS=swrast,radeon,r200,i915,i965 -GALLIUM_DRIVERS=swrast,r300,r600 +GALLIUM_DRIVERS=swrast,r300,r600,radeonsi .endif .if ${MACHINE} == arm64 || ${MACHINE} == loongson || \ @@ -23,7 +23,8 @@ GALLIUM_DRIVERS=swrast,r300,r600 CONFIGURE_ARGS= --with-dri-drivers=${DRI_DRIVERS} \ --with-gallium-drivers=${GALLIUM_DRIVERS} \ --disable-silent-rules \ - --disable-llvm \ + --enable-llvm \ + --with-llvm-prefix=/usr/local \ --disable-glx-tls \ --disable-regen-sources \ --enable-gles1 --enable-gles2 \ @@ -70,6 +71,25 @@ O2= ${O1} -fthread-jumps -fcrossjumping CONFIGURE_ARGS+= USER_CFLAGS="-O0 ${O2}" .endif + +PKGCONFIG_LIBDIR= /usr/lib/pkgconfig:${X11BASE}/lib/pkgconfig:/usr/local/lib/pkgconfig + +XENOCARA_PATH= /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin + +config.status: + PKG_CONFIG_LIBDIR="${PKGCONFIG_LIBDIR}" \ + CONFIG_SITE=$(CONFIG_SITE) \ + CC=${CC} \ + CFLAGS="${CFLAGS}" \ + CXX=${CXX} \ + CXXFLAGS="${CXXFLAGS}" \ + AR_FLAGS="cruD" \ + MAKE="${MAKE}" \ + PATH=$(XENOCARA_PATH) \ + sh ${_SRCDIR}/configure --prefix=${X11BASE} \ + --sysconfdir=/etc \ + --mandir=${X11BASE}/man \ + ${CONFIGURE_ARGS} ${.OBJDIR}/src/util/format_srgb.c: lndir -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper ${.CURDIR} Peace, ripe |
|
||||
The Email in the bugs@ mailing list archive I referred to contains a source code patch for xenocara, the OpenBSD redeployment of X.org, in the form of a unified diff(1) against revision 1.21 of /usr/xenocara/lib/mesa/Makefile.bsd-wrapper. This patch is against -current, as the source file was at revision 1.20 at 6.4-release.
Step 1. Upgrade to the most recent -current snapshot. The Following -current FAQ should be reviewed in the event you need to make any manual changes to your system. Step 2. Obtain the -current xenocara source tree. Instructions for obtaining source from a nearby CVS repository mirror can be found in the release(8) man page and the AnonCVS web page at the Project website. Step 3. Download the Email message body in raw form. There's a link in the archive web page. That downloaded file can be applied directly with patch(1). You'll need to cd to /usr/xenocara before issuing the patch() command, as the patch needs to be run from the xenocara top level directory. Step 4. Build xenocara. Instructions are in step 5 in the release(8) man page. |
|
|||
I just played Tetris from the BSD Games, and it is amazingly fast!
In fact, OpenBSD might not be the best OS to play games. This link mentions a few interesting ones: https://mrsatterly.com/openbsd_games.html In your case, you may want to stick with 2D games or with old consoles emulators before your graphic card gets 3D acceleration. Your CPU (AMD Phenom X4 955) includes a GPU. Though much less powerful than a Radeon HD 7850 it might work better with the games you aim to play. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD slow internet? | guitarscn | OpenBSD General | 4 | 27th November 2010 05:25 PM |
your 3 favorite games | welkin | FreeBSD Ports and Packages | 17 | 5th June 2010 08:26 PM |
dd slow, 1500KB/s (OpenBSD LiveCD) | Carpetsmoker | OpenBSD General | 4 | 3rd October 2008 10:33 AM |
Problem with no sound in games | troberts | FreeBSD General | 9 | 21st July 2008 08:53 PM |
CrossOver Games for BSD | udragon | FreeBSD General | 6 | 27th May 2008 08:59 AM |