Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault at ARMSOCEnterVT() #7

Open
pebri86 opened this issue Aug 15, 2018 · 4 comments
Open

Segmentation Fault at ARMSOCEnterVT() #7

pebri86 opened this issue Aug 15, 2018 · 4 comments

Comments

@pebri86
Copy link

pebri86 commented Aug 15, 2018

Compile for Cubieboard 2 with Mainline Kernel 4.18.0 with Mali Kernel driver Installed

here Xorg.log.0

X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 16.147] X Protocol Version 11, Revision 0
[ 16.147] Build Operating System: Linux 4.9.0-4-armmp-lpae armv7l Debian
[ 16.147] Current Operating System: Linux ArmPC 4.18.0 #2 SMP Tue Aug 14 14:11:54 WIB 2018 armv7l
[ 16.148] Kernel command line: console=tty1 console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait panic=10
[ 16.148] Build Date: 16 October 2017 09:48:39AM
[ 16.148] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
[ 16.148] Current version of pixman: 0.34.0
[ 16.148] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 16.148] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 16.149] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 13 14:56:08 2018
[ 16.150] (==) Using config file: "/etc/X11/xorg.conf"
[ 16.150] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 16.151] (==) No Layout section. Using the first Screen section.
[ 16.152] (
) |-->Screen "Mali-Screen" (0)
[ 16.152] () | |-->Monitor ""
[ 16.153] (
) | |-->Device "armsoc_sunxi"
[ 16.153] (==) No monitor specified for screen "Mali-Screen".
Using a default monitor configuration.
[ 16.153] (==) Automatically adding devices
[ 16.153] (==) Automatically enabling devices
[ 16.153] (==) Automatically adding GPU devices
[ 16.153] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 16.153] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 16.153] Entry deleted from font path.
[ 16.153] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 16.153] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 16.154] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 16.154] (II) Loader magic: 0x5a0f60
[ 16.154] (II) Module ABI versions:
[ 16.154] X.Org ANSI C Emulation: 0.4
[ 16.154] X.Org Video Driver: 23.0
[ 16.154] X.Org XInput driver : 24.1
[ 16.154] X.Org Server Extension : 10.0
[ 16.158] (++) using VT number 7
[ 16.158] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 16.161] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 16.176] (II) no primary bus or device found
[ 16.176] falling back to /sys/devices/platform/display-engine/drm/card0
[ 16.176] (II) LoadModule: "glx"
[ 16.177] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 16.187] (II) Module glx: vendor="X.Org Foundation"
[ 16.187] compiled for 1.19.2, module version = 1.0.0
[ 16.187] ABI class: X.Org Server Extension, version 10.0
[ 16.187] (II) LoadModule: "armsoc"
[ 16.188] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[ 16.189] (II) Module armsoc: vendor="X.Org Foundation"
[ 16.189] compiled for 1.19.2, module version = 1.4.1
[ 16.189] Module class: X.Org Video Driver
[ 16.189] ABI class: X.Org Video Driver, version 23.0
[ 16.189] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[ 16.190] (WW) Falling back to old probe method for armsoc
[ 16.190] (II) No BusID or DriverName specified - opening /dev/dri/card0
[ 16.190] (II) Got BusID display-engine
[ 16.209] (II) Opened DRM
[ 16.209] (II) DeviceName is [/dev/dri/card0]
[ 16.210] (II) bus_id is [display-engine]
[ 16.210] (II) DriverName is [sun4i-drm]
[ 16.210] (II) version is [1.0.0]
[ 16.210] (II) Screen:0, CRTC:-1
[ 16.226] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 16.226] () ARMSOC(0): Depth 24, (--) framebuffer bpp 32
[ 16.226] (==) ARMSOC(0): RGB weight 888
[ 16.226] (==) ARMSOC(0): Using gamma correction (1.0, 1.0, 1.0)
[ 16.226] (==) ARMSOC(0): Default visual is TrueColor
[ 16.226] (II) No BusID or DriverName specified - opening /dev/dri/card0
[ 16.227] (II) Got BusID display-engine
[ 16.259] (II) Opened DRM
[ 16.260] (II) DeviceName is [/dev/dri/card0]
[ 16.260] (II) bus_id is [display-engine]
[ 16.260] (II) DriverName is [sun4i-drm]
[ 16.260] (II) version is [1.0.0]
[ 16.260] (II) ARMSOC(0): Chipset: Mali
[ 16.260] (
) ARMSOC(0): Option "Debug" "true"
[ 16.260] () ARMSOC(0): Option "DRI2MaxBuffers" "2"
[ 16.260] (
) ARMSOC(0): Option "InitFromFBDev" "/dev/fb0"
[ 16.260] (II) ARMSOC(0): Buffer Flipping is Enabled
[ 16.260] (II) ARMSOC(0): umplock is Enabled
[ 16.260] (II) ARMSOC(0): Setting the video modes ...
[ 16.260] (II) ARMSOC(0): drmmode_pre_init:1654: Entering
[ 16.261] (II) ARMSOC(0): drmmode_pre_init:1671 Got KMS resources
[ 16.261] (II) ARMSOC(0): drmmode_pre_init:1674 1 connectors, 1 encoders
[ 16.261] (II) ARMSOC(0): drmmode_pre_init:1677 2 crtcs, 0 fbs
[ 16.261] (II) ARMSOC(0): drmmode_pre_init:1680 0x0 minimum resolution
[ 16.261] (II) ARMSOC(0): drmmode_pre_init:1683 8192x8192 maximum resolution
[ 16.261] (II) ARMSOC(0): Adding all CRTCs
[ 16.261] (II) ARMSOC(0): drmmode_crtc_init:882: Entering
[ 16.261] (II) ARMSOC(0): Got CRTC: 0 (id: 40)
[ 16.261] (II) ARMSOC(0): drmmode_crtc_init:897: Exiting
[ 16.261] (II) ARMSOC(0): drmmode_crtc_init:882: Entering
[ 16.261] (II) ARMSOC(0): Got CRTC: 1 (id: 53)
[ 16.261] (II) ARMSOC(0): drmmode_crtc_init:897: Exiting
[ 16.261] (II) ARMSOC(0): drmmode_output_init:1337: Entering
[ 16.297] (II) ARMSOC(0): Output HDMI-1 has no monitor section
[ 16.297] (II) ARMSOC(0): drmmode_output_init:1404: Exiting
[ 16.333] (II) ARMSOC(0): EDID for output HDMI-1
[ 16.333] (II) ARMSOC(0): Manufacturer: DEL Model: f064 Serial#: 1160792130
[ 16.333] (II) ARMSOC(0): Year: 2016 Week: 48
[ 16.333] (II) ARMSOC(0): EDID Version: 1.3
[ 16.334] (II) ARMSOC(0): Digital Display Input
[ 16.334] (II) ARMSOC(0): Max Image Size [cm]: horiz.: 41 vert.: 23
[ 16.334] (II) ARMSOC(0): Gamma: 2.20
[ 16.334] (II) ARMSOC(0): DPMS capabilities: StandBy Suspend Off
[ 16.334] (II) ARMSOC(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 16.334] (II) ARMSOC(0): First detailed timing is preferred mode
[ 16.334] (II) ARMSOC(0): redX: 0.642 redY: 0.332 greenX: 0.316 greenY: 0.626
[ 16.334] (II) ARMSOC(0): blueX: 0.151 blueY: 0.049 whiteX: 0.313 whiteY: 0.329
[ 16.334] (II) ARMSOC(0): Supported established timings:
[ 16.334] (II) ARMSOC(0): 720x400@70Hz
[ 16.334] (II) ARMSOC(0): 640x480@60Hz
[ 16.334] (II) ARMSOC(0): 640x480@75Hz
[ 16.334] (II) ARMSOC(0): 800x600@60Hz
[ 16.334] (II) ARMSOC(0): 800x600@75Hz
[ 16.334] (II) ARMSOC(0): 1024x768@60Hz
[ 16.334] (II) ARMSOC(0): 1024x768@75Hz
[ 16.334] (II) ARMSOC(0): 1280x1024@75Hz
[ 16.334] (II) ARMSOC(0): Manufacturer's mask: 0
[ 16.334] (II) ARMSOC(0): Supported detailed timing:
[ 16.335] (II) ARMSOC(0): clock: 85.5 MHz Image Size: 410 x 230 mm
[ 16.335] (II) ARMSOC(0): h_active: 1366 h_sync: 1436 h_sync_end 1579 h_blank_end 1792 h_border: 0
[ 16.335] (II) ARMSOC(0): v_active: 768 v_sync: 771 v_sync_end 774 v_blanking: 798 v_border: 0
[ 16.335] (II) ARMSOC(0): Serial No: YKH876BNE0HB
[ 16.335] (II) ARMSOC(0): Monitor name: DELL E1916H
[ 16.335] (II) ARMSOC(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
[ 16.335] (II) ARMSOC(0): Supported detailed timing:
[ 16.335] (II) ARMSOC(0): clock: 27.0 MHz Image Size: 160 x 90 mm
[ 16.335] (II) ARMSOC(0): h_active: 720 h_sync: 736 h_sync_end 798 h_blank_end 858 h_border: 0
[ 16.335] (II) ARMSOC(0): v_active: 480 v_sync: 489 v_sync_end 495 v_blanking: 525 v_border: 0
[ 16.335] (II) ARMSOC(0): Number of EDID sections to follow: 1
[ 16.335] (II) ARMSOC(0): EDID (in hex):
[ 16.335] (II) ARMSOC(0): 00ffffffffffff0010ac64f042483045
[ 16.335] (II) ARMSOC(0): 301a0103a0291778ea41e5a45551a026
[ 16.335] (II) ARMSOC(0): 0c5054a54b0001010101010101010101
[ 16.335] (II) ARMSOC(0): 010101010101662156aa51001e30468f
[ 16.336] (II) ARMSOC(0): 33009ae61000001e000000ff00594b48
[ 16.336] (II) ARMSOC(0): 383736424e453048420a000000fc0044
[ 16.336] (II) ARMSOC(0): 454c4c204531393136480a20000000fd
[ 16.336] (II) ARMSOC(0): 00384c1e5311000a20202020202001e9
[ 16.336] (II) ARMSOC(0): 020323f14b101f841300000200000000
[ 16.336] (II) ARMSOC(0): 2309070783010000e2000f67030c0020
[ 16.336] (II) ARMSOC(0): 00802d8c0ad08a20e02d10103e9600a0
[ 16.336] (II) ARMSOC(0): 5a000000180000000000000000000000
[ 16.336] (II) ARMSOC(0): 00000000000000000000000000000000
[ 16.336] (II) ARMSOC(0): 00000000000000000000000000000000
[ 16.336] (II) ARMSOC(0): 00000000000000000000000000000000
[ 16.336] (II) ARMSOC(0): 000000000000000000000000000000bf
[ 16.336] (II) ARMSOC(0): EDID vendor "DEL", prod id 61540
[ 16.336] (II) ARMSOC(0): Using EDID range info for horizontal sync
[ 16.336] (II) ARMSOC(0): Using EDID range info for vertical refresh
[ 16.337] (II) ARMSOC(0): Printing DDC gathered Modelines:
[ 16.337] (II) ARMSOC(0): Modeline "1366x768"x0.0 85.50 1366 1436 1579 1792 768 771 774 798 +hsync +vsync (47.7 kHz eP)
[ 16.337] (II) ARMSOC(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "1920x1080"x0.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[ 16.337] (II) ARMSOC(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[ 16.337] (II) ARMSOC(0): drmmode_output_get_modes:980 count_modes: 18
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1366x768 (0x5e2c80 0x5e2808)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1920x1080 (0x5e2d80 0x5e2ce0)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1920x1080 (0x5e2e30 0x5e2d90)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1920x1080 (0x5e2ee0 0x5e2e40)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1280x1024 (0x5e2f90 0x5e2ef0)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1280x720 (0x5e3040 0x5e2fa0)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1280x720 (0x5e30f0 0x5e3050)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1280x720 (0x5e31a0 0x5e3100)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1024x768 (0x5e3250 0x5e31b0)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 1024x768 (0x5e3300 0x5e3260)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 800x600 (0x5e33b0 0x5e3310)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 800x600 (0x5e3460 0x5e33c0)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 720x480 (0x5e3510 0x5e3470)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 720x480 (0x5e35c0 0x5e3520)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 640x480 (0x5e3670 0x5e35d0)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 640x480 (0x5e3720 0x5e3680)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 640x480 (0x5e37d0 0x5e3730)
[ 16.338] (II) ARMSOC(0): drmmode_ConvertFromKMode:150 copy mode 720x400 (0x5e3880 0x5e37e0)
[ 16.339] (--) ARMSOC(0): HDMI max TMDS frequency 225000KHz
[ 16.339] (II) ARMSOC(0): Printing probed modes for output HDMI-1
[ 16.339] (II) ARMSOC(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz UeP)
[ 16.339] (II) ARMSOC(0): Modeline "1366x768"x59.8 85.50 1366 1436 1579 1792 768 771 774 798 +hsync +vsync (47.7 kHz eP)
[ 16.339] (II) ARMSOC(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "720x480"x60.0 27.03 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 16.339] (II) ARMSOC(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 16.340] (II) ARMSOC(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 16.340] (II) ARMSOC(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 16.340] (II) ARMSOC(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 16.340] (II) ARMSOC(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 16.340] (II) ARMSOC(0): Output HDMI-1 connected
[ 16.340] (II) ARMSOC(0): Using user preference for initial modes
[ 16.340] (II) ARMSOC(0): Output HDMI-1 using initial mode 1024x768 +0+0
[ 16.340] (II) ARMSOC(0): drmmode_pre_init:1715: Exiting
[ 16.340] (II) ARMSOC(0): Got KMS resources
[ 16.340] () ARMSOC(0): Display dimensions: (410, 230) mm
[ 16.340] (
) ARMSOC(0): DPI set to (63, 84)
[ 16.340] (II) Loading sub module "dri2"
[ 16.340] (II) LoadModule: "dri2"
[ 16.340] (II) Module "dri2" already built-in
[ 16.340] (II) Loading sub module "exa"
[ 16.341] (II) LoadModule: "exa"
[ 16.341] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 16.342] (II) Module exa: vendor="X.Org Foundation"
[ 16.342] compiled for 1.19.2, module version = 2.6.0
[ 16.342] ABI class: X.Org Video Driver, version 23.0
[ 16.342] (II) Loading sub module "fb"
[ 16.342] (II) LoadModule: "fb"
[ 16.343] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 16.344] (II) Module fb: vendor="X.Org Foundation"
[ 16.344] compiled for 1.19.2, module version = 1.0.0
[ 16.344] ABI class: X.Org ANSI C Emulation, version 0.4
[ 16.344] (II) ARMSOC(0): ARMSOCPreInit:941: Exiting
[ 16.344] (--) Depth 24 pixmap format is 32 bpp
[ 16.344] (II) ARMSOC(0): ARMSOCScreenInit:992: Entering
[ 16.344] (II) ARMSOC(0): ARMSOCScreenInit:1005 allocating new scanout buffer: 1024x768 32 32
[ 16.348] (II) ARMSOC(0): Initialized a depth-32 visual for XRGB8888
[ 16.349] (II) ARMSOC(0): Soft EXA mode
[ 16.349] (II) EXA(0): Driver allocated offscreen pixmaps
[ 16.349] (II) EXA(0): Driver registered support for the following operations:
[ 16.349] (II) Solid
[ 16.349] (II) Copy
[ 16.349] (II) Composite (RENDER acceleration)
[ 16.349] (II) ARMSOC(0): Setting swap chain size: 2
[ 16.350] (II) ARMSOC(0): [DRI2] Setup complete
[ 16.350] (II) ARMSOC(0): [DRI2] DRI driver: armsoc
[ 16.350] (==) ARMSOC(0): Backing store enabled
[ 16.423] (==) ARMSOC(0): Silken mouse enabled
[ 16.423] (II) ARMSOC(0): HW cursor init()
[ 16.424] (II) ARMSOC(0): HW cursor initialized
[ 16.424] (II) ARMSOC(0): ARMSOCEnterVT:1376: Entering
[ 16.424] (II) ARMSOC(0): drmmode_set_mode_major:282: Entering
[ 16.424] (II) ARMSOC(0): drmmode_set_mode_major:288 create framebuffer: 1024x768
[ 16.425] (EE) ARMSOC(0): ERROR: drm failed to set mode: Invalid argument
[ 16.425] (II) ARMSOC(0): drmmode_revert_mode:235 No last good values to use
[ 16.425] (II) ARMSOC(0): drmmode_set_mode_major:434: Exiting
[ 16.425] (II) ARMSOC(0): drmmode_crtc_dpms:193 Setting dpms mode 3 on crtc 40
[ 16.425] (II) ARMSOC(0): drmmode_crtc_dpms:193 Setting dpms mode 3 on crtc 53
[ 16.425] (EE) ARMSOC(0): ERROR: xf86SetDesiredModes() failed!
[ 16.425] (EE) ARMSOC(0): ERROR: ARMSOCEnterVT() failed!
[ 16.426] (II) ARMSOC(0): ARMSOCScreenInit:1225: Exiting
[ 16.427] (EE)
[ 16.427] (EE) Backtrace:
[ 16.427] (EE)
[ 16.427] (EE) Segmentation fault at address 0x2a0
[ 16.427] (EE)
Fatal server error:
[ 16.427] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 16.427] (EE)
[ 16.428] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 16.428] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 16.428] (EE)
[ 16.428] (II) ARMSOC(0): ARMSOCLeaveVT:1411: Entering
[ 16.428] (II) ARMSOC(0): ARMSOCLeaveVT:1422: Exiting
[ 16.493] (EE) Server terminated with error (1). Closing log file.

