freedreno-zz / xf86-video-freedreno Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
CPU: msm8974pro-ab
GPU: adreno 330
Debian testing
Freedreno 1.4.0
(EE) freedreno(0): ERROR: cannot accel pixmap: 0x0@24 (usage: 0)
Whenever I use the precompiled xf86-video-freedreno-1.4.0-1-armv7h.pkg.tar.xz or compile it myself using autogen.sh, the X server can't start up and gives "Segmentation fault at address 0x10"
The device is running an Adreno 225, and this is in native arch linux, not an Android chroot, so /dev/fb0 is the correct address here.
Kernel has this in it's config:
CONFIG_DRM=y
CONFIG_MSM_KGSL=y
CONFIG_MSM_KGSL_2D=y
CONFIG_MSM_KGSL_DRM=y
One thing that stands out from the log is this [ 16.751] [E] unknown device: kgsl (fd_device_new:104)
Xorg.0.log:
[ 15.291]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 15.292] X Protocol Version 11, Revision 0
[ 15.292] Build Operating System: Linux 3.10.96-3-ARCH armv7l
[ 15.292] Current Operating System: Linux alarm 3.4.104-d2lte+ #27 SMP PREEMPT Mon Dec 8 21:54:40 MST 2014 armv7l
[ 15.292] Kernel command line: androidboot.hardware=qcom user_debug=31 zcache sec_log=0x80000@0x88600008 sec_dbg=0x40000@0x88690004 sec_debug.reset_reason=0x1a2b3c00 etb_buf=0x4000@0x8fffb9c0 androidboot.debug_level=0x4f4c sec_debug.enable=0 sec_debug.enable_user=0 msm_rtb.enabled=0 androidboot.cp_debug_level=0x55FF sec_debug.enable_cp_debug=0 cordon=52ad295242512a99cfeaa4c408bd1764 sysscope=0xee000000 loglevel=4 samsung.hardware=SGH-I747 androidboot.emmc_checksum=3 androidboot.warranty_bit=1 androidboot.bootloader=I747UCUFNE4 androidboot.nvdata_backup=1 androidboot.boot_recovery=0 androidboot.batt_check_recovery=0 level=0x574f4c44 sec_pvs=0 androidboot.emmc=true androidboot.serialno=d7948767 androidboot.baseband=msm root=/dev/mmcblk0p15 rootsubdir=local/arch rootfstype=ext4 rootwait ro
[ 15.292] Build Date: 08 June 2016 01:41:49PM
[ 15.292]
[ 15.293] Current version of pixman: 0.34.0
[ 15.293] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 15.293] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15.293] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 16 19:34:52 2016
[ 15.294] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 15.294] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15.295] (==) No Layout section. Using the first Screen section.
[ 15.295] (**) |-->Screen "screen0" (0)
[ 15.295] (**) | |-->Monitor "<default monitor>"
[ 15.296] (**) | |-->Device "MSM"
[ 15.296] (==) No monitor specified for screen "screen0".
Using a default monitor configuration.
[ 15.296] (==) Automatically adding devices
[ 15.296] (==) Automatically enabling devices
[ 15.296] (==) Automatically adding GPU devices
[ 15.296] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 15.296] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 15.296] Entry deleted from font path.
[ 15.296] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 15.296] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 15.296] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15.296] (II) Loader magic: 0x1e3ed8
[ 15.296] (II) Module ABI versions:
[ 15.297] X.Org ANSI C Emulation: 0.4
[ 15.297] X.Org Video Driver: 20.0
[ 15.297] X.Org XInput driver : 22.1
[ 15.297] X.Org Server Extension : 9.0
[ 15.300] (++) using VT number 7
[ 15.300] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 15.302] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15.302] (II) no primary bus or device found
[ 15.302] falling back to /sys/devices/platform/kgsl-3d0.0/drm/card0
[ 15.302] (II) LoadModule: "glx"
[ 15.303] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15.318] (II) Module glx: vendor="X.Org Foundation"
[ 15.318] compiled for 1.18.3, module version = 1.0.0
[ 15.318] ABI class: X.Org Server Extension, version 9.0
[ 15.318] (==) AIGLX enabled
[ 15.318] (II) LoadModule: "freedreno"
[ 15.319] (II) Loading /usr/lib/xorg/modules/drivers/freedreno_drv.so
[ 15.319] (II) Module freedreno: vendor="X.Org Foundation"
[ 15.319] compiled for 1.18.3, module version = 1.4.0
[ 15.319] ABI class: X.Org Video Driver, version 20.0
[ 15.320] (II) freedreno: Video driver for Qualcomm processors
[ 16.006] (WW) Falling back to old probe method for freedreno
[ 16.405] (II) No msm DRM/KMS, fallback to fbdev/kgsl
[ 16.405] (II) Section 0 - looking for /dev/fb0
[ 16.405] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 16.405] (II) freedreno(0): MSMPreInit:183 pre-init
[ 16.405] (--) freedreno(0): Depth 0, (--) framebuffer bpp 0
[ 16.405] (II) freedreno(0): MSM/Qualcomm processor
[ 16.405] drmOpenDevice: node name is /dev/dri/card0
[ 16.405] drmOpenDevice: open result is 8, (OK)
[ 16.405] drmOpenDevice: node name is /dev/dri/card0
[ 16.405] drmOpenDevice: open result is 8, (OK)
[ 16.406] drmOpenDevice: node name is /dev/dri/card1
[ 16.429] drmOpenDevice: node name is /dev/dri/card2
[ 16.451] drmOpenDevice: node name is /dev/dri/card3
[ 16.474] drmOpenDevice: node name is /dev/dri/card4
[ 16.497] drmOpenDevice: node name is /dev/dri/card5
[ 16.520] drmOpenDevice: node name is /dev/dri/card6
[ 16.543] drmOpenDevice: node name is /dev/dri/card7
[ 16.566] drmOpenDevice: node name is /dev/dri/card8
[ 16.589] drmOpenDevice: node name is /dev/dri/card9
[ 16.612] drmOpenDevice: node name is /dev/dri/card10
[ 16.635] drmOpenDevice: node name is /dev/dri/card11
[ 16.658] drmOpenDevice: node name is /dev/dri/card12
[ 16.681] drmOpenDevice: node name is /dev/dri/card13
[ 16.704] drmOpenDevice: node name is /dev/dri/card14
[ 16.727] drmOpenDevice: node name is /dev/dri/card15
[ 16.750] drmOpenDevice: node name is /dev/dri/card0
[ 16.750] drmOpenDevice: open result is 8, (OK)
[ 16.751] drmOpenDevice: node name is /dev/dri/card0
[ 16.751] drmOpenDevice: open result is 8, (OK)
[ 16.751] drmGetBusid returned ''
[ 16.751] [E] unknown device: kgsl (fd_device_new:104)
[ 16.751] (WW) freedreno(0): WARNING: Unable to determine the MDP version - assume 3.1
[ 16.803] (II) freedreno(0): Creating default Display subsection in Screen section
"screen0" for depth/fbbpp 24/32
[ 16.803] (II) freedreno(0): Output default has no monitor section
[ 16.803] (II) freedreno(0): Printing probed modes for output default
[ 16.803] (II) freedreno(0): Modeline "720x1280"x60.0 82.56 720 998 1000 1030 1280 1333 1334 1336 (80.2 kHz Pb)
[ 16.803] (II) freedreno(0): Output default connected
[ 16.803] (II) freedreno(0): Using exact sizes for initial modes
[ 16.803] (II) freedreno(0): Output default using initial mode 720x1280 +0+0
[ 16.803] (II) freedreno(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 16.804] (**) freedreno(0): Option "fb" "/dev/fb0"
[ 16.804] (**) freedreno(0): Option "SWCursor" "true"
[ 16.804] (**) freedreno(0): Option "examask" "0x00"
[ 16.804] (**) freedreno(0): Option "SWRefresher" "false"
[ 16.804] (II) freedreno(0): Option Summary:
[ 16.804] (II) freedreno(0): NoAccel: 0
[ 16.804] (II) freedreno(0): HWCursor: 0
[ 16.804] (II) freedreno(0): examask: 0
[ 16.804] (II) freedreno(0): fb: /dev/fb0
[ 16.804] (II) freedreno(0): SWRefresher: 0
[ 16.804] (II) freedreno(0): Debug: 0
[ 16.804] (--) freedreno(0): Virtual size is 720x1280 (pitch 736)
[ 16.804] (**) freedreno(0): Built-in mode "720x1280": 82.6 MHz (scaled from 0.0 MHz), 80.2 kHz, 60.0 Hz
[ 16.804] (II) freedreno(0): Modeline "720x1280"x0.0 82.56 720 998 1000 1030 1280 1333 1334 1336 (80.2 kHz Pb)
[ 16.804] (==) freedreno(0): DPI set to (96, 96)
[ 16.805] (==) freedreno(0): RGB weight 888
[ 16.805] (==) freedreno(0): Default visual is TrueColor
[ 16.805] (II) freedreno(0): MSM Options:
[ 16.805] (II) freedreno(0): HW Cursor: Disabled
[ 16.805] (==) Depth 24 pixmap format is 32 bpp
[ 16.805] (II) Loading sub module "fb"
[ 16.805] (II) LoadModule: "fb"
[ 16.806] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 16.807] (II) Module fb: vendor="X.Org Foundation"
[ 16.807] compiled for 1.18.3, module version = 1.0.0
[ 16.807] ABI class: X.Org ANSI C Emulation, version 0.4
[ 16.808] (==) freedreno(0): Backing store enabled
[ 16.808] (II) Loading sub module "exa"
[ 16.808] (II) LoadModule: "exa"
[ 16.808] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 16.809] (II) Module exa: vendor="X.Org Foundation"
[ 16.809] compiled for 1.18.3, module version = 2.6.0
[ 16.809] ABI class: X.Org Video Driver, version 20.0
[ 16.809] (EE)
[ 16.809] (EE) Backtrace:
[ 16.809] (EE)
[ 16.810] (EE) Segmentation fault at address 0x10
[ 16.810] (EE)
Fatal server error:
[ 16.810] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 16.810] (EE)
[ 16.810] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 16.810] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 16.811] (EE)
[ 16.843] (EE) Server terminated with error (1). Closing log file.
EDIT: Apparently just got this now Segmentation fault at address 0x28
, usually it's always been 0x10.
EDIT: Ignore the information about the 0x28 one, that stems from a misconfigured xorg.conf accidentally including a bogus Screen.
Adreno 305, Debian chroot on android. With fbdev works, but i got segmentation fault
Log:
Xorg.0.txt
Can i use freedreno driver without direct rendering manager? I'm changed phone and i still cant compile kernel with drm
In this situation, only msmfb is present.
Xorg.log:
[ 2151.698]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 2151.699] X Protocol Version 11, Revision 0
[ 2151.699] Build Operating System: Linux 3.19.0-16-generic armv7l
[ 2151.699] Current Operating System: Linux localhost 3.0.31-1034927 #5 SMP PREEMPT Mon Jan 25 21:05:30 CST 2016 armv7l
[ 2151.699] Kernel command line: androidboot.hardware=qcom kgsl.mmutype=gpummu vmalloc=400M usb_id_pin_rework=true console=tty0 loglevel=1 sec_log=0x80000@0x40184008 sec_dbg=0x100000@0x4020400c sec_debug.reset_reason=0x1a2b3c00 console=null sec_debug.enable=0 sec_debug.enable_user=0 msm_watchdog.enable=1 msm_watchdog.bark_time=30 msm_watchdog.bite_time=31 vmalloc=512m hw_rev=10 lpj=67700 androidboot.emmc=true androidboot.serialno=75226a4c androidboot.baseband=csfb
[ 2151.700] Build Date: 29 December 2015 05:02:29AM
[ 2151.700]
[ 2151.700] Current version of pixman: 0.32.6
[ 2151.700] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2151.701] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2151.702] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 26 07:28:02 2016
[ 2151.703] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 2151.704] (==) No Layout section. Using the first Screen section.
[ 2151.704] (==) No screen section available. Using defaults.
[ 2151.704] (**) |-->Screen "Default Screen Section" (0)
[ 2151.704] (**) | |-->Monitor "<default monitor>"
[ 2151.705] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 2151.705] (**) | |-->Device "Video driver for Qualcomm processors"
[ 2151.705] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 2151.705] (==) Automatically adding devices
[ 2151.705] (==) Automatically enabling devices
[ 2151.705] (==) Automatically adding GPU devices
[ 2151.705] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 2151.705] Entry deleted from font path.
[ 2151.705] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 2151.705] Entry deleted from font path.
[ 2151.705] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 2151.705] Entry deleted from font path.
[ 2151.705] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 2151.705] Entry deleted from font path.
[ 2151.705] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 2151.706] Entry deleted from font path.
[ 2151.706] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 2151.706] Entry deleted from font path.
[ 2151.706] (==) FontPath set to:
[ 2151.706] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 2151.706] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2151.706] (II) Loader magic: 0x40236eb0
[ 2151.706] (II) Module ABI versions:
[ 2151.706] X.Org ANSI C Emulation: 0.4
[ 2151.706] X.Org Video Driver: 19.0
[ 2151.706] X.Org XInput driver : 21.1
[ 2151.706] X.Org Server Extension : 9.0
[ 2151.707] (II) no primary bus or device found
[ 2151.707] (II) LoadModule: "glx"
[ 2151.708] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2151.730] (II) Module glx: vendor="X.Org Foundation"
[ 2151.730] compiled for 1.17.2, module version = 1.0.0
[ 2151.731] ABI class: X.Org Server Extension, version 9.0
[ 2151.731] (==) AIGLX enabled
[ 2151.731] (II) LoadModule: "freedreno"
[ 2151.731] (II) Loading /usr/lib/xorg/modules/drivers/freedreno_drv.so
[ 2151.732] (II) Module freedreno: vendor="X.Org Foundation"
[ 2151.732] compiled for 1.17.2, module version = 1.4.0
[ 2151.732] ABI class: X.Org Video Driver, version 19.0
[ 2151.732] (II) freedreno: Video driver for Qualcomm processors
[ 2151.733] (--) using VT number 1
[ 2151.757] (WW) Falling back to old probe method for freedreno
[ 2151.760] (II) No msm DRM/KMS, fallback to fbdev/kgsl
[ 2151.760] (II) Section 0 - looking for /dev/fb0
[ 2151.762] (WW) Could not open drm: No such file or directory
[ 2151.762] (EE) No devices detected.
[ 2151.762] (EE)
Fatal server error:
[ 2151.762] (EE) no screens found(EE)
[ 2151.762] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2151.762] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2151.762] (EE)
[ 2151.807] (EE) Server terminated with error (1). Closing log file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.