Graphics problem in Yocto build for DragonBoard


#1

Hi,

I built “rpb-desktop-image” for dragonboard. When I run “clear.mesa-demos” I get the error:
libEGL warning: DRI2: failed to create dri screen

Even “glxdemo” gives me the following errors:
libGL error: failed to create dri screen
libGL error: failed to load driver: msm

Regards,
Kiran


#2

hi,

we would need a bit more info about which version you have built. At the very least the output of “repo manifest -r” would help. If you can share the content of /etc/build file (in the RPB image) that would be helpful too.

I am running a recent RPB build on my DB410c, using the ‘krogoth’ manifest branch, and everything looks good here.

Also, can you give more details about how you start the X11 env and run your commands?


#3

Hi,

I would also say that there are many of us that successfully ran glxdemo. Maybe the following thread could help :
http://www.96boards.org/forums/topic/cannot-start-x-server-on-rpb-desktop-image/

Jérôme.


#4

Hi,

Thanks for your replies. I was able to get glxdemo and glxgears working. It was not working before, because I was not starting Openbox. But I am getting 30FPS only.


#5

hi, we still the debug info I requested earlier. and the content of the X log file as well (/var/log/Xorg.0.log. Without any info, it’s hard to tell what can be wrong.


#6

Sorry for missing to add that info.
Commands for running glxgears:
X&
export DISPLAY=:0
openbox &
glxgears &

“repo manifest -r” is as follows:

<?xml version=“1.0” encoding=“UTF-8”?>
<manifest>
<remote fetch=“https://bitbucket.org” name=“bitbucket”/>
<remote fetch=“https://github.com” name=“github”/>
<remote fetch=“http://git.linaro.org” name=“linaro”/>
<remote fetch=“git://git.openembedded.org” name=“oe”/>
<remote fetch=“http://git.shr-project.org” name=“shr”/>
<remote fetch=“http://git.yoctoproject.org” name=“yocto”/>

<default revision=“jethro” sync-j=“4”/>

<project name=“96boards/meta-96boards” path=“layers/meta-96boards” remote=“github” revision=“2090710fe2dc8aac1e356852a4a8ba54012f6a3d” upstream=“master”/>
<project name=“96boards/meta-rpb” path=“layers/meta-rpb” remote=“github” revision=“54b0c1ee2d6a3d7db21bed24b904df832abb2721” upstream=“master”/>
<project name=“OSSystems/meta-browser” path=“layers/meta-browser” remote=“github” revision=“e114d625d4bd23a52cc1108a45d96ffd8dc0ab7f” upstream=“jethro”/>
<project name=“meta-qt5/meta-qt5” path=“layers/meta-qt5” remote=“github” revision=“ea37a0bc987aa9484937ad68f762b4657c198617” upstream=“jethro”/>
<project name=“ndechesne/meta-qcom” path=“layers/meta-qcom” remote=“github” revision=“2bf741274e1d106f68ffecbf0d9d91c3bdadeab0” upstream=“jethro”>
<linkfile dest=“setup-environment” src="…/…/.repo/manifests/setup-environment"/>
</project>
<project name=“openembedded/bitbake” path=“bitbake” remote=“github” revision=“0e9d8d63ddb35d181d4e470585d1e4a4c646cd00” upstream=“1.28”/>
<project name=“openembedded/meta-backports” path=“layers/meta-backports” remote=“linaro” revision=“7630f48291f397c064ff4b2a7c67215e0700f11d” upstream=“jethro”/>
<project name=“openembedded/meta-linaro” path=“layers/meta-linaro” remote=“linaro” revision=“9b1fd178309544dff1f7453e796a9437125bc0d9” upstream=“jethro”/>
<project name=“openembedded/meta-openembedded” path=“layers/meta-openembedded” remote=“github” revision=“8ab04afbffb4bc5184cfe0655049de6f44269990” upstream=“jethro”/>
<project name=“openembedded/openembedded-core” path=“layers/openembedded-core” remote=“github” revision=“a27b907dd3ad20fc60b7732c19012793aaaba2df” upstream=“jethro”/>
</manifest>

/var/log/Xorg.0.log:

[3660599.936]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[3660599.938] X Protocol Version 11, Revision 0
[3660599.938] Build Operating System: Linux 3.13.0-32-generic x86_64
[3660599.940] Current Operating System: Linux dragonboard-410c 4.4.9+linaro #3 SMP

PREEMPT Tue Aug 23 17:57:32 IST 2016 aarch64
[3660599.940] Kernel command line: root=/dev/mmcblk0p10 rw rootwait

console=ttyMSM0,115200n8 androidboot.emmc=true androidboot.serialno=9c5b2518

androidboot.baseband=apq mdss_mdp.panel=0:dsi:0:
[3660599.943] Build Date: 31 August 2016 09:58:24AM
[3660599.943]
[3660599.944] Current version of pixman: 0.32.6
[3660599.945] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[3660599.945] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[3660599.950] (==) Log file: “/var/log/Xorg.0.log”, Time: Tue Aug 30 06:43:35 2016
[3660599.960] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[3660599.963] (==) No Layout section. Using the first Screen section.
[3660599.963] (==) No screen section available. Using defaults.
[3660599.963] (
) |–>Screen “Default Screen Section” (0)
[3660599.964] (**) | |–>Monitor “<default monitor>”
[3660599.965] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[3660599.966] (==) Automatically adding devices
[3660599.966] (==) Automatically enabling devices
[3660599.966] (==) Automatically adding GPU devices
[3660599.969] (WW) The directory “/usr/share/fonts/X11/misc/” does not exist.
[3660599.969] Entry deleted from font path.
[3660599.969] (WW) The directory “/usr/share/fonts/X11/TTF/” does not exist.
[3660599.969] Entry deleted from font path.
[3660599.969] (WW) The directory “/usr/share/fonts/X11/OTF/” does not exist.
[3660599.969] Entry deleted from font path.
[3660599.969] (WW) The directory “/usr/share/fonts/X11/Type1/” does not exist.
[3660599.969] Entry deleted from font path.
[3660599.969] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[3660599.969] Entry deleted from font path.
[3660599.969] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[3660599.969] Entry deleted from font path.
[3660599.969] (==) FontPath set to:

[3660599.970] (==) ModulePath set to “/usr/lib/xorg/modules”
[3660599.970] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[3660599.970] (II) Loader magic: 0x5b1680
[3660599.970] (II) Module ABI versions:
[3660599.970] X.Org ANSI C Emulation: 0.4
[3660599.970] X.Org Video Driver: 19.0
[3660599.970] X.Org XInput driver : 21.0
[3660599.970] X.Org Server Extension : 9.0
[3660599.976] (II) xfree86: Adding drm device (/dev/dri/card0)
[3660600.021] (II) no primary bus or device found
[3660600.021] falling back to

/sys/devices/platform/soc/1a00000.qcom,mdss_mdp/drm/card0
[3660600.024] (II) LoadModule: “glx”
[3660600.028] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[3660600.042] (II) Module glx: vendor=“X.Org Foundation”
[3660600.042] compiled for 1.17.2, module version = 1.0.0
[3660600.042] ABI class: X.Org Server Extension, version 9.0
[3660600.042] (==) AIGLX enabled
[3660600.042] (II) Applying OutputClass “Video driver for Qualcomm processors” to

/dev/dri/card0
[3660600.042] loading driver: freedreno
[3660600.042] (==) Matched freedreno as autoconfigured driver 0
[3660600.042] (==) Matched modesetting as autoconfigured driver 1
[3660600.042] (==) Matched fbdev as autoconfigured driver 2
[3660600.043] (==) Assigned the driver to the xf86ConfigLayout
[3660600.043] (II) LoadModule: “freedreno”
[3660600.043] (II) Loading /usr/lib/xorg/modules/drivers/freedreno_drv.so
[3660600.074] (II) Module freedreno: vendor=“X.Org Foundation”
[3660600.074] compiled for 1.17.2, module version = 1.4.0
[3660600.074] ABI class: X.Org Video Driver, version 19.0
[3660600.074] (II) LoadModule: “modesetting”
[3660600.074] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[3660600.076] (II) Module modesetting: vendor=“X.Org Foundation”
[3660600.076] compiled for 1.17.2, module version = 1.17.2
[3660600.076] Module class: X.Org Video Driver
[3660600.076] ABI class: X.Org Video Driver, version 19.0
[3660600.076] (II) LoadModule: “fbdev”
[3660600.077] (WW) Warning, couldn’t open module fbdev
[3660600.077] (II) UnloadModule: “fbdev”
[3660600.077] (II) Unloading fbdev
[3660600.077] (EE) Failed to load module “fbdev” (module does not exist, 0)
[3660600.077] (II) freedreno: Video driver for Qualcomm processors
[3660600.077] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[3660600.077] (++) using VT number 1

[3660600.077] (–) controlling tty is VT number 1, auto-enabling KeepTty
[3660600.114] (WW) Falling back to old probe method for modesetting
[3660600.140] (II) freedreno(0): MSMPreInit:183 pre-init
[3660600.140] (–) freedreno(0): Depth 0, (–) framebuffer bpp 0
[3660600.140] (II) freedreno(0): MSM/Qualcomm processor
[3660600.140] drmOpenDevice: node name is /dev/dri/card0
[3660600.153] drmOpenDevice: open result is 7, (OK)
[3660600.167] drmOpenDevice: node name is /dev/dri/card0
[3660600.180] drmOpenDevice: open result is 7, (OK)
[3660600.180] drmGetBusid returned ‘’
[3660600.180] (II) freedreno(0): Creating default Display subsection in Screen

section
"Default Screen Section" for depth/fbbpp 24/32
[3660600.214] (II) freedreno(0): Output HDMI-1 has no monitor section
[3660600.221] (II) freedreno(0): EDID for output HDMI-1
[3660600.221] (II) freedreno(0): Manufacturer: DEL Model: a08b Serial#: 810569809
[3660600.221] (II) freedreno(0): Year: 2012 Week: 33
[3660600.221] (II) freedreno(0): EDID Version: 1.3
[3660600.221] (II) freedreno(0): Digital Display Input
[3660600.221] (II) freedreno(0): Max Image Size [cm]: horiz.: 53 vert.: 30
[3660600.221] (II) freedreno(0): Gamma: 2.20
[3660600.221] (II) freedreno(0): DPMS capabilities: StandBy Suspend Off
[3660600.221] (II) freedreno(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[3660600.221] (II) freedreno(0): First detailed timing is preferred mode
[3660600.221] (II) freedreno(0): redX: 0.645 redY: 0.334 greenX: 0.335 greenY:

0.624
[3660600.221] (II) freedreno(0): blueX: 0.156 blueY: 0.052 whiteX: 0.313 whiteY:

0.329
[3660600.221] (II) freedreno(0): Supported established timings:
[3660600.221] (II) freedreno(0): 720x400@70Hz
[3660600.221] (II) freedreno(0): 640x480@60Hz
[3660600.221] (II) freedreno(0): 640x480@75Hz
[3660600.221] (II) freedreno(0): 800x600@60Hz
[3660600.221] (II) freedreno(0): 800x600@75Hz
[3660600.221] (II) freedreno(0): 1024x768@60Hz
[3660600.221] (II) freedreno(0): 1024x768@75Hz
[3660600.221] (II) freedreno(0): 1280x1024@75Hz
[3660600.221] (II) freedreno(0): Manufacturer’s mask: 0
[3660600.221] (II) freedreno(0): Supported standard timings:
[3660600.221] (II) freedreno(0): #0: hsize: 1152 vsize 864 refresh: 75 vid: 20337
[3660600.221] (II) freedreno(0): #1: hsize: 1280 vsize 1024 refresh: 60 vid:

32897
[3660600.221] (II) freedreno(0): #2: hsize: 1920 vsize 1080 refresh: 60 vid:

49361
[3660600.221] (II) freedreno(0): Supported detailed timing:
[3660600.221] (II) freedreno(0): clock: 148.5 MHz Image Size: 531 x 299 mm
[3660600.221] (II) freedreno(0): h_active: 1920 h_sync: 2008 h_sync_end 2052

h_blank_end 2200 h_border: 0
[3660600.222] (II) freedreno(0): v_active: 1080 v_sync: 1084 v_sync_end 1089

v_blanking: 1125 v_border: 0
[3660600.222] (II) freedreno(0): Serial No: 0JVDR28G0PPQ
[3660600.222] (II) freedreno(0): Monitor name: DELL S2440L
[3660600.222] (II) freedreno(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 83

kHz, PixClock max 175 MHz
[3660600.222] (II) freedreno(0): Supported detailed timing:
[3660600.222] (II) freedreno(0): clock: 148.5 MHz Image Size: 531 x 299 mm
[3660600.222] (II) freedreno(0): h_active: 1920 h_sync: 2008 h_sync_end 2052

h_blank_end 2200 h_border: 0
[3660600.222] (II) freedreno(0): v_active: 1080 v_sync: 1084 v_sync_end 1089

v_blanking: 1125 v_border: 0
[3660600.222] (II) freedreno(0): Supported detailed timing:
[3660600.222] (II) freedreno(0): clock: 74.2 MHz Image Size: 531 x 299 mm
[3660600.222] (II) freedreno(0): h_active: 1920 h_sync: 2008 h_sync_end 2052

h_blank_end 2200 h_border: 0
[3660600.222] (II) freedreno(0): v_active: 540 v_sync: 542 v_sync_end 547

v_blanking: 562 v_border: 0
[3660600.222] (II) freedreno(0): Supported detailed timing:
[3660600.222] (II) freedreno(0): clock: 74.2 MHz Image Size: 531 x 299 mm
[3660600.222] (II) freedreno(0): h_active: 1280 h_sync: 1390 h_sync_end 1430

h_blank_end 1650 h_border: 0
[3660600.222] (II) freedreno(0): v_active: 720 v_sync: 725 v_sync_end 730

v_blanking: 750 v_border: 0
[3660600.222] (II) freedreno(0): Supported detailed timing:
[3660600.222] (II) freedreno(0): clock: 27.0 MHz Image Size: 531 x 299 mm
[3660600.222] (II) freedreno(0): h_active: 720 h_sync: 736 h_sync_end 798

h_blank_end 858 h_border: 0
[3660600.222] (II) freedreno(0): v_active: 480 v_sync: 489 v_sync_end 495

v_blanking: 525 v_border: 0
[3660600.222] (II) freedreno(0): Number of EDID sections to follow: 1
[3660600.222] (II) freedreno(0): EDID (in hex):
[3660600.222] (II) freedreno(0): 00ffffffffffff0010ac8ba051505030
[3660600.222] (II) freedreno(0): 2116010380351e78ea2f15a555559f28
[3660600.222] (II) freedreno(0): 0d5054a54b00714f8180d1c001010101
[3660600.222] (II) freedreno(0): 010101010101023a801871382d40582c
[3660600.222] (II) freedreno(0): 4500132b2100001e000000ff00304a56
[3660600.222] (II) freedreno(0): 4452323847305050510a000000fc0044
[3660600.223] (II) freedreno(0): 454c4c2053323434304c0a20000000fd
[3660600.223] (II) freedreno(0): 00384c1e5311000a2020202020200128
[3660600.223] (II) freedreno(0): 02031ff14c9005040302071601141f12
[3660600.223] (II) freedreno(0): 132309070765030c0010008301000002
[3660600.223] (II) freedreno(0): 3a801871382d40582c4500132b210000
[3660600.223] (II) freedreno(0): 1e011d8018711c1620582c2500132b21
[3660600.223] (II) freedreno(0): 00009e011d007251d01e206e28550013
[3660600.223] (II) freedreno(0): 2b2100001e8c0ad08a20e02d10103e96
[3660600.223] (II) freedreno(0): 00132b21000018000000000000000000
[3660600.223] (II) freedreno(0): 0000000000000000000000000000001b
[3660600.223] (II) freedreno(0): Printing probed modes for output HDMI-1
[3660600.223] (II) freedreno(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052

2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[3660600.223] (II) freedreno(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492

2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[3660600.223] (II) freedreno(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052

2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[3660600.223] (II) freedreno(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440

1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[3660600.223] (II) freedreno(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440

1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[3660600.223] (II) freedreno(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344

1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[3660600.223] (II) freedreno(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430

1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[3660600.223] (II) freedreno(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760

1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[3660600.224] (II) freedreno(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430

1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[3660600.224] (II) freedreno(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136

1312 768 769 772 800 +hsync +vsync (60.1 kHz e)
[3660600.224] (II) freedreno(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184

1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[3660600.224] (II) freedreno(0): Modeline "800x600"x75.0 49.50 800 816 896 1056

600 601 604 625 +hsync +vsync (46.9 kHz e)
[3660600.224] (II) freedreno(0): Modeline "800x600"x60.3 40.00 800 840 968 1056

600 601 605 628 +hsync +vsync (37.9 kHz e)
[3660600.224] (II) freedreno(0): Modeline "720x576"x50.0 27.00 720 732 796 864

576 581 586 625 -hsync -vsync (31.2 kHz e)
[3660600.224] (II) freedreno(0): Modeline "720x480"x60.0 27.03 720 736 798 858

480 489 495 525 -hsync -vsync (31.5 kHz e)
[3660600.224] (II) freedreno(0): Modeline "720x480"x59.9 27.00 720 736 798 858

480 489 495 525 -hsync -vsync (31.5 kHz e)
[3660600.224] (II) freedreno(0): Modeline "640x480"x75.0 31.50 640 656 720 840

480 481 484 500 -hsync -vsync (37.5 kHz e)
[3660600.224] (II) freedreno(0): Modeline "640x480"x60.0 25.20 640 656 752 800

480 490 492 525 -hsync -vsync (31.5 kHz e)
[3660600.224] (II) freedreno(0): Modeline "640x480"x59.9 25.18 640 656 752 800

480 490 492 525 -hsync -vsync (31.5 kHz e)
[3660600.224] (II) freedreno(0): Modeline "720x400"x70.1 28.32 720 738 846 900

400 412 414 449 -hsync +vsync (31.5 kHz e)
[3660600.224] (II) freedreno(0): Output HDMI-1 connected
[3660600.224] (II) freedreno(0): Using exact sizes for initial modes
[3660600.224] (II) freedreno(0): Output HDMI-1 using initial mode 1920x1080
[3660600.224] (II) freedreno(0): Using default gamma of (1.0, 1.0, 1.0) unless

otherwise stated.
[3660600.224] (II) freedreno(0): Option Summary:
[3660600.224] (II) freedreno(0): NoAccel: 0
[3660600.224] (II) freedreno(0): HWCursor: 1
[3660600.224] (II) freedreno(0): examask: 7
[3660600.224] (II) freedreno(0): Debug: 0
[3660600.224] (–) freedreno(0): Virtual size is 1920x1080 (pitch 0)
[3660600.224] (**) freedreno(0): Driver mode “1920x1080”: 148.5 MHz (scaled from

0.0 MHz), 67.5 kHz, 60.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052

2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[3660600.225] (**) freedreno(0): Driver mode “1920x1080”: 148.5 MHz (scaled from

0.0 MHz), 56.2 kHz, 50.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492

2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1920x1080”: 148.4 MHz (scaled from

0.0 MHz), 67.4 kHz, 59.9 Hz
[3660600.225] (II) freedreno(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052

2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1280x1024”: 135.0 MHz (scaled from

0.0 MHz), 80.0 kHz, 75.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440

1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1280x1024”: 108.0 MHz (scaled from

0.0 MHz), 64.0 kHz, 60.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440

1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1152x864”: 108.0 MHz (scaled from 0.0

MHz), 67.5 kHz, 75.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344

1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1280x720”: 74.2 MHz (scaled from 0.0

MHz), 45.0 kHz, 60.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430

1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1280x720”: 74.2 MHz (scaled from 0.0

MHz), 37.5 kHz, 50.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760

1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1280x720”: 74.2 MHz (scaled from 0.0

MHz), 45.0 kHz, 59.9 Hz
[3660600.225] (II) freedreno(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430

1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1024x768”: 78.8 MHz (scaled from 0.0

MHz), 60.1 kHz, 75.1 Hz
[3660600.225] (II) freedreno(0): Modeline "1024x768"x75.1 78.80 1024 1040 1136

1312 768 769 772 800 +hsync +vsync (60.1 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “1024x768”: 65.0 MHz (scaled from 0.0

MHz), 48.4 kHz, 60.0 Hz
[3660600.225] (II) freedreno(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184

1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “800x600”: 49.5 MHz (scaled from 0.0

MHz), 46.9 kHz, 75.0 Hz
[3660600.225] (II) freedreno(0): Modeline "800x600"x75.0 49.50 800 816 896 1056

600 601 604 625 +hsync +vsync (46.9 kHz e)
[3660600.225] (**) freedreno(0): Driver mode “800x600”: 40.0 MHz (scaled from 0.0

MHz), 37.9 kHz, 60.3 Hz
[3660600.226] (II) freedreno(0): Modeline "800x600"x60.3 40.00 800 840 968 1056

600 601 605 628 +hsync +vsync (37.9 kHz e)
[3660600.226] (**) freedreno(0): Driver mode “720x576”: 27.0 MHz (scaled from 0.0

MHz), 31.2 kHz, 50.0 Hz
[3660600.226] (II) freedreno(0): Modeline "720x576"x50.0 27.00 720 732 796 864

576 581 586 625 -hsync -vsync (31.2 kHz e)
[3660600.226] (**) freedreno(0): Driver mode “720x480”: 27.0 MHz (scaled from 0.0

MHz), 31.5 kHz, 60.0 Hz
[3660600.226] (II) freedreno(0): Modeline "720x480"x60.0 27.03 720 736 798 858

480 489 495 525 -hsync -vsync (31.5 kHz e)
[3660600.226] (**) freedreno(0): Driver mode “720x480”: 27.0 MHz (scaled from 0.0

MHz), 31.5 kHz, 59.9 Hz
[3660600.226] (II) freedreno(0): Modeline "720x480"x59.9 27.00 720 736 798 858

480 489 495 525 -hsync -vsync (31.5 kHz e)
[3660600.226] (**) freedreno(0): Driver mode “640x480”: 31.5 MHz (scaled from 0.0

MHz), 37.5 kHz, 75.0 Hz
[3660600.226] (II) freedreno(0): Modeline "640x480"x75.0 31.50 640 656 720 840

480 481 484 500 -hsync -vsync (37.5 kHz e)
[3660600.226] (**) freedreno(0): Driver mode “640x480”: 25.2 MHz (scaled from 0.0

MHz), 31.5 kHz, 60.0 Hz
[3660600.226] (II) freedreno(0): Modeline "640x480"x60.0 25.20 640 656 752 800

480 490 492 525 -hsync -vsync (31.5 kHz e)
[3660600.226] (**) freedreno(0): Driver mode “640x480”: 25.2 MHz (scaled from 0.0

MHz), 31.5 kHz, 59.9 Hz
[3660600.226] (II) freedreno(0): Modeline "640x480"x59.9 25.18 640 656 752 800

480 490 492 525 -hsync -vsync (31.5 kHz e)
[3660600.226] (**) freedreno(0): Driver mode “720x400”: 28.3 MHz (scaled from 0.0

MHz), 31.5 kHz, 70.1 Hz
[3660600.226] (II) freedreno(0): Modeline "720x400"x70.1 28.32 720 738 846 900

400 412 414 449 -hsync +vsync (31.5 kHz e)
[3660600.226] (==) freedreno(0): DPI set to (96, 96)
[3660600.226] (==) freedreno(0): RGB weight 888
[3660600.226] (==) freedreno(0): Default visual is TrueColor
[3660600.226] (II) freedreno(0): MSM Options:
[3660600.226] (II) freedreno(0): HW Cursor: Enabled
[3660600.226] (II) UnloadModule: “modesetting”
[3660600.226] (II) Unloading modesetting
[3660600.227] (==) Depth 24 pixmap format is 32 bpp
[3660600.230] (II) Loading sub module “fb”
[3660600.230] (II) LoadModule: “fb”
[3660600.230] (II) Loading /usr/lib/xorg/modules/libfb.so
[3660600.233] (II) Module fb: vendor=“X.Org Foundation”
[3660600.233] compiled for 1.17.2, module version = 1.0.0
[3660600.233] ABI class: X.Org ANSI C Emulation, version 0.4
[3660600.235] (==) freedreno(0): Backing store enabled
[3660600.235] (II) Loading sub module “exa”
[3660600.235] (II) LoadModule: “exa”
[3660600.235] (II) Loading /usr/lib/xorg/modules/libexa.so
[3660600.237] (II) Module exa: vendor=“X.Org Foundation”
[3660600.237] compiled for 1.17.2, module version = 2.6.0
[3660600.237] ABI class: X.Org Video Driver, version 19.0
[3660600.237] [E] get-param failed! -22 (Invalid argument) (get_param:100)
[3660600.237] [E] get-param failed! -22 (Invalid argument) (get_param:100)
[3660600.237] [E] get-param failed! -22 (Invalid argument) (get_param:100)
[3660600.237] [E] allocation failed (fd_pipe_new:48)
[3660600.237] (II) freedreno(0): no 2D, trying 3D/XA
[3660600.238] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.238] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.238] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.238] [E] allocation failed (fd_pipe_new:48)
[3660600.238] (EE) freedreno(0): ERROR: no 3D pipe
[3660600.238] (II) freedreno(0): no 2D pipe, falling back to software!
[3660600.238] (II) Loading sub module “exa”
[3660600.238] (II) LoadModule: “exa”
[3660600.238] (II) Loading /usr/lib/xorg/modules/libexa.so
[3660600.238] (II) Module exa: vendor=“X.Org Foundation”
[3660600.238] compiled for 1.17.2, module version = 2.6.0
[3660600.238] ABI class: X.Org Video Driver, version 19.0
[3660600.238] (II) EXA(0): Driver allocated offscreen pixmaps
[3660600.238] (II) EXA(0): Driver registered support for the following operations:
[3660600.238] (II) Solid
[3660600.238] (II) Copy
[3660600.238] (II) Composite (RENDER acceleration)
[3660600.239] (II) freedreno(0): [DRI2] Setup complete
[3660600.239] (II) freedreno(0): [DRI2] DRI driver: msm
[3660600.239] (II) freedreno(0): RandR 1.2 enabled, ignore the following RandR

disabled message.
[3660600.240] (–) RandR disabled
[3660600.271] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.271] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.271] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.271] [E] allocation failed (fd_pipe_new:48)
[3660600.271] (EE) AIGLX error: Calling driver entry point failed
[3660600.273] (EE) AIGLX: reverting to software rendering
[3660600.293] (II) AIGLX: Loaded and initialized swrast
[3660600.293] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[3660600.556] (EE) freedreno(0): failed to set gamma: Function not implemented
[3660600.556] (II) freedreno(0): Setting screen physical size to 508 x 285
[3660600.791] (II) config/udev: Adding input device gpio_keys (/dev/input/event1)
[3660600.791] () gpio_keys: Applying InputClass “evdev keyboard catchall”
[3660600.791] (II) LoadModule: “evdev”
[3660600.791] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[3660600.796] (II) Module evdev: vendor=“X.Org Foundation”
[3660600.796] compiled for 1.17.2, module version = 2.9.2
[3660600.796] Module class: X.Org XInput Driver
[3660600.796] ABI class: X.Org XInput driver, version 21.0
[3660600.796] (II) Using input driver ‘evdev’ for ‘gpio_keys’
[3660600.796] (
) gpio_keys: always reports core events
[3660600.796] () evdev: gpio_keys: Device: “/dev/input/event1”
[3660600.796] (–) evdev: gpio_keys: Vendor 0x1 Product 0x1
[3660600.797] (–) evdev: gpio_keys: Found keys
[3660600.797] (II) evdev: gpio_keys: Configuring as keyboard
[3660600.797] (
) Option “config_info”

“udev:/sys/devices/platform/gpio_keys/input/input1/event1”
[3660600.797] (II) XINPUT: Adding extended input device “gpio_keys” (type: KEYBOARD,

id 6)
[3660600.797] () Option “xkb_rules” “evdev”
[3660600.797] (
) Option “xkb_model” “pc104”
[3660600.797] (**) Option “xkb_layout” “us”
[3660600.895] (II) config/udev: Adding input device pm8941_pwrkey

(/dev/input/event0)
[3660600.895] () pm8941_pwrkey: Applying InputClass “evdev keyboard catchall”
[3660600.895] (II) Using input driver ‘evdev’ for ‘pm8941_pwrkey’
[3660600.895] (
) pm8941_pwrkey: always reports core events
[3660600.895] () evdev: pm8941_pwrkey: Device: “/dev/input/event0”
[3660600.895] (–) evdev: pm8941_pwrkey: Vendor 0 Product 0
[3660600.895] (–) evdev: pm8941_pwrkey: Found keys
[3660600.895] (II) evdev: pm8941_pwrkey: Configuring as keyboard
[3660600.895] (
) Option “config_info”

"udev:/sys/devices/platform/soc/200f000.spmi/spmi-0/0-

00/200f000.spmi:pm8916@0:pwrkey@800/input/input0/event0"
[3660600.896] (II) XINPUT: Adding extended input device “pm8941_pwrkey” (type:

KEYBOARD, id 7)
[3660600.896] () Option “xkb_rules” “evdev”
[3660600.896] (
) Option “xkb_model” “pc104”
[3660600.896] (**) Option “xkb_layout” “us”
[3660600.900] (II) config/udev: Adding input device Logitech USB Optical Mouse

(/dev/input/event2)
[3660600.900] (**) Logitech USB Optical Mouse: Applying InputClass "evdev pointer

catchall"
[3660600.900] (II) Using input driver ‘evdev’ for ‘Logitech USB Optical Mouse’
[3660600.900] () Logitech USB Optical Mouse: always reports core events
[3660600.900] (
) evdev: Logitech USB Optical Mouse: Device: “/dev/input/event2”
[3660600.955] (–) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc018
[3660600.955] (–) evdev: Logitech USB Optical Mouse: Found 3 mouse buttons
[3660600.955] (–) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[3660600.955] (–) evdev: Logitech USB Optical Mouse: Found relative axes
[3660600.955] (–) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[3660600.955] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[3660600.955] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[3660600.955] () evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
[3660600.955] (
) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4,

EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[3660600.955] (**) Option “config_info”

"udev:/sys/devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.1/1-

1.1:1.0/0003:046D:C018.0001/input/input2/event2"
[3660600.955] (II) XINPUT: Adding extended input device “Logitech USB Optical Mouse”

(type: MOUSE, id 8)
[3660600.955] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
[3660600.956] () Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[3660600.956] (
) Logitech USB Optical Mouse: (accel) acceleration profile 0
[3660600.956] () Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[3660600.956] (
) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[3660600.959] (II) config/udev: Adding input device Logitech USB Optical Mouse

(/dev/input/mouse0)
[3660600.959] (II) No input driver specified, ignoring this device.
[3660600.959] (II) This device may have been added with another device file.
[3660600.962] (II) config/udev: Adding input device NOVATEK USB NETVISTA FULL WIDTH

KEYBOARD (/dev/input/event3)
[3660600.962] (**) NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Applying InputClass

“evdev keyboard catchall”
[3660600.962] (II) Using input driver ‘evdev’ for 'NOVATEK USB NETVISTA FULL WIDTH

KEYBOARD’
[3660600.962] (**) NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: always reports core

events
[3660600.962] (**) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Device:

“/dev/input/event3”
[3660600.962] (–) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Vendor 0x461

Product 0x4e04
[3660600.962] (–) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Found keys
[3660600.962] (II) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Configuring as

keyboard
[3660600.962] (**) Option “config_info”

"udev:/sys/devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.2/1-

1.2:1.0/0003:0461:4E04.0002/input/input3/event3"
[3660600.962] (II) XINPUT: Adding extended input device "NOVATEK USB NETVISTA FULL

WIDTH KEYBOARD" (type: KEYBOARD, id 9)
[3660600.962] () Option “xkb_rules” “evdev”
[3660600.962] (
) Option “xkb_model” “pc104”
[3660600.962] (**) Option “xkb_layout” “us”
[3660600.966] (II) config/udev: Adding input device NOVATEK USB NETVISTA FULL WIDTH

KEYBOARD (/dev/input/event4)
[3660600.966] (**) NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Applying InputClass

“evdev keyboard catchall”
[3660600.966] (II) Using input driver ‘evdev’ for 'NOVATEK USB NETVISTA FULL WIDTH

KEYBOARD’
[3660600.966] (**) NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: always reports core

events
[3660600.966] (**) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Device:

“/dev/input/event4”
[3660600.967] (–) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Vendor 0x461

Product 0x4e04
[3660600.967] (–) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Found keys
[3660600.967] (II) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Configuring as

keyboard
[3660600.967] (**) Option “config_info”

"udev:/sys/devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.2/1-

1.2:1.1/0003:0461:4E04.0003/input/input4/event4"
[3660600.967] (II) XINPUT: Adding extended input device "NOVATEK USB NETVISTA FULL

WIDTH KEYBOARD" (type: KEYBOARD, id 10)
[3660600.967] () Option “xkb_rules” “evdev”
[3660600.967] (
) Option “xkb_model” “pc104”
[3660600.967] (**) Option “xkb_layout” “us”
[3660823.421] (II) config/udev: removing device Logitech USB Optical Mouse
[3660823.440] (II) evdev: Logitech USB Optical Mouse: Close
[3660823.440] (II) UnloadModule: “evdev”
[3660848.289] (II) config/udev: removing device NOVATEK USB NETVISTA FULL WIDTH

KEYBOARD
[3660848.303] (II) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Close
[3660848.304] (II) UnloadModule: “evdev”
[3660848.329] (II) config/udev: removing device NOVATEK USB NETVISTA FULL WIDTH

KEYBOARD
[3660848.351] (II) evdev: NOVATEK USB NETVISTA FULL WIDTH KEYBOARD: Close
[3660848.351] (II) UnloadModule: “evdev”


#7

hi,

i tried a fresh build from the jethro manifest branch, and it is working fine. From your log , things start to go bad at this point:

[3660600.237] (II) freedreno(0): no 2D, trying 3D/XA
[3660600.238] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.238] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.238] [E] get-param failed! -6 (No such device or address) (get_param:100)
[3660600.238] [E] allocation failed (fd_pipe_new:48)
[3660600.238] (EE) freedreno(0): ERROR: no 3D pipe
[3660600.238] (II) freedreno(0): no 2D pipe, falling back to software!

This is not expected, and that explains why GPU is not being used. However I am not sure how you ended up there.

Do you have any local changes in any layer? any patches?

How are you flashing the file system on the target?


#8

Hi,

My only local change is in Glibc where I have removed check for kernel version. That should not affect this. I am flashing this image using fastboot. First I flash partition binary followed by bootloaders and finally rootfs and boot.img built for yocto.


#9

hi,

can you also share the kernel log (dmesg)?

Also, can you please try one of our build, e.g. http://builds.96boards.org/snapshots/reference-platform/openembedded/jethro/dragonboard-410c/rpb/58/, to sanity test your setup?

thanks


#10

another question, when you setup your build environment, i am assuming that you are using

source setup-environment

is that correct? If so, you should be prompted to accept the EULA. Have you accepted it? If you didn’t accept the EULA, then the generated image would not include the GPU firmware, and that could lead to this situation.

On your rootfs, what do you have :

-rw-r–r-- root root 1156 /lib/firmware/a300_pfp.fw
-rw-r–r-- root root 9220 /lib/firmware/a300_pm4.fw


#11

Hi,

It worked with the official image. I got upto 1200 FPS. In my rootfs I can not see the /lib/firmware folder at all. I think EULA license could be the issue. Can I rerun the “source setup-environment” again in my build directory? Although I did run it before, I might have missed accepting EULA agreement.


#12

yes, you can rerun it. Just open a new terminal and do it again. it should ask you again. Alternatively, you can edit conf/auto.conf and make sure that you have

ACCEPT_EULA_dragonboard-410c = “1”


#13

It got fixed after I set “ACCEPT_EULA_dragonboard-410c” to “1”. I am getting upto 1300 FPS now. Thanks a lot.