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.85k stars 496 forks source link

Can't boot after install fbtft! #429

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hi,

I bought the 128×128 OLED screen from you, and I want to use with Raspbian on Pi 3 B model, like here, http://www.freetronics.com.au/pages/oled128-quickstart-guide-raspberry-pi#.WEBAqfkrL1c

I just start to try the setup, but after the first step,

sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update sudo chmod +x /usr/bin/rpi-update sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update

The Pi can’t boot anymore, after the logo everything was black :/ Can anyone help me?

Thank you very much!

notro commented 7 years ago

The rpi-firmware kernel is deprecated and predates Pi3, so this quickstart is clearly outdated. The official Pi kernel has support for fbtft now, so there's no need to update it.

There's some info here: https://github.com/notro/fbtft/wiki#raspberry-pi-spi-dma

If you can't make it work, this is from the quickstart:

Please direct any support inquiries regarding the OLED128 to us at Freetronics (forums or email), not to notro.

ghost commented 7 years ago

Hi,

Thank you very much for the quick answer! With your help I succsessfully sloved this part of the problem, and I tried with on Pi2 too. Now, everithing seems work fine, but when I login from SHH, and write the FRAMEBUFFER=/dev/fb1 startx command, I get this back;

pi@raspberrypi:~ $ FRAMEBUFFER=/dev/fb1 startx

X.Org X Server 1.17.2 Release Date: 2015-06-16 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian Current Operating System: Linux raspberrypi 4.0.7-v7+ #1 SMP PREEMPT Sat Jul 11 20:44:05 CEST 2015 armv7l Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xb664b8da smsc95xx.macaddr=B8:27:EB:64:B8:DA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles Build Date: 11 January 2016 01:32:44PM xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support) Current version of pixman: 0.33.3 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.1.log", Time: Sun Dec 4 16:32:38 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" modprobe: FATAL: Module g2d_23 not found. The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols Ignoring extra symbols Errors from xkbcomp are not fatal to the X server

X.Org X Server 1.17.2 Release Date: 2015-06-16 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian Current Operating System: Linux raspberrypi 4.0.7-v7+ #1 SMP PREEMPT Sat Jul 11 20:44:05 CEST 2015 armv7l Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xb664b8da smsc95xx.macaddr=B8:27:EB:64:B8:DA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles Build Date: 11 January 2016 01:32:44PM xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support) Current version of pixman: 0.33.3 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.1.log", Time: Sun Dec 4 16:32:38 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" modprobe: FATAL: Module g2d_23 not found. The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols Ignoring extra symbols Errors from xkbcomp are not fatal to the X server ^Cxinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

xinit: unexpected signal 2 Couldn't get a file descriptor referring to the console

What can be the problem?

Thank you very much!

notro commented 7 years ago

Have you changed or deleted /usr/share/X11/xorg.conf.d/99-fbturbo.conf ? See https://github.com/notro/fbtft/wiki/FBTFT-on-Raspian#where-to-display-x-windows

ghost commented 7 years ago

Hi,

Thanks for your help, now I trie to delete, change to "fb1" and with the "Install custom configuration", but the problem is the same with this measage;

X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian
Current Operating System: Linux raspberrypi 4.0.7-v7+ #1 SMP PREEMPT Sat Jul 11 20:44:05 CEST 2015 armv7l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xb664b8da smsc95xx.macaddr=B8:27:EB:64:B8:DA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
Build Date: 11 January 2016  01:32:44PM
xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support)
Current version of pixman: 0.33.3
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sun Dec  4 23:30:13 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: FATAL: Module g2d_23 not found.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

Thank you very much!

notro commented 7 years ago

I don't know. I think /var/log/Xorg.1.log will show if it tries to use /dev/fb1.

ghost commented 7 years ago

Thanks, here is the Xorg.1.log file, is it show something?


pi@raspberrypi:~ $ cat /home/pi/Documents/Xorg.1.log
[   224.231]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[   224.232] X Protocol Version 11, Revision 0
[   224.232] Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian
[   224.232] Current Operating System: Linux raspberrypi 4.0.7-v7+ #1 SMP PREEMP                                                                                                   T Sat Jul 11 20:44:05 CEST 2015 armv7l
[   224.232] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bc                                                                                                   m2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xb664b8da smsc95                                                                                                   xx.macaddr=B8:27:EB:64:B8:DA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm270                                                                                                   9.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=                                                                                                   0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=serial0,1152                                                                                                   00 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repai                                                                                                   r=yes rootwait quiet splash plymouth.ignore-serial-consoles
[   224.233] Build Date: 11 January 2016  01:32:44PM
[   224.233] xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support)
[   224.233] Current version of pixman: 0.33.3
[   224.234]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   224.234] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   224.235] (==) Log file: "/var/log/Xorg.1.log", Time: Mon Dec  5 16:17:00 201                                                                                                   6
[   224.236] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   224.237] (==) No Layout section.  Using the first Screen section.
[   224.238] (==) No screen section available. Using defaults.
[   224.238] (**) |-->Screen "Default Screen Section" (0)
[   224.238] (**) |   |-->Monitor "<default monitor>"
[   224.239] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   224.239] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[   224.239] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   224.239] (==) Automatically adding devices
[   224.240] (==) Automatically enabling devices
[   224.240] (==) Automatically adding GPU devices
[   224.240] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[   224.240]    Entry deleted from font path.
[   224.240] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   224.240]    Entry deleted from font path.
[   224.240] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   224.240]    Entry deleted from font path.
[   224.241] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   224.241]    Entry deleted from font path.
[   224.241] (==) FontPath set to:
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        built-ins
[   224.241] (==) ModulePath set to "/usr/lib/xorg/modules"
[   224.241] (II) The server relies on udev to provide the list of input devices                                                                                                   .
        If no devices become available, reconfigure udev or disable AutoAddDevic                                                                                                   es.
[   224.241] (II) Loader magic: 0x76f4cf00
[   224.241] (II) Module ABI versions:
[   224.241]    X.Org ANSI C Emulation: 0.4
[   224.241]    X.Org Video Driver: 19.0
[   224.241]    X.Org XInput driver : 21.0
[   224.241]    X.Org Server Extension : 9.0
[   224.242] (II) no primary bus or device found
[   224.242] (II) LoadModule: "glx"
[   224.243] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   224.264] (II) Module glx: vendor="X.Org Foundation"
[   224.264]    compiled for 1.17.2, module version = 1.0.0
[   224.264]    ABI class: X.Org Server Extension, version 9.0
[   224.264] (==) AIGLX enabled
[   224.265] (II) LoadModule: "fbturbo"
[   224.265] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[   224.266] (II) Module fbturbo: vendor="X.Org Foundation"
[   224.266]    compiled for 1.17.2, module version = 0.5.1
[   224.266]    Module class: X.Org Video Driver
[   224.266]    ABI class: X.Org Video Driver, version 19.0
[   224.267] (II) FBTURBO: driver for framebuffer: fbturbo
[   224.267] (--) using VT number 2

[   224.396] (WW) Falling back to old probe method for fbturbo
[   224.397] (II) Loading sub module "fbdevhw"
[   224.397] (II) LoadModule: "fbdevhw"
[   224.398] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   224.399] (II) Module fbdevhw: vendor="X.Org Foundation"
[   224.399]    compiled for 1.17.2, module version = 0.0.2
[   224.399]    ABI class: X.Org Video Driver, version 19.0
[   224.400] (II) FBTURBO(0): using default device
[   224.400] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   224.401] (II) FBTURBO(0): Creating default Display subsection in Screen sect                                                                                                   ion
        "Default Screen Section" for depth/fbbpp 16/16
[   224.401] (==) FBTURBO(0): Depth 16, (==) framebuffer bpp 16
[   224.401] (==) FBTURBO(0): RGB weight 565
[   224.401] (==) FBTURBO(0): Default visual is TrueColor
[   224.402] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[   224.402] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 3505kB)
[   224.402] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[   224.403] (II) FBTURBO(0): processor: ARM Cortex-A7
[   224.404] (II) FBTURBO(0): checking modes against framebuffer device...
[   224.404] (II) FBTURBO(0): checking modes against monitor...
[   224.404] (--) FBTURBO(0): Virtual size is 1824x984 (pitch 1824)
[   224.404] (**) FBTURBO(0):  Built-in mode "current"
[   224.404] (==) FBTURBO(0): DPI set to (96, 96)
[   224.404] (II) Loading sub module "fb"
[   224.405] (II) LoadModule: "fb"
[   224.406] (II) Loading /usr/lib/xorg/modules/libfb.so
[   224.407] (II) Module fb: vendor="X.Org Foundation"
[   224.407]    compiled for 1.17.2, module version = 1.0.0
[   224.407]    ABI class: X.Org ANSI C Emulation, version 0.4
[   224.410] (II) FBTURBO(0): using backing store heuristics
[   224.428] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[   224.428] (II) FBTURBO(0): failed to enable the use of sunxi display controll                                                                                                   er
[   224.429] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp an                                                                                                   d /dev/g2d)
[   224.429] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[   224.429] (II) FBTURBO(0): enabled fbdev copyarea acceleration
[   224.429] (==) FBTURBO(0): Backing store enabled
[   224.430] (==) FBTURBO(0): DPMS enabled
[   224.430] (II) FBTURBO(0): failed to enable hardware cursor
[   224.430] (II) FBTURBO(0): no 3D acceleration because the driver has been com                                                                                                   piled without libUMP
[   224.430] (II) FBTURBO(0): if this is wrong and needs to be fixed, please che                                                                                                   ck ./configure log
[   224.431] (==) RandR enabled
[   224.484] (II) SELinux: Disabled on system
[   224.490] (II) AIGLX: Screen 0 is not DRI2 capable
[   224.490] (EE) AIGLX: reverting to software rendering
[   224.575] (II) AIGLX: Loaded and initialized swrast
[   224.575] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   224.776] (II) config/udev: Adding input device USB Optical Mouse (/dev/input                                                                                                   /event0)
[   224.777] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall                                                                                                   "
[   224.777] (II) LoadModule: "evdev"
[   224.777] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   224.779] (II) Module evdev: vendor="X.Org Foundation"
[   224.779]    compiled for 1.17.2, module version = 2.9.2
[   224.779]    Module class: X.Org XInput Driver
[   224.779]    ABI class: X.Org XInput driver, version 21.0
[   224.779] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[   224.780] (**) USB Optical Mouse: always reports core events
[   224.780] (**) evdev: USB Optical Mouse: Device: "/dev/input/event0"
[   224.780] (--) evdev: USB Optical Mouse: Vendor 0x4b3 Product 0x310c
[   224.780] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[   224.780] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[   224.780] (--) evdev: USB Optical Mouse: Found relative axes
[   224.780] (--) evdev: USB Optical Mouse: Found x and y relative axes
[   224.781] (II) evdev: USB Optical Mouse: Configuring as mouse
[   224.781] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[   224.781] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[   224.781] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelI                                                                                                   nertia: 10, EmulateWheelTimeout: 200
[   224.781] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.                                                                                                   usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:04B3:310C.0001/input/input0/event0"
[   224.781] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type                                                                                                   : MOUSE, id 6)
[   224.781] (II) evdev: USB Optical Mouse: initialized for relative axes.
[   224.782] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[   224.782] (**) USB Optical Mouse: (accel) acceleration profile 0
[   224.782] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[   224.782] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[   224.785] (II) config/udev: Adding input device USB Optical Mouse (/dev/input                                                                                                   /mouse0)
[   224.785] (II) No input driver specified, ignoring this device.
[   224.785] (II) This device may have been added with another device file.
[   224.787] (II) config/udev: Adding input device USB-compliant keyboard (/dev/                                                                                                   input/event1)
[   224.787] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard ca                                                                                                   tchall"
[   224.787] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[   224.787] (**) USB-compliant keyboard: always reports core events
[   224.787] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event1"
[   224.788] (--) evdev: USB-compliant keyboard: Vendor 0xb38 Product 0x3
[   224.788] (--) evdev: USB-compliant keyboard: Found keys
[   224.788] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[   224.788] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.                                                                                                   usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:0B38:0003.0002/input/input1/event1"
[   224.788] (II) XINPUT: Adding extended input device "USB-compliant keyboard"                                                                                                    (type: KEYBOARD, id 7)
[   224.788] (**) Option "xkb_rules" "evdev"
[   224.788] (**) Option "xkb_model" "pc105"
[   224.788] (**) Option "xkb_layout" "hu"
[   224.906] (II) config/udev: Adding input device USB-compliant keyboard (/dev/                                                                                                   input/event2)
[   224.906] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard ca                                                                                                   tchall"
[   224.906] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[   224.907] (**) USB-compliant keyboard: always reports core events
[   224.907] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event2"
[   224.907] (--) evdev: USB-compliant keyboard: Vendor 0xb38 Product 0x3
[   224.907] (--) evdev: USB-compliant keyboard: Found 1 mouse buttons
[   224.907] (--) evdev: USB-compliant keyboard: Found scroll wheel(s)
[   224.907] (--) evdev: USB-compliant keyboard: Found relative axes
[   224.907] (--) evdev: USB-compliant keyboard: Found x and y relative axes
[   224.907] (--) evdev: USB-compliant keyboard: Found absolute axes
[   224.907] (II) evdev: USB-compliant keyboard: Forcing absolute x/y axes to ex                                                                                                   ist.
[   224.907] (--) evdev: USB-compliant keyboard: Found keys
[   224.908] (II) evdev: USB-compliant keyboard: Configuring as mouse
[   224.908] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[   224.908] (II) evdev: USB-compliant keyboard: Adding scrollwheel support
[   224.908] (**) evdev: USB-compliant keyboard: YAxisMapping: buttons 4 and 5
[   224.908] (**) evdev: USB-compliant keyboard: EmulateWheelButton: 4, EmulateW                                                                                                   heelInertia: 10, EmulateWheelTimeout: 200
[   224.908] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.                                                                                                   usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:0B38:0003.0003/input/input2/event2"
[   224.908] (II) XINPUT: Adding extended input device "USB-compliant keyboard"                                                                                                    (type: KEYBOARD, id 8)
[   224.908] (**) Option "xkb_rules" "evdev"
[   224.908] (**) Option "xkb_model" "pc105"
[   224.908] (**) Option "xkb_layout" "hu"
[   224.910] (II) evdev: USB-compliant keyboard: initialized for relative axes.
[   224.910] (WW) evdev: USB-compliant keyboard: ignoring absolute axes.
[   224.910] (**) USB-compliant keyboard: (accel) keeping acceleration scheme 1
[   224.910] (**) USB-compliant keyboard: (accel) acceleration profile 0
[   224.911] (**) USB-compliant keyboard: (accel) acceleration factor: 2.000
[   224.911] (**) USB-compliant keyboard: (accel) acceleration threshold: 4
[   224.913] (II) config/udev: Adding input device USB-compliant keyboard (/dev/                                                                                                   input/mouse1)
[   224.913] (II) No input driver specified, ignoring this device.
[   224.913] (II) This device may have been added with another device file.

Thank you very much!

notro commented 7 years ago

It is using /dev/fb0 (hdmi):

[   224.402] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 3505kB)

[   224.404] (--) FBTURBO(0): Virtual size is 1824x984 (pitch 1824)
ghost commented 7 years ago

Hi,

Yes, because I first use the method from the Freetronic itiner, like;

"The easiest way to verify the display is working is by loading a graphical "X Windows" session on it. On recent versions of Raspbian, you'll need to first edit the configuration file /usr/share/X11/xorg.conf.d/99-fbturbo.conf on your Pi. Look for this line:

Option "fbdev" "/dev/fb0" Comment this line out by placing a # at the beginning, so it looks like this:

Option "fbdev" "/dev/fb0"

But now I trie with this,

Change to /dev/fb1 in /usr/share/X11/xorg.conf.d/99-fbturbo.conf

to see what is in the Xorg.1.log file.

Many thanks!

ghost commented 7 years ago

Hi,

I test with change to "fbdev" "/dev/fb1" in the config file, now this is the Xorg.1.log;

pi@raspberrypi:~ $ sudo cat /var/log/Xorg.1.log
[   292.732]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[   292.732] X Protocol Version 11, Revision 0
[   292.733] Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian
[   292.733] Current Operating System: Linux raspberrypi 4.0.7-v7+ #1 SMP PREEMP                                                                                                   T Sat Jul 11 20:44:05 CEST 2015 armv7l
[   292.733] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bc                                                                                                   m2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xb664b8da smsc95                                                                                                   xx.macaddr=B8:27:EB:64:B8:DA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm270                                                                                                   9.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=                                                                                                   0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=serial0,1152                                                                                                   00 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repai                                                                                                   r=yes rootwait quiet splash plymouth.ignore-serial-consoles
[   292.733] Build Date: 11 January 2016  01:32:44PM
[   292.734] xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support)
[   292.734] Current version of pixman: 0.33.3
[   292.734]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   292.734] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   292.735] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Dec  6 07:20:16 201                                                                                                   6
[   292.735] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   292.736] (==) No Layout section.  Using the first Screen section.
[   292.737] (==) No screen section available. Using defaults.
[   292.737] (**) |-->Screen "Default Screen Section" (0)
[   292.737] (**) |   |-->Monitor "<default monitor>"
[   292.738] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   292.738] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[   292.738] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   292.738] (==) Automatically adding devices
[   292.738] (==) Automatically enabling devices
[   292.738] (==) Automatically adding GPU devices
[   292.738] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[   292.738]    Entry deleted from font path.
[   292.738] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   292.738]    Entry deleted from font path.
[   292.738] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   292.738]    Entry deleted from font path.
[   292.738] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   292.739]    Entry deleted from font path.
[   292.739] (==) FontPath set to:
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        built-ins
[   292.739] (==) ModulePath set to "/usr/lib/xorg/modules"
[   292.739] (II) The server relies on udev to provide the list of input devices                                                                                                   .
        If no devices become available, reconfigure udev or disable AutoAddDevic                                                                                                   es.
[   292.739] (II) Loader magic: 0x76fb9f00
[   292.739] (II) Module ABI versions:
[   292.739]    X.Org ANSI C Emulation: 0.4
[   292.739]    X.Org Video Driver: 19.0
[   292.739]    X.Org XInput driver : 21.0
[   292.739]    X.Org Server Extension : 9.0
[   292.739] (II) no primary bus or device found
[   292.740] (II) LoadModule: "glx"
[   292.741] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   292.754] (II) Module glx: vendor="X.Org Foundation"
[   292.754]    compiled for 1.17.2, module version = 1.0.0
[   292.754]    ABI class: X.Org Server Extension, version 9.0
[   292.754] (==) AIGLX enabled
[   292.754] (II) LoadModule: "fbturbo"
[   292.755] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[   292.755] (II) Module fbturbo: vendor="X.Org Foundation"
[   292.756]    compiled for 1.17.2, module version = 0.5.1
[   292.756]    Module class: X.Org Video Driver
[   292.756]    ABI class: X.Org Video Driver, version 19.0
[   292.756] (II) FBTURBO: driver for framebuffer: fbturbo
[   292.756] (--) using VT number 2

[   292.905] (WW) Falling back to old probe method for fbturbo
[   292.906] (II) Loading sub module "fbdevhw"
[   292.906] (II) LoadModule: "fbdevhw"
[   292.907] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   292.908] (II) Module fbdevhw: vendor="X.Org Foundation"
[   292.908]    compiled for 1.17.2, module version = 0.0.2
[   292.908]    ABI class: X.Org Video Driver, version 19.0
[   292.909] (II) FBTURBO(0): using /dev/fb1
[   292.909] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   292.909] (II) FBTURBO(0): Creating default Display subsection in Screen sect                                                                                                   ion
        "Default Screen Section" for depth/fbbpp 16/16