@pebri86
Copy link
Author

pebri86 commented Aug 15, 2018

I solved the issue with set DefaultDepth of screen section to 16 instead of 24, after that the driver could load and xserver running.

But i face another issue, mouse cursor move very slow, how i can fix that?

@toluse
Copy link

toluse commented Oct 2, 2018

Thanks for that tip @pebri86. Saved me a lengthy debugging session.
On kernel 4.16.0 i still had to use DefaultDepth 24 to get things going.
Mind you it ran pretty slow on my ancient Cubieboard2.
At the moment es2gears_x11 runs at ~50fps with kernel 4.19-rc5 on an 800x600 LCD display.

Regarding slow cursor. I found this comment in a fork of xf86-video-armsoc when hunting for the DisplayInit solution: wens@77ef51b

@pebri86
Copy link
Author

pebri86 commented Oct 3, 2018

Regarding slow cursor. I found this comment in a fork of xf86-video-armsoc when hunting for the DisplayInit solution: wens@77ef51b

Thanks for pointing me out that fork, i'll try when i've free time.. Btw how did you get xserver running with depht 24 on 4.16 kernel ?

@toluse
Copy link

toluse commented Oct 3, 2018

I am not sure it really ran with depth 24, but it definitely needed DefaultDepth 24 set in the 20-armsoc.conf in order to start-up at all. Here is my "suffering" thread: mripard/sunxi-mali#38
All i can say is i had it working on Kernel 4.16 with yocto release rocko, r6p2 mali driver, r6p2 sunxi mali blob, and this xf86-video-armsor, but due to getting the LCD display running as well, i had half a ton of patches applied to both u-boot and the kernel.
@giuliobenetti had pointed me to a GEM patch for Kernel 4.16 that was definitely needed on top of adding the DTS bindings, which were not merged at that point. You can find it mentioned in the linked thread.

(Currently playing with Yocto Sumo with meta-sunxi layer, but updating u-boot and kernel and using the bootlin allwinner mali-sunxi driver and blobs. I should probably upload it to GitHub at some point, but my bitbake recipes are probably pretty terrible.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants