Open ahmetgaisin opened 7 years ago
This is "normal" (it happens before the scanout buffer is reallocated). Note that with a modern xserver I recommend using xf86-video-modesetting with glamor for acceleration. (If you remove xf86-video-freedreno then it should use -modesetting by default.)
Section "Module" Load "dri2" Load "glamoregl" EndSection
Section "Device" Identifier "Card0" Driver "freedreno"
Option "fb" "/dev/graphics/fb0" Option "AccelMethod" "glamor" EndSection
Not working
Section "Device" Identifier "Card0" Driver "modesetting" EndSection
Xorg.log
[ 14757.855] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[ 14757.857]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 14757.858] X Protocol Version 11, Revision 0
[ 14757.870] Build Operating System: Linux 3.16.0-4-armmp-lpae armv7l Debian
[ 14757.871] Current Operating System: Linux localhost 3.4.0-v72 #4 SMP PREEMPT Mon Aug 1 14:01:21 MSK 2016 armv7l
[ 14757.871] Kernel command line: androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 vmalloc=400M dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y androidboot.selinux=permissive androidboot.emmc=true androidboot.bootloader=s1 oemandroidboot.s1boot=1277-2049_S1_Boot_MSM8974AB_LA3.0_M_2 androidboot.serialno=BH9169R716 ta_info=1,16,256 startup=0x00000001 warmboot=0x77665501 oemandroidboot.imei=3556090651882600 oemandroidboot.phoneid=0000:3556090651882600 oemandroidboot.security=0 oemandroidboot.securityflags=0x00000003 lcdid_adc=0x6C376 display_status=on androidboot.baseband=msm
[ 14757.873] Build Date: 20 July 2016 05:16:11AM
[ 14757.873] xorg-server 2:1.18.4-1 (http://www.debian.org/support)
[ 14757.873] Current version of pixman: 0.33.6
[ 14757.874] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 14757.874] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
14757.885 Log file: "/home/jundev/.local/share/xorg/Xorg.0.log", Time: Mon Aug 1 19:49:17 2016
14757.885 Using config file: "/etc/X11/xorg.conf"
14757.886 Using system config directory "/usr/share/X11/xorg.conf.d"
14757.886 ServerLayout "Layout0"
[ 14757.886]() |-->Screen "Screen0" (0)
14757.886 | |-->Monitor "
14757.888 systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration 14757.889 xfree86: Adding drm device (/dev/dri/card0) 14757.889 no primary bus or device found [ 14757.889] falling back to /sys/devices/fdb00000.qcom,kgsl-3d0/drm/card0 14757.889 LoadModule: "glx" 14757.889 Loading /usr/lib/xorg/modules/extensions/libglx.so 14757.924 Module glx: vendor="X.Org Foundation" [ 14757.924] compiled for 1.18.4, module version = 1.0.0 [ 14757.924] ABI class: X.Org Server Extension, version 9.0 14757.924 AIGLX enabled 14757.924 LoadModule: "modesetting" 14757.925 Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so 14757.926 Module modesetting: vendor="X.Org Foundation" [ 14757.926] compiled for 1.18.4, module version = 1.18.4 [ 14757.926] Module class: X.Org Video Driver [ 14757.926] ABI class: X.Org Video Driver, version 20.0 14757.926 LoadModule: "evdev" 14757.926 Loading /usr/lib/xorg/modules/input/evdev_drv.so 14757.927 Module evdev: vendor="X.Org Foundation" [ 14757.928] compiled for 1.18.3, module version = 2.10.2 [ 14757.928] Module class: X.Org XInput Driver [ 14757.928] ABI class: X.Org XInput driver, version 22.1 14757.928 modesetting: Driver for Modesetting Kernel Drivers: kms 14757.928 Falling back to old probe method for modesetting 14757.928 No devices detected. 14757.929 Fatal server error: 14757.930 no screens found(EE) 14757.931 Please consult the The X.Org Foundation support at http://wiki.x.org for help. 14757.932 Please also check the log file at "/home/jundev/.local/share/xorg/Xorg.0.log" for additional information. 14757.933 14757.933 Server terminated with error (1). Closing log file.
Use LIBGL_DEBUG=verbose and start Xorg manually from cmdline?
I'm not sure which kernel this is, but you need the upstream drm/kms driver..
kernel: https://github.com/AndroPlus-org/android_kernel_sony_msm8974ac device codename: sirius
libGL: Can't open configuration file /home/jundev/.drirc: No such file or directory. libGL: Can't open configuration file /home/jundev/.drirc: No such file or directory. /usr/bin/xterm: No absolute path found for shell: :0 xinit: connection to X server lost
I wouldn't worry too much about the $HOME/.drirc msgs.. but the latter msgs sound like xsever is not running? Unfortunately if you don't have upstream drm/msm you are relying on kgsl + kgsl-drm shim driver (and it doesn't help that kgsl-drm shim thing is not normally built by qcom in their downstream kernels, so usually in a bad state of disrepair :-()
do you have /dev/dri/card0? If not, it is unlikely that freedreno userspace will work..
CPU: msm8974pro-ab GPU: adreno 330 Debian testing Freedreno 1.4.0
(EE) freedreno(0): ERROR: cannot accel pixmap: 0x0@24 (usage: 0)