Giter VIP home page Giter VIP logo

freedreno's People

Contributors

imirkin avatar robclark avatar sheph avatar sonicadvance1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freedreno's Issues

disasm-a3xx.c : unknown(4,9)

Hello

I try to disassembly shader on Adreno 530, then it show [unknown(4,9)].
And I found [rcp rsq rsqh exp2h log2h sinpb2] in libllvm-qcom.so.
So I guess it has new instructions on Adreno 530.

Fire TV Fedora-Mate-armhfp-21_Alpha-1-sda.raw segfault

Hi, Rob.
Finally booted it up with your precompiled kernel, but caught a segfault.
Here is a part of Xorg log. Can you please look into it?

[    78.951] (II) LoadModule: "mdp"
[    78.952] (WW) Warning, couldn't open module mdp
[    78.952] (II) UnloadModule: "mdp"
[    78.952] (II) Unloading mdp
[    78.952] (EE) Failed to load module "mdp" (module does not exist, 0)
[    78.952] (II) LoadModule: "modesetting"
[    78.952] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    78.953] (II) Module modesetting: vendor="X.Org Foundation"
[    78.953]    compiled for 1.16.0, module version = 0.9.0
[    78.953]    Module class: X.Org Video Driver
[    78.953]    ABI class: X.Org Video Driver, version 18.0
[    78.953] (II) LoadModule: "fbdev"
[    78.953] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    78.953] (II) Module fbdev: vendor="X.Org Foundation"
[    78.953]    compiled for 1.16.0, module version = 0.4.3
[    78.953]    Module class: X.Org Video Driver
[    78.954]    ABI class: X.Org Video Driver, version 18.0
[    78.954] (II) freedreno: Video driver for Qualcomm processors
[    78.954] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    78.954] (II) FBDEV: driver for framebuffer: fbdev
[    78.954] (++) using VT number 1

[    78.954] (WW) Falling back to old probe method for freedreno
[    78.955] (EE) 
[    78.955] (EE) Backtrace:
[    78.956] (EE) 0: /usr/libexec/Xorg.bin (OsLookupColor+0x130) [0x1a5350]
[    78.958] (EE) 1: /lib/libc.so.6 (__default_rt_sa_restorer+0x0) [0x412c7e68]
[    78.959] (EE) 2: /usr/lib/xorg/modules/drivers/freedreno_drv.so (_init+0x47a4) [0x4002377c]
[    78.959] (EE) 3: /usr/libexec/Xorg.bin (xf86BusConfig+0x44) [0x710a8]
[    78.960] (EE) 4: /usr/libexec/Xorg.bin (InitOutput+0x9a0) [0x7fd04]
[    78.961] (EE) 5: /usr/libexec/Xorg.bin (remove_fs_handlers+0x2d0) [0x3f490]
[    78.963] (EE) 6: /lib/libc.so.6 (__libc_start_main+0x114) [0x412af4fc]
[    78.963] (EE) 7: /usr/libexec/Xorg.bin (_start+0x2c) [0x28c7c]
[    78.964] (EE) 
[    78.964] (EE) Segmentation fault at address 0x3dc
[    78.964] (EE) 
Fatal server error:
[    78.964] (EE) Caught signal 11 (Segmentation fault). Server aborting

Not sure if it related to freedreno at least it present in backtrace.
Anyway, I'm so glad it finally booted, Thanks a lot!

IFC6410 Kernel Fails to Find Root FS After Flashing to EMMC

I have a IFC6410 with the Fedora kernel flashed onto the on-board eMMC boot partition. I've copied over and prepped the Fedora 20b5 FS onto a Micro SD card. Upon booting the kernel does not mount the root device at /dev/mmcblk0p3, but instead systemd attempts to mount /dev/sda3 and fails:
systemd[1]: Job dev-sda3.device/start timed out.
systemd[1]: Timed out waiting for device dev-sda3.device.
systemd[1]: Dependency failed for device dev-sda3.device.
systemd[1]: Dependency failed for /sysroot.
systemd[1]: Dependency failed for Initrd Foot File System.
systemd[1]: Dependency failed for Reload Configuration from the Real Boot.

It seems to work only if I explicitly set bootparams on the kernel using fastboot -c. Without it, I assume initrd is pre-configured to look for sda. Is there any way I can change this? Thanks.

framebuffer fetch ?

Hi

does adreno 500 support native framebuffer fetch? or using some trick to implement it?

In my experience, Adreno need to do vkCmdNextSubpass when I use current framebuffer to be a input attactment in Vulkan.
In other brand that can be use it directly without vkCmdNextSubpass.

So I guest Adreno need to do blit framebuffer to system memory or GMEM / 3 or somewhere, then use image load/fetch it, like a texture barrier operation.