[   292.910] (==) FBTURBO(0): Depth 16, (==) framebuffer bpp 16
[   292.910] (==) FBTURBO(0): RGB weight 565
[   292.910] (==) FBTURBO(0): Default visual is TrueColor
[   292.910] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[   292.910] (II) FBTURBO(0): hardware: fb_ssd1351 (video memory: 32kB)
[   292.910] (**) FBTURBO(0): Option "fbdev" "/dev/fb1"
[   292.911] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[   292.912] (II) FBTURBO(0): processor: ARM Cortex-A7
[   292.912] (II) FBTURBO(0): checking modes against framebuffer device...
[   292.912] (II) FBTURBO(0): checking modes against monitor...
[   292.912] (--) FBTURBO(0): Virtual size is 128x128 (pitch 128)
[   292.912] (**) FBTURBO(0):  Built-in mode "current"
[   292.912] (==) FBTURBO(0): DPI set to (96, 96)
[   292.913] (II) Loading sub module "fb"
[   292.913] (II) LoadModule: "fb"
[   292.913] (II) Loading /usr/lib/xorg/modules/libfb.so
[   292.915] (II) Module fb: vendor="X.Org Foundation"
[   292.915]    compiled for 1.17.2, module version = 1.0.0
[   292.915]    ABI class: X.Org ANSI C Emulation, version 0.4
[   292.916] (II) FBTURBO(0): using backing store heuristics
[   292.930] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[   292.930] (II) FBTURBO(0): failed to enable the use of sunxi display controll                                                                                                   er
[   292.931] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp an                                                                                                   d /dev/g2d)
[   292.931] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[   292.931] (II) FBTURBO(0): enabled VFP/NEON optimizations
[   292.931] (==) FBTURBO(0): Backing store enabled
[   292.932] (==) FBTURBO(0): DPMS enabled
[   292.932] (II) FBTURBO(0): failed to enable hardware cursor
[   292.932] (II) FBTURBO(0): no 3D acceleration because the driver has been com                                                                                                   piled without libUMP
[   292.932] (II) FBTURBO(0): if this is wrong and needs to be fixed, please che                                                                                                   ck ./configure log
[   292.932] (==) RandR enabled
[   292.978] (II) SELinux: Disabled on system
[   292.985] (II) AIGLX: Screen 0 is not DRI2 capable
[   292.985] (EE) AIGLX: reverting to software rendering
[   293.070] (II) AIGLX: Loaded and initialized swrast
[   293.070] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   293.268] (II) config/udev: Adding input device USB Optical Mouse (/dev/input                                                                                                   /event0)
[   293.268] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall                                                                                                   "
[   293.268] (II) LoadModule: "evdev"
[   293.269] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   293.271] (II) Module evdev: vendor="X.Org Foundation"
[   293.271]    compiled for 1.17.2, module version = 2.9.2
[   293.271]    Module class: X.Org XInput Driver
[   293.271]    ABI class: X.Org XInput driver, version 21.0
[   293.271] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[   293.271] (**) USB Optical Mouse: always reports core events
[   293.272] (**) evdev: USB Optical Mouse: Device: "/dev/input/event0"
[   293.272] (--) evdev: USB Optical Mouse: Vendor 0x4b3 Product 0x310c
[   293.272] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[   293.272] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[   293.272] (--) evdev: USB Optical Mouse: Found relative axes
[   293.272] (--) evdev: USB Optical Mouse: Found x and y relative axes
[   293.272] (II) evdev: USB Optical Mouse: Configuring as mouse
[   293.272] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[   293.273] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[   293.273] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelI                                                                                                   nertia: 10, EmulateWheelTimeout: 200
[   293.273] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.                                                                                                   usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:04B3:310C.0001/input/input0/event0"
[   293.273] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type                                                                                                   : MOUSE, id 6)
[   293.273] (II) evdev: USB Optical Mouse: initialized for relative axes.
[   293.274] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[   293.274] (**) USB Optical Mouse: (accel) acceleration profile 0
[   293.274] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[   293.274] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[   293.276] (II) config/udev: Adding input device USB Optical Mouse (/dev/input                                                                                                   /mouse0)
[   293.277] (II) No input driver specified, ignoring this device.
[   293.277] (II) This device may have been added with another device file.
[   293.279] (II) config/udev: Adding input device USB-compliant keyboard (/dev/                                                                                                   input/event1)
[   293.279] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard ca                                                                                                   tchall"
[   293.279] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[   293.279] (**) USB-compliant keyboard: always reports core events
[   293.279] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event1"
[   293.280] (--) evdev: USB-compliant keyboard: Vendor 0xb38 Product 0x3
[   293.280] (--) evdev: USB-compliant keyboard: Found keys
[   293.280] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[   293.280] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.                                                                                                   usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:0B38:0003.0002/input/input1/event1"
[   293.280] (II) XINPUT: Adding extended input device "USB-compliant keyboard"                                                                                                    (type: KEYBOARD, id 7)
[   293.280] (**) Option "xkb_rules" "evdev"
[   293.280] (**) Option "xkb_model" "pc105"
[   293.280] (**) Option "xkb_layout" "hu"
[   293.396] (II) config/udev: Adding input device USB-compliant keyboard (/dev/                                                                                                   input/event2)
[   293.396] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard ca                                                                                                   tchall"
[   293.396] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[   293.397] (**) USB-compliant keyboard: always reports core events
[   293.397] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event2"
[   293.397] (--) evdev: USB-compliant keyboard: Vendor 0xb38 Product 0x3
[   293.397] (--) evdev: USB-compliant keyboard: Found 1 mouse buttons
[   293.397] (--) evdev: USB-compliant keyboard: Found scroll wheel(s)
[   293.397] (--) evdev: USB-compliant keyboard: Found relative axes
[   293.397] (--) evdev: USB-compliant keyboard: Found x and y relative axes
[   293.397] (--) evdev: USB-compliant keyboard: Found absolute axes
[   293.397] (II) evdev: USB-compliant keyboard: Forcing absolute x/y axes to ex                                                                                                   ist.
[   293.397] (--) evdev: USB-compliant keyboard: Found keys
[   293.398] (II) evdev: USB-compliant keyboard: Configuring as mouse
[   293.398] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[   293.398] (II) evdev: USB-compliant keyboard: Adding scrollwheel support
[   293.398] (**) evdev: USB-compliant keyboard: YAxisMapping: buttons 4 and 5
[   293.398] (**) evdev: USB-compliant keyboard: EmulateWheelButton: 4, EmulateW                                                                                                   heelInertia: 10, EmulateWheelTimeout: 200
[   293.398] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.                                                                                                   usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:0B38:0003.0003/input/input2/event2"
[   293.398] (II) XINPUT: Adding extended input device "USB-compliant keyboard"                                                                                                    (type: KEYBOARD, id 8)
[   293.398] (**) Option "xkb_rules" "evdev"
[   293.398] (**) Option "xkb_model" "pc105"
[   293.398] (**) Option "xkb_layout" "hu"
[   293.400] (II) evdev: USB-compliant keyboard: initialized for relative axes.
[   293.400] (WW) evdev: USB-compliant keyboard: ignoring absolute axes.
[   293.400] (**) USB-compliant keyboard: (accel) keeping acceleration scheme 1
[   293.401] (**) USB-compliant keyboard: (accel) acceleration profile 0
[   293.401] (**) USB-compliant keyboard: (accel) acceleration factor: 2.000
[   293.401] (**) USB-compliant keyboard: (accel) acceleration threshold: 4
[   293.403] (II) config/udev: Adding input device USB-compliant keyboard (/dev/                                                                                                   input/mouse1)
[   293.403] (II) No input driver specified, ignoring this device.
[   293.403] (II) This device may have been added with another device file.
[   314.215] (II) evdev: USB-compliant keyboard: Close
[   314.215] (II) UnloadModule: "evdev"
[   314.216] (II) evdev: USB-compliant keyboard: Close
[   314.216] (II) UnloadModule: "evdev"
[   314.216] (II) evdev: USB Optical Mouse: Close
[   314.216] (II) UnloadModule: "evdev"
[   314.267] (II) Server terminated successfully (0). Closing log file.

And (maybe) this with the "custom configuration"

sudo mkdir -p /etc/X11/xorg.conf.d/ sudo wget https://gist.github.com/notro/63fc8f563b5f85010d30/raw/5e68d6c6df9471f973b3da5305e73a5017590a69/fbtft.conf -O /etc/X11/xorg.conf.d/fbtft.conf

pi@raspberrypi:~ $ sudo cat /var/log/Xorg.1.log
[   715.446]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[   715.447] X Protocol Version 11, Revision 0
[   715.448] Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian
[   715.449] Current Operating System: Linux raspberrypi 4.0.7-v7+ #1 SMP PREEMPT Sat Jul 11 20:44:05 CEST 2015 armv7l
[   715.449] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xb664b8da smsc95xx.macaddr=B8:27:EB:64:B8:DA bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[   715.454] Build Date: 11 January 2016  01:32:44PM
[   715.454] xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support)
[   715.455] Current version of pixman: 0.33.3
[   715.456]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   715.456] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   715.461] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Dec  6 07:27:19 2016
[   715.462] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   715.463] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   715.466] (==) ServerLayout "TFT"
[   715.466] (**) |-->Screen "ScreenTFT" (0)
[   715.466] (**) |   |-->Monitor "MonitorTFT"
[   715.468] (**) |   |-->Device "DeviceTFT"
[   715.468] (==) Automatically adding devices
[   715.468] (==) Automatically enabling devices
[   715.468] (==) Automatically adding GPU devices
[   715.468] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[   715.468]    Entry deleted from font path.
[   715.468] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   715.469]    Entry deleted from font path.
[   715.469] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   715.469]    Entry deleted from font path.
[   715.469] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   715.469]    Entry deleted from font path.
[   715.469] (==) FontPath set to:
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        built-ins
[   715.469] (==) ModulePath set to "/usr/lib/xorg/modules"
[   715.469] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   715.469] (II) Loader magic: 0x76f3df00
[   715.470] (II) Module ABI versions:
[   715.470]    X.Org ANSI C Emulation: 0.4
[   715.470]    X.Org Video Driver: 19.0
[   715.470]    X.Org XInput driver : 21.0
[   715.470]    X.Org Server Extension : 9.0
[   715.471] (II) no primary bus or device found
[   715.471] (II) LoadModule: "glx"
[   715.473] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   715.493] (II) Module glx: vendor="X.Org Foundation"
[   715.493]    compiled for 1.17.2, module version = 1.0.0
[   715.493]    ABI class: X.Org Server Extension, version 9.0
[   715.493] (==) AIGLX enabled
[   715.493] (==) Matched modesetting as autoconfigured driver 0
[   715.493] (==) Matched fbdev as autoconfigured driver 1
[   715.494] (==) Assigned the driver to the xf86ConfigLayout
[   715.494] (II) LoadModule: "modesetting"
[   715.494] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   715.501] (II) Module modesetting: vendor="X.Org Foundation"
[   715.501]    compiled for 1.17.2, module version = 1.17.2
[   715.501]    Module class: X.Org Video Driver
[   715.501]    ABI class: X.Org Video Driver, version 19.0
[   715.502] (II) LoadModule: "fbdev"
[   715.502] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   715.505] (II) Module fbdev: vendor="X.Org Foundation"
[   715.506]    compiled for 1.17.2, module version = 0.4.4
[   715.506]    Module class: X.Org Video Driver
[   715.506]    ABI class: X.Org Video Driver, version 19.0
[   715.506] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   715.506] (II) FBDEV: driver for framebuffer: fbdev
[   715.507] (--) using VT number 2

