Comments (5)
Odd, it looks like the PVR driver is freezing up. I wonder if there's some clock issue with my forward porting.
Do you have a link to the fedora you're using? I'd like to try it out when I have a chance. May not be soon as I don't have as much free time as I used to.
from linux.
I will probably rebase on fedora 33 that can be downloaded from https://arm.fedoraproject.org/
I recommend to pick the Fedora Minimal (under the Server tab), because others spins default to btrfs which is too ambitious for my use case.
For Fedora 31, I've used the LXDE Spin, at:
https://download.fedoraproject.org/pub/fedora/linux/releases/31/Spins/Fedora-LXDE-armhfp-31-1.9-sda.raw.xz
IIRC, I've bootstrapped the install on another device to setup the hostname, wifi , disable selinux and remote access, then installed the dracut-config-generic package to create a generic initramfs from foreign host that can be consumed by the galaxys.
from linux.
Ok, I've been able to reproduce this. Looks like we need to change a build option, as per https://lists.goldelico.com/pipermail/openpvrsgx-devgroup/2020-November/000449.html
Untested, but fixes the same issue as seen on OMAP4.
from linux.
I can now confirm that adding -DPVR_LINUX_MEM_AREA_USE_VMAP to the build options does indeed fix things. Kmscube is now working again.
Patch as per @tmlind
diff --git a/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile b/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile
index fb5507bf5ba31..fdca642a9c3e2 100644
--- a/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile
+++ b/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/Makefile
@@ -117,6 +117,7 @@ ccflags-y += \
-DLDM_PLATFORM \
-DSUPPORT_SGX_EVENT_OBJECT \
-DPVR2D_ALT_2DHW \
+ -DPVR_LINUX_MEM_AREA_USE_VMAP \
-DSUPPORT_SGX_HWPERF \
-DSUPPORT_SGX_LOW_LATENCY_SCHEDULING \
-DSUPPORT_LINUX_X86_PAT \
Going to close this issue as that should resolve it. Looks like I won't need to setup a Fedora install after all :)
from linux.
Confirmed, kmscube works like a charm. Thanks!
glmark2-es2-drm
=======================================================
glmark2 2017.07
=======================================================
OpenGL Information
GL_VENDOR: Imagination Technologies
GL_RENDERER: PowerVR SGX 540
GL_VERSION: OpenGL ES 2.0 build 1.17@4948957
=======================================================
[ ...]
glmark2 Score: 38
=======================================================
from linux.
Related Issues (20)
- Cpufreq support HOT 2
- Suspend to RAM HOT 11
- Aries patches v3 HOT 4
- gp2a HOT 9
- cpuidle support HOT 2
- Camera support HOT 4
- onenand support HOT 8
- max8998 RTC/interrupt issues HOT 2
- yas529 magnetometer
- DWC2 USB is broken HOT 5
- Branch with all known patches HOT 3
- Current kernel reboot once bcm firmware is in place. HOT 10
- SDHCI ADMA Error HOT 7
- i9000b ISDB-T tuner HOT 7
- Display regression with 5.10 kernel HOT 3
- I porting mainline kernel found common clock framework is not work HOT 7
- when i select console on samsung soc serial port , it cant entry console HOT 6
- exynos7420 HOT 3
- exynos7580 - j7elte device request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux.