notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.86k stars 494 forks source link

raspbian fbdev error #371

Closed canamla closed 7 years ago

canamla commented 8 years ago

hi Notro! i have some problems with fbtft in X mode, console mode works well startx doesn't load it's trying trying and tryin some times i can see mouse cursor and logo, then again all black

i saw error : gdbus.error org.freedesktop.policykit1.error.failed an authentication agent already exists for the given subject

solution to the problem was to edit the file /etc/xdg/autostart/lxpolkit.desktop NotShowIn=GNOME;KDE;LXDE

for time then im waiting the rapsberry standing more slower
in the ssh in parallel session wrote: cannot allocate memory and sudo reboot didn't work

in the /var/log/Xorg.0.log (EE) FBDEV(0): FBIOBLANK: Invalid argument

[ 1466.360] X.Org X Server 1.12.4 Release Date: 2012-08-27 [ 1466.362] X Protocol Version 11, Revision 0 [ 1466.363] Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian [ 1466.366] Current Operating System: Linux raspberrypi 4.0.7+ #1 PREEMPT Sat Jul 11 20:08:42 CEST 2015 armv6l [ 1466.366] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boar$ [ 1466.378] Build Date: 11 February 2015 09:31:17PM [ 1466.382] xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau jcristau@debian.org) [ 1466.384] Current version of pixman: 0.33.1 [ 1466.388] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 1466.388] Markers: (--) probed, () from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 1466.405 Log file: "/var/log/Xorg.0.log", Time: Fri Feb 5 22:50:41 2016 1466.417 Using config directory: "/etc/X11/xorg.conf.d" 1466.421 Using system config directory "/usr/share/X11/xorg.conf.d" 1466.430 ServerLayout "TFT" [ 1466.430]() |-->Screen "ScreenTFT" (0) 1466.430 | |-->Monitor "MonitorTFT" 1466.439 | |-->Device "DeviceTFT" 1466.440 Automatically adding devices 1466.440 Automatically enabling devices 1466.464 The directory "/usr/share/fonts/X11/misc" does not exist. [ 1466.464] Entry deleted from font path. 1466.465 The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 1466.465] Entry deleted from font path. 1466.465 The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 1466.465] Entry deleted from font path. 1466.465 The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 1466.465] Entry deleted from font path. 1466.472 The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 1466.473] Entry deleted from font path. 1466.473 The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 1466.473] Entry deleted from font path. 1466.473 The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist. [ 1466.473] Entry deleted from font path. 1466.473 FontPath set to: /usr/share/fonts/X11/Type1, built-ins 1466.474 ModulePath set to "/usr/lib/xorg/modules" 1466.474 The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. 1466.474 Loader magic: 0xb6f46cf0 1466.474 Module ABI versions: [ 1466.474] X.Org ANSI C Emulation: 0.4 [ 1466.474] X.Org Video Driver: 12.1 [ 1466.474] X.Org XInput driver : 16.0 [ 1466.475] X.Org Server Extension : 6.0 1466.475 LoadModule: "extmod" 1466.496 Loading /usr/lib/xorg/modules/extensions/libextmod.so 1466.512 Module extmod: vendor="X.Org Foundation" [ 1466.513] compiled for 1.12.4, module version = 1.0.0 [ 1466.513] Module class: X.Org Server Extension [ 1466.513] ABI class: X.Org Server Extension, version 6.0 1466.513 Loading extension SELinux 1466.513 Loading extension MIT-SCREEN-SAVER 1466.514 Loading extension XFree86-VidModeExtension 1466.514 Loading extension XFree86-DGA 1466.514 Loading extension DPMS 1466.514 Loading extension XVideo 1466.514 Loading extension XVideo-MotionCompensation 1466.514 Loading extension X-Resource 1466.515 LoadModule: "dbe" 1466.516 Loading /usr/lib/xorg/modules/extensions/libdbe.so 1466.521 Module dbe: vendor="X.Org Foundation" [ 1466.521] compiled for 1.12.4, module version = 1.0.0 [ 1466.521] Module class: X.Org Server Extension [ 1466.522] ABI class: X.Org Server Extension, version 6.0 1466.522 Loading extension DOUBLE-BUFFER 1466.522 LoadModule: "glx" 1466.524 Loading /usr/lib/xorg/modules/extensions/libglx.so 1466.549 Module glx: vendor="X.Org Foundation" [ 1466.549] compiled for 1.12.4, module version = 1.0.0 [ 1466.550] ABI class: X.Org Server Extension, version 6.0 1466.550 AIGLX enabled 1466.551 Loading extension GLX 1466.551 LoadModule: "record" 1466.555 Loading /usr/lib/xorg/modules/extensions/librecord.so 1466.561 Module record: vendor="X.Org Foundation" [ 1466.561] compiled for 1.12.4, module version = 1.13.0 [ 1466.562] Module class: X.Org Server Extension [ 1466.562] ABI class: X.Org Server Extension, version 6.0 1466.562 Loading extension RECORD 1466.562 LoadModule: "dri" 1466.564 Loading /usr/lib/xorg/modules/extensions/libdri.so 1466.577 Module dri: vendor="X.Org Foundation" [ 1466.577] compiled for 1.12.4, module version = 1.0.0 [ 1466.577] ABI class: X.Org Server Extension, version 6.0 1466.577 Loading extension XFree86-DRI 1466.578 LoadModule: "dri2" 1466.579 Loading /usr/lib/xorg/modules/extensions/libdri2.so 1466.585 Module dri2: vendor="X.Org Foundation" [ 1466.585] compiled for 1.12.4, module version = 1.2.0 [ 1466.586] ABI class: X.Org Server Extension, version 6.0 1466.586 Loading extension DRI2 1466.586 Matched fbdev as autoconfigured driver 0 1466.586 Assigned the driver to the xf86ConfigLayout 1466.586 LoadModule: "fbdev" 1466.588 Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so 1466.592 Module fbdev: vendor="X.Org Foundation"

[ 1466.593] compiled for 1.12.1, module version = 0.4.2 [ 1466.593] ABI class: X.Org Video Driver, version 12.0 1466.593 FBDEV: driver for framebuffer: fbdev 1466.593 using VT number 7

1466.601 Falling back to old probe method for fbdev 1466.602 Loading sub module "fbdevhw" 1466.602 LoadModule: "fbdevhw" 1466.603 Loading /usr/lib/xorg/modules/libfbdevhw.so 1466.607 Module fbdevhw: vendor="X.Org Foundation" [ 1466.608] compiled for 1.12.4, module version = 0.0.2 [ 1466.608] ABI class: X.Org Video Driver, version 12.1 1466.609 FBDEV(0): using /dev/fb1 1466.609 VGA arbiter: cannot open kernel arbiter, no multi-card support 1466.609 FBDEV(0): Creating default Display subsection in Screen section "ScreenTFT" for depth/fbbpp 16/16 1466.612 FBDEV(0): Depth 16, (==) framebuffer bpp 16 1466.612 FBDEV(0): RGB weight 565 1466.612 FBDEV(0): Default visual is TrueColor 1466.613 FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) 1466.613 FBDEV(0): hardware: fb_ra8875 (video memory: 255kB) 1466.613 FBDEV(0): Option "fbdev" "/dev/fb1" 1466.614 FBDEV(0): checking modes against framebuffer device... 1466.614 FBDEV(0): checking modes against monitor... 1466.617 FBDEV(0): Virtual size is 480x272 (pitch 480) 1466.617 FBDEV(0): Built-in mode "current" 1466.617 FBDEV(0): DPI set to (96, 96) 1466.617 Loading sub module "fb" 1466.617 LoadModule: "fb" 1466.618 Loading /usr/lib/xorg/modules/libfb.so 1466.631 Module fb: vendor="X.Org Foundation" [ 1466.632] compiled for 1.12.4, module version = 1.0.0 [ 1466.632] ABI class: X.Org ANSI C Emulation, version 0.4 1466.632 FBDEV(0): using shadow framebuffer 1466.632 Loading sub module "shadow" 1466.632 LoadModule: "shadow" 1466.634 Loading /usr/lib/xorg/modules/libshadow.so 1466.641 Module shadow: vendor="X.Org Foundation" [ 1466.641] compiled for 1.12.4, module version = 1.1.0 [ 1466.641] ABI class: X.Org ANSI C Emulation, version 0.4 1466.642 FBDEV(0): FBIOBLANK: Invalid argument 1466.665 FBDEV(0): Backing store disabled 1466.667 FBDEV(0): DPMS enabled 1466.667 RandR enabled 1466.667 Initializing built-in extension Generic Event Extension 1466.668 Initializing built-in extension SHAPE 1466.668 Initializing built-in extension MIT-SHM 1466.668 Initializing built-in extension XInputExtension 1466.668 Initializing built-in extension XTEST 1466.668 Initializing built-in extension BIG-REQUESTS 1466.668 Initializing built-in extension SYNC 1466.668 Initializing built-in extension XKEYBOARD 1466.669 Initializing built-in extension XC-MISC 1466.669 Initializing built-in extension SECURITY 1466.669 Initializing built-in extension XINERAMA 1466.669 Initializing built-in extension XFIXES 1466.669 Initializing built-in extension RENDER 1466.670 Initializing built-in extension RANDR 1466.670 Initializing built-in extension COMPOSITE 1466.670 Initializing built-in extension DAMAGE 1466.670 SELinux: Disabled on system 1466.780 AIGLX: Screen 0 is not DRI2 capable 1466.781 AIGLX: Screen 0 is not DRI capable 1466.938 AIGLX: Loaded and initialized swrast 1466.939 GLX: Initialized DRISWRAST GL provider for screen 0 1467.425 config/udev: Adding input device G-Tech Wireless Dongle (/dev/input/event0) 1467.425 G-Tech Wireless Dongle: Applying InputClass "evdev keyboard catchall" 1467.425 LoadModule: "evdev" 1467.427 Loading /usr/lib/xorg/modules/input/evdev_drv.so 1467.434 Module evdev: vendor="X.Org Foundation" [ 1467.434] compiled for 1.12.1, module version = 2.7.0 [ 1467.434] Module class: X.Org XInput Driver [ 1467.434] ABI class: X.Org XInput driver, version 16.0 1467.435 Using input driver 'evdev' for 'G-Tech Wireless Dongle' 1467.435 G-Tech Wireless Dongle: always reports core events 1467.435 evdev: G-Tech Wireless Dongle: Device: "/dev/input/event0" 1467.436 evdev: G-Tech Wireless Dongle: Vendor 0x1a81 Product 0x1004 1467.436 evdev: G-Tech Wireless Dongle: Found keys 1467.436 evdev: G-Tech Wireless Dongle: Configuring as keyboard 1467.436 Option "config_info" "udev:/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003$ 1467.437 XINPUT: Adding extended input device "G-Tech Wireless Dongle" (type: KEYBOARD, id 6) 1467.437 Option "xkb_rules" "evdev" 1467.437 Option "xkb_model" "pc105" 1467.438 Option "xkb_layout" "gb" 1467.701 config/udev: Adding input device G-Tech Wireless Dongle (/dev/input/event1) 1467.701 G-Tech Wireless Dongle: Applying InputClass "evdev pointer catchall" 1467.701 G-Tech Wireless Dongle: Applying InputClass "evdev keyboard catchall" 1467.702 Using input driver 'evdev' for 'G-Tech Wireless Dongle' 1467.702 G-Tech Wireless Dongle: always reports core events 1467.702 evdev: G-Tech Wireless Dongle: Device: "/dev/input/event1" 1467.702 evdev: G-Tech Wireless Dongle: Vendor 0x1a81 Product 0x1004 1467.703 evdev: G-Tech Wireless Dongle: Found 9 mouse buttons 1467.703 evdev: G-Tech Wireless Dongle: Found scroll wheel(s) 1467.703 evdev: G-Tech Wireless Dongle: Found relative axes 1467.703 evdev: G-Tech Wireless Dongle: Found x and y relative axes 1467.703 evdev: G-Tech Wireless Dongle: Found absolute axes 1467.703 evdev: G-Tech Wireless Dongle: Forcing absolute x/y axes to exist. 1467.703 evdev: G-Tech Wireless Dongle: Found keys 1467.704 evdev: G-Tech Wireless Dongle: Configuring as mouse 1467.704 evdev: G-Tech Wireless Dongle: Configuring as keyboard 1467.704 evdev: G-Tech Wireless Dongle: Adding scrollwheel support 1467.704 evdev: G-Tech Wireless Dongle: YAxisMapping: buttons 4 and 5 1467.704 evdev: G-Tech Wireless Dongle: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTime$ 1467.705 Option "config_info" "udev:/sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003$ 1467.705 XINPUT: Adding extended input device "G-Tech Wireless Dongle" (type: KEYBOARD, id 7) 1467.705 Option "xkb_rules" "evdev" 1467.706 Option "xkb_model" "pc105" 1467.706 Option "xkb_layout" "gb" 1467.708 evdev: G-Tech Wireless Dongle: initialized for relative axes. 1467.709 evdev: G-Tech Wireless Dongle: ignoring absolute axes. 1467.711 G-Tech Wireless Dongle: (accel) keeping acceleration scheme 1 1467.711 G-Tech Wireless Dongle: (accel) acceleration profile 0 1467.712 G-Tech Wireless Dongle: (accel) acceleration factor: 2.000 1467.712 G-Tech Wireless Dongle: (accel) acceleration threshold: 4 1467.715 config/udev: Adding input device G-Tech Wireless Dongle (/dev/input/mouse0) 1467.716 No input driver specified, ignoring this device. 1467.716 This device may have been added with another device file. 1467.773 FBDEV(0): FBIOBLANK: Invalid argument 1634.779 evdev: G-Tech Wireless Dongle: Close 1634.820 UnloadModule: "evdev" 1634.821 evdev: G-Tech Wireless Dongle: Close 1634.821 UnloadModule: "evdev"

i think it is conflict in configuration but i have no idea, i need help this is my first console experience )

notro commented 8 years ago

Do you have any disk space left? df -h

canamla commented 8 years ago

~ $ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 15G 3.5G 11G 26% / devtmpfs 237M 0 237M 0% /dev tmpfs 49M 248K 48M 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 97M 0 97M 0% /run/shm /dev/mmcblk0p1 56M 20M 37M 35% /boot

canamla commented 8 years ago

25 minutes and ssh session - dead cannot allocate memory

notro commented 8 years ago

I don't know what the problem can be. The Raspberry Pi forum is probably a better place to get help troubleshooting this.

canamla commented 8 years ago

Please answer me, for last question i think that it can be seeing the callibrator

Install

cd /tmp wget http://tronnes.org/downloads/xinput-calibrator_0.7.5-1_armhf.deb sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb rm xinput-calibrator_0.7.5-1_armhf.deb

Configure xinput-calibrator to autostart with X windows.

sudo wget -O /etc/X11/Xsession.d/xinput_calibrator_pointercal https://raw.github.com/tias/xinput_calibrator/master/scripts/xinput_calibrator_pointercal.sh echo "sudo /bin/sh /etc/X11/Xsession.d/xinput_calibrator_pointercal" | sudo tee -a /etc/xdg/lxsession/LXDE-pi/autostart

how can i well disable this changes with all routes for this ap

notro commented 7 years ago

Closing issue since there has been no activity in a long time. Reopen if needed.

canamla commented 1 year ago

Yes, the problem was with callibrator, ra8875 touch, doesnt support) It still work, thanks for FBTFT )