[   715.734] (WW) Falling back to old probe method for modesetting
[   715.735] (EE) open /dev/dri/card0: No such file or directory
[   715.735] (WW) Falling back to old probe method for fbdev
[   715.735] (II) Loading sub module "fbdevhw"
[   715.735] (II) LoadModule: "fbdevhw"
[   715.736] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   715.737] (II) Module fbdevhw: vendor="X.Org Foundation"
[   715.737]    compiled for 1.17.2, module version = 0.0.2
[   715.737]    ABI class: X.Org Video Driver, version 19.0
[   715.738] (II) FBDEV(0): using /dev/fb1
[   715.738] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   715.738] (II) FBDEV(0): Creating default Display subsection in Screen section
        "ScreenTFT" for depth/fbbpp 16/16
[   715.738] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[   715.738] (==) FBDEV(0): RGB weight 565
[   715.738] (==) FBDEV(0): Default visual is TrueColor
[   715.739] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[   715.739] (II) FBDEV(0): hardware: fb_ssd1351 (video memory: 32kB)
[   715.739] (**) FBDEV(0): Option "fbdev" "/dev/fb1"
[   715.739] (II) FBDEV(0): checking modes against framebuffer device...
[   715.739] (II) FBDEV(0): checking modes against monitor...
[   715.739] (--) FBDEV(0): Virtual size is 128x128 (pitch 128)
[   715.739] (**) FBDEV(0):  Built-in mode "current"
[   715.739] (==) FBDEV(0): DPI set to (96, 96)
[   715.740] (II) Loading sub module "fb"
[   715.740] (II) LoadModule: "fb"
[   715.741] (II) Loading /usr/lib/xorg/modules/libfb.so
[   715.742] (II) Module fb: vendor="X.Org Foundation"
[   715.742]    compiled for 1.17.2, module version = 1.0.0
[   715.742]    ABI class: X.Org ANSI C Emulation, version 0.4
[   715.743] (**) FBDEV(0): using shadow framebuffer
[   715.743] (II) Loading sub module "shadow"
[   715.743] (II) LoadModule: "shadow"
[   715.744] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   715.754] (II) Module shadow: vendor="X.Org Foundation"
[   715.755]    compiled for 1.17.2, module version = 1.1.0
[   715.755]    ABI class: X.Org ANSI C Emulation, version 0.4
[   715.755] (II) UnloadModule: "modesetting"
[   715.755] (II) Unloading modesetting
[   715.758] (==) FBDEV(0): Backing store enabled
[   715.759] (==) FBDEV(0): DPMS enabled
[   715.760] (==) RandR enabled
[   715.832] (II) SELinux: Disabled on system
[   715.841] (II) AIGLX: Screen 0 is not DRI2 capable
[   715.842] (EE) AIGLX: reverting to software rendering
[   715.964] (II) AIGLX: Loaded and initialized swrast
[   715.965] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   716.259] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event0)
[   716.260] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[   716.260] (II) LoadModule: "evdev"
[   716.261] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   716.264] (II) Module evdev: vendor="X.Org Foundation"
[   716.264]    compiled for 1.17.2, module version = 2.9.2
[   716.264]    Module class: X.Org XInput Driver
[   716.264]    ABI class: X.Org XInput driver, version 21.0
[   716.264] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[   716.264] (**) USB Optical Mouse: always reports core events
[   716.265] (**) evdev: USB Optical Mouse: Device: "/dev/input/event0"
[   716.265] (--) evdev: USB Optical Mouse: Vendor 0x4b3 Product 0x310c
[   716.265] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[   716.265] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[   716.266] (--) evdev: USB Optical Mouse: Found relative axes
[   716.266] (--) evdev: USB Optical Mouse: Found x and y relative axes
[   716.266] (II) evdev: USB Optical Mouse: Configuring as mouse
[   716.266] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[   716.266] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[   716.266] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   716.266] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:04B3:310C.0001/input/input0/event0"
[   716.267] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 6)
[   716.267] (II) evdev: USB Optical Mouse: initialized for relative axes.
[   716.268] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[   716.268] (**) USB Optical Mouse: (accel) acceleration profile 0
[   716.269] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[   716.269] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[   716.272] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[   716.273] (II) No input driver specified, ignoring this device.
[   716.273] (II) This device may have been added with another device file.
[   716.276] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/event1)
[   716.276] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard catchall"
[   716.276] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[   716.277] (**) USB-compliant keyboard: always reports core events
[   716.277] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event1"
[   716.277] (--) evdev: USB-compliant keyboard: Vendor 0xb38 Product 0x3
[   716.277] (--) evdev: USB-compliant keyboard: Found keys
[   716.277] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[   716.278] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:0B38:0003.0002/input/input1/event1"
[   716.278] (II) XINPUT: Adding extended input device "USB-compliant keyboard" (type: KEYBOARD, id 7)
[   716.278] (**) Option "xkb_rules" "evdev"
[   716.278] (**) Option "xkb_model" "pc105"
[   716.278] (**) Option "xkb_layout" "hu"
[   716.461] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/event2)
[   716.462] (**) USB-compliant keyboard: Applying InputClass "evdev keyboard catchall"
[   716.462] (II) Using input driver 'evdev' for 'USB-compliant keyboard'
[   716.462] (**) USB-compliant keyboard: always reports core events
[   716.462] (**) evdev: USB-compliant keyboard: Device: "/dev/input/event2"
[   716.463] (--) evdev: USB-compliant keyboard: Vendor 0xb38 Product 0x3
[   716.463] (--) evdev: USB-compliant keyboard: Found 1 mouse buttons
[   716.463] (--) evdev: USB-compliant keyboard: Found scroll wheel(s)
[   716.463] (--) evdev: USB-compliant keyboard: Found relative axes
[   716.463] (--) evdev: USB-compliant keyboard: Found x and y relative axes
[   716.463] (--) evdev: USB-compliant keyboard: Found absolute axes
[   716.463] (II) evdev: USB-compliant keyboard: Forcing absolute x/y axes to exist.
[   716.463] (--) evdev: USB-compliant keyboard: Found keys
[   716.463] (II) evdev: USB-compliant keyboard: Configuring as mouse
[   716.464] (II) evdev: USB-compliant keyboard: Configuring as keyboard
[   716.464] (II) evdev: USB-compliant keyboard: Adding scrollwheel support
[   716.464] (**) evdev: USB-compliant keyboard: YAxisMapping: buttons 4 and 5
[   716.464] (**) evdev: USB-compliant keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   716.464] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:0B38:0003.0003/input/input2/event2"
[   716.464] (II) XINPUT: Adding extended input device "USB-compliant keyboard" (type: KEYBOARD, id 8)
[   716.464] (**) Option "xkb_rules" "evdev"
[   716.465] (**) Option "xkb_model" "pc105"
[   716.465] (**) Option "xkb_layout" "hu"
[   716.467] (II) evdev: USB-compliant keyboard: initialized for relative axes.
[   716.467] (WW) evdev: USB-compliant keyboard: ignoring absolute axes.
[   716.468] (**) USB-compliant keyboard: (accel) keeping acceleration scheme 1
[   716.468] (**) USB-compliant keyboard: (accel) acceleration profile 0
[   716.468] (**) USB-compliant keyboard: (accel) acceleration factor: 2.000
[   716.468] (**) USB-compliant keyboard: (accel) acceleration threshold: 4
[   716.472] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/mouse1)
[   716.472] (II) No input driver specified, ignoring this device.
[   716.472] (II) This device may have been added with another device file.
[   787.325] (II) evdev: USB-compliant keyboard: Close
[   787.326] (II) UnloadModule: "evdev"
[   787.326] (II) evdev: USB-compliant keyboard: Close
[   787.326] (II) UnloadModule: "evdev"
[   787.326] (II) evdev: USB Optical Mouse: Close
[   787.327] (II) UnloadModule: "evdev"
[   787.365] (II) Server terminated successfully (0). Closing log file.

I don't know what can be the problem :/

Thank you!!!

notro commented 7 years ago

I don't know much about xorg, but at least now it's using the right framebuffer:

[   292.909] (II) FBTURBO(0): using /dev/fb1

[   292.910] (II) FBTURBO(0): hardware: fb_ssd1351 (video memory: 32kB)
[   292.910] (**) FBTURBO(0): Option "fbdev" "/dev/fb1"

Have you verified by other means that the display is working? I use the framebuffer console for testing: con2fbmap 1 1

ghost commented 7 years ago

Yes, the display is working with Arduino. But the unfortunately do nothing. Maybe the spi-bcm2708 can be a problem, but I running out of ideas :/

notro commented 7 years ago

Have you contacted Freetronics?

ghost commented 7 years ago

Yes, I waiting for the answer, thanks!

ghost commented 7 years ago

Hi,

Nothing works, but then I downgrade to Raspbian "Wheezy", and everything was fine!

Is it possible with this display, to make an extended desktop with to displays, like in this video? https://www.youtube.com/watch?v=wxJpWRPKe-g

How can I do that?

Thanks!

notro commented 6 years ago

Closing issue since there has been no activity for more than 2 months. Reopen if needed.