By the way, does it possible to implement glBlitFramebufferByRegion, like glMemoryBarrierByRegion instead of glMemoryBarrier, to be tile friendly?

Thank you

[question] freedreno testing on adreno200 (palm pixi plus)?

hello,
thanks for freedreno.
based on comments from your latest post
http://bloggingthemonkey.blogspot.com/2012/08/textured-cube-fullscreen.html
some testing on a200 was of interest.

i'm guessing that i could build freedreno for a palm pixi (running webos), using either the original palm pdk or webos-internals dev kit (widk), assuming make BUILD=glibc is supported?
if unsupported, please ignore the remainder of this distraction.
if intended to be supported, here are some make issues (under widk)
(1) tests-3d/test-cat.c:148: error: invalid application of 'sizeof' to incomplete type 'const float[]'
workaround: omit test-cat
(2)In file included from includes/kgsl_drm.h:4,
from wrap/wrap.h:43,
from wrap/wrap-util.c:24:
includes/drm.h:620:26: error: drm/drm_mode.h: No such file or directory
workaround: none?

i'll look into creating some cmdstream dumps as mentioned in the blog comments.

Adreno 506 on linux chroot (android 10)

Can adreno 506 work in linux chroot (i use android 10)? i see someone can get 3D acceleration using turnip or zink in chroot from android, but i dont know how to make it works..

Root access on Ifc6410 board

Hi, thanks for all your work on this amazing project. I'm having trouble getting past step 8 of installing Fedora and Freedreno on the Ifc6410 board. I can get to a login prompt via the serial terminal, but when I enter 'root' for the username and leave the password blank, I always receive an 'Incorrect login'. I've even tried different combinations of default usernames and passwords to no avail. Do you think I did something incorrect when setting up the Fedora file system, or is my terminal emulator maybe sending a newline character or parity bit or something else that might be interpreted as a password? Any help would be appreciated!--thanks!

A320 hangs on 4.12rc1 and up

I am using freedreno on ARM apq8064 Nexus 7 2013 WIFI (flo). I am using these patches to make freedreno work on 4.11 and 4.11.12 if I don't use them I get a blue/black screen:

Make_of_dma_deconfigure()_public
https://git.linaro.org/people/john.stultz/flo.git/commit/?h=flo-v4.11&id=6dd93436bf11ccd9fef459b8dc9f58c8635a6230

Split_of_configure_dma()_into_mask_and_ops_configuration
https://git.linaro.org/people/john.stultz/flo.git/commit/?h=flo-v4.11&id=b3c0228dd8468ab9a9da3b70b2a011ffb855091b

Configure_dma_operations_at_probe_time
https://git.linaro.org/people/john.stultz/flo.git/commit/?h=flo-v4.11&id=4d4d7186492648fe2517178b983fcd5a55e3d575

Handle_IOMMU_lookup_failure_with_deferred_probing_or_error
https://git.linaro.org/people/john.stultz/flo.git/commit/?h=flo-v4.11&id=c0648aa6e6063285cec2a15fecd360a3b4394af4

Now kernels 4.12rc1 and up implement these patches upstream in a heavy edited form and when I run them I get the screen working but the A320 gpu hangs constantly and is unusable. So the problem was introduced in kernel 4.12rc1.
Upstreamed patch to 4.12rc1:
Handle_IOMMU_lookup_failure_with_deferred_probing_or_error
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7b07cbefb68d486febf47e13b570fed53d9296b4

Could there be a way to fix this from freedreno side or should I ask laurent pinchart about his commits?
Please contact me to help test a possible fix.
My dmesg https://paste.gnome.org/pw0kyldbz

[ 105.339331] msm 5100000.mdp: A320: using IOMMU
[ 124.084217] msm 5100000.mdp: A320: hangcheck detected gpu lockup!
[ 124.084235] msm 5100000.mdp: A320: completed fence: 1
[ 124.084246] msm 5100000.mdp: A320: submitted fence: 29
[ 124.084391] msm 5100000.mdp: A320: hangcheck recover!
[ 124.084418] msm 5100000.mdp: A320: offending task: Xwayland
[ 124.098105] revision: 320 (3.2.0.2)
[ 124.098122] fence: 1/29
[ 124.098136] rptr: 40
[ 124.098150] wptr: 0
[ 124.098163] rb wptr: 510
[ 124.098179] CP_SCRATCH_REG0: 0
[ 124.098194] CP_SCRATCH_REG1: 0
[ 124.098209] CP_SCRATCH_REG2: 2
[ 124.098224] CP_SCRATCH_REG3: 0
[ 124.098239] CP_SCRATCH_REG4: 0
[ 124.098254] CP_SCRATCH_REG5: 1
[ 124.098269] CP_SCRATCH_REG6: 21
[ 124.098284] CP_SCRATCH_REG7: 3
[ 125.634299] [drm:a3xx_idle] ERROR A320: timeout waiting for GPU to idle!
[ 126.634276] [drm:adreno_idle] ERROR A320: timeout waiting to drain ringbuffer!
[ 127.744210] [drm:adreno_idle] ERROR A320: timeout waiting to drain ringbuffer!
[ 128.844285] [drm:adreno_idle] ERROR A320: timeout waiting to drain ringbuffer!
[ 129.944292] [drm:adreno_idle] ERROR A320: timeout waiting to drain ringbuffer!
[ 131.044162] [drm:adreno_idle] ERROR A320: timeout waiting to drain ringbuffer!
[ 131.044267] msm 5100000.mdp: A320: hangcheck detected gpu lockup!
[ 131.044299] msm 5100000.mdp: A320: completed fence: 61
[ 131.044322] msm 5100000.mdp: A320: submitted fence: 67
[ 131.044593] msm 5100000.mdp: A320: hangcheck recover!
[ 131.044605] msm 5100000.mdp: A320: offending task: Xwayland
[ 131.044758] revision: 320 (3.2.0.2)
[ 131.044768] fence: 61/67
[ 131.044777] rptr: 0
[ 131.044784] wptr: 0
[ 131.044792] rb wptr: 38
[ 131.044800] CP_SCRATCH_REG0: 0
[ 131.044807] CP_SCRATCH_REG1: 0
[ 131.044815] CP_SCRATCH_REG2: 61
[ 131.044822] CP_SCRATCH_REG3: 0
[ 131.044829] CP_SCRATCH_REG4: 0
[ 131.044837] CP_SCRATCH_REG5: 1339
[ 131.044844] CP_SCRATCH_REG6: 1346
[ 131.044852] CP_SCRATCH_REG7: 1341
[ 134.084235] msm 5100000.mdp: A320: hangcheck detected gpu lockup!
[ 134.084295] msm 5100000.mdp: A320: completed fence: 70
[ 134.084317] msm 5100000.mdp: A320: submitted fence: 71
[ 134.084869] msm 5100000.mdp: A320: hangcheck recover!
[ 134.084897] msm 5100000.mdp: A320: offending task: weston
[ 134.084979] revision: 320 (3.2.0.2)
[ 134.084994] fence: 70/71
[ 134.085007] rptr: 24
[ 134.085021] wptr: 0
[ 134.085034] rb wptr: 46
[ 134.085052] CP_SCRATCH_REG0: 0
[ 134.085067] CP_SCRATCH_REG1: 0
[ 134.085082] CP_SCRATCH_REG2: 70
[ 134.085097] CP_SCRATCH_REG3: 0
[ 134.085112] CP_SCRATCH_REG4: 0
[ 134.085126] CP_SCRATCH_REG5: 1657
[ 134.085141] CP_SCRATCH_REG6: 1680
[ 134.085156] CP_SCRATCH_REG7: 1682
[ 171.044266] msm 5100000.mdp: A320: hangcheck detected gpu lockup!
[ 171.044326] msm 5100000.mdp: A320: completed fence: 73
[ 171.044349] msm 5100000.mdp: A320: submitted fence: 74
[ 171.044908] msm 5100000.mdp: A320: hangcheck recover!
[ 171.044933] msm 5100000.mdp: A320: offending task: weston
[ 171.045004] revision: 320 (3.2.0.2)
[ 171.045020] fence: 73/74
[ 171.045033] rptr: 24
[ 171.045046] wptr: 0
[ 171.045059] rb wptr: 46
[ 171.045075] CP_SCRATCH_REG0: 0
[ 171.045090] CP_SCRATCH_REG1: 0
[ 171.045104] CP_SCRATCH_REG2: 73
[ 171.045119] CP_SCRATCH_REG3: 0
[ 171.045134] CP_SCRATCH_REG4: 0
[ 171.045149] CP_SCRATCH_REG5: 559
[ 171.045163] CP_SCRATCH_REG6: 684
[ 171.045178] CP_SCRATCH_REG7: 686
[ 409.844371] dsi_cmds2buf_tx: cmd dma tx failed, type=0x39, data0=0x51, len=8
[ 410.184346] msm 5100000.mdp: vblank time out, crtc=0

Blank Screen Starting GDM on ifc6410 board

My friend and I have been independently following your steps to install Fedora and Freedreno on the Ifc6410 board. I am able to boot up Fedora and login as root via serial. Everything works fine and I even get a bootup Fedora logo through HDMI. However, the problem occurs when running 'systemctl start gdm' via the serial terminal. The screen (displaying HDMI output) just remains blank and nothing happens from here on. After some time a mouse cursor appears on the blank screen but that is all that happens. My friend and I are both stuck with this issue and any help would be greatly appreciated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.