Raspi with Touchscreen: startx results in "no screens found"

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby pornex » Thu Nov 07, 2013 3:59 pm

Hey pepedog,

there is a vesa driver as well as a fbdev(?) driver.

$this->bbcode_second_pass_code('', '[root@alarmpi ~]# ls /usr/lib/xorg/modules/drivers/
fbdev_drv.so vesa_drv.so
')
pornex
 
Posts: 10
Joined: Sun Nov 03, 2013 11:38 pm

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby pepedog » Thu Nov 07, 2013 8:20 pm

What happens if you uninstall xf86-video-vesa
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby pornex » Thu Nov 07, 2013 9:46 pm

I removed it by executing pacman -R.

After a reboot I tried startx from ssh. See the same result:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# startx


X.Org X Server 1.14.4
Release Date: 2013-10-31
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.34-1-FARM armv6l
Current Operating System: Linux alarmpi 3.6.11-18-ARCH+ #1 PREEMPT Mon Oct 21 01:15:42 CDT 2013 armv6l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=800 bcm2708.boardrev=0xe bcm2708.serial=0x548a6081 smsc95xx.macaddr=B8:27:EB:8A:60:81 sdhci-bcm2708.emmc_clock_freq=100000000 vc-cma-mem=0/0x11800000@0xd400000 mem=0xc400000@0x0 mem=0x11800000@0xd400000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 ipv6.disable=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait
Build Date: 01 November 2013 02:18:25PM

Current version of pixman: 0.30.2
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.0.log", Time: Thu Nov 7 21:35:39 2013
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Bad file descriptor
xinit: server error
')

Xorg.0.log says:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# cat /var/log/Xorg.0.log
[ 92.647]
X.Org X Server 1.14.4
Release Date: 2013-10-31
[ 92.651] X Protocol Version 11, Revision 0
[ 92.653] Build Operating System: Linux 3.2.34-1-FARM armv6l
[ 92.654] Current Operating System: Linux alarmpi 3.6.11-18-ARCH+ #1 PREEMPT Mon Oct 21 01:15:42 CDT 2013 armv6l
[ 92.655] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=800 bcm2708.boardrev=0xe bcm2708.serial=0x548a6081 smsc95xx.macaddr=B8:27:EB:8A:60:81 sdhci-bcm2708.emmc_clock_freq=100000000 vc-cma-mem=0/0x11800000@0xd400000 mem=0xc400000@0x0 mem=0x11800000@0xd400000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 ipv6.disable=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait
[ 92.665] Build Date: 01 November 2013 02:18:25PM
[ 92.666]
[ 92.668] Current version of pixman: 0.30.2
[ 92.669] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 92.670] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 92.679] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 7 21:35:39 2013
[ 92.682] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 92.684] (==) No Layout section. Using the first Screen section.
[ 92.685] (**) |-->Screen "Screen0" (0)
[ 92.685] (**) | |-->Monitor "Monitor0"
[ 92.686] (**) | |-->Device "Device0"
[ 92.687] (==) Automatically adding devices
[ 92.687] (==) Automatically enabling devices
[ 92.687] (==) Automatically adding GPU devices
[ 92.688] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 92.688] Entry deleted from font path.
[ 92.688] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 92.688] Entry deleted from font path.
[ 92.688] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 92.688] Entry deleted from font path.
[ 92.688] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 92.689] Entry deleted from font path.
[ 92.689] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 92.689] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 92.689] Entry deleted from font path.
[ 92.689] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 92.689] (==) FontPath set to:
/usr/share/fonts/misc/
[ 92.689] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 92.690] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 92.690] (II) Loader magic: 0x1c1b70
[ 92.690] (II) Module ABI versions:
[ 92.690] X.Org ANSI C Emulation: 0.4
[ 92.690] X.Org Video Driver: 14.1
[ 92.690] X.Org XInput driver : 19.1
[ 92.691] X.Org Server Extension : 7.0
[ 92.693] Initializing built-in extension Generic Event Extension
[ 92.695] Initializing built-in extension SHAPE
[ 92.697] Initializing built-in extension MIT-SHM
[ 92.698] Initializing built-in extension XInputExtension
[ 92.700] Initializing built-in extension XTEST
[ 92.702] Initializing built-in extension BIG-REQUESTS
[ 92.702] Initializing built-in extension SYNC
[ 92.703] Initializing built-in extension XKEYBOARD
[ 92.704] Initializing built-in extension XC-MISC
[ 92.705] Initializing built-in extension SECURITY
[ 92.706] Initializing built-in extension XINERAMA
[ 92.708] Initializing built-in extension XFIXES
[ 92.709] Initializing built-in extension RENDER
[ 92.710] Initializing built-in extension RANDR
[ 92.712] Initializing built-in extension COMPOSITE
[ 92.713] Initializing built-in extension DAMAGE
[ 92.714] Initializing built-in extension MIT-SCREEN-SAVER
[ 92.715] Initializing built-in extension DOUBLE-BUFFER
[ 92.716] Initializing built-in extension RECORD
[ 92.717] Initializing built-in extension DPMS
[ 92.719] Initializing built-in extension X-Resource
[ 92.720] Initializing built-in extension XVideo
[ 92.722] Initializing built-in extension XVideo-MotionCompensation
[ 92.723] Initializing built-in extension XFree86-VidModeExtension
[ 92.724] Initializing built-in extension XFree86-DGA
[ 92.725] Initializing built-in extension XFree86-DRI
[ 92.725] Initializing built-in extension DRI2
[ 92.726] (II) LoadModule: "glx"
[ 92.729] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 92.731] (II) Module glx: vendor="X.Org Foundation"
[ 92.732] compiled for 1.14.4, module version = 1.0.0
[ 92.732] ABI class: X.Org Server Extension, version 7.0
[ 92.732] (==) AIGLX enabled
[ 92.734] Loading extension GLX
[ 92.734] (II) LoadModule: "vesa"
[ 92.737] (WW) Warning, couldn't open module vesa
[ 92.737] (II) UnloadModule: "vesa"
[ 92.737] (II) Unloading vesa
[ 92.737] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 92.737] (EE) No drivers available.
[ 92.738] (EE)
Fatal server error:
[ 92.742] (EE) no screens found(EE)
[ 92.747] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 92.749] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 92.751] (EE)
[ 92.753] (EE) Server terminated with error (1). Closing log file.
')

After deleting Xorg.0.log I went to my pi with the connected touchscreen, logged in there and startx was performed automatically, as mentioned before. Almost the same error message occurs. Here's whats Xorg.0.log says:
$this->bbcode_second_pass_code('', '
[root@alarmpi ~]# cat /var/log/Xorg.0.log
[ 622.386]
X.Org X Server 1.14.4
Release Date: 2013-10-31
[ 622.387] X Protocol Version 11, Revision 0
[ 622.388] Build Operating System: Linux 3.2.34-1-FARM armv6l
[ 622.388] Current Operating System: Linux alarmpi 3.6.11-18-ARCH+ #1 PREEMPT Mon Oct 21 01:15:42 CDT 2013 armv6l
[ 622.388] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=800 bcm2708.boardrev=0xe bcm2708.serial=0x548a6081 smsc95xx.macaddr=B8:27:EB:8A:60:81 sdhci-bcm2708.emmc_clock_freq=100000000 vc-cma-mem=0/0x11800000@0xd400000 mem=0xc400000@0x0 mem=0x11800000@0xd400000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 ipv6.disable=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait
[ 622.391] Build Date: 01 November 2013 02:18:25PM
[ 622.391]
[ 622.392] Current version of pixman: 0.30.2
[ 622.392] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 622.393] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 622.395] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 7 21:44:29 2013
[ 622.396] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 622.398] (==) No Layout section. Using the first Screen section.
[ 622.399] (**) |-->Screen "Screen0" (0)
[ 622.399] (**) | |-->Monitor "Monitor0"
[ 622.401] (**) | |-->Device "Device0"
[ 622.401] (==) Automatically adding devices
[ 622.401] (==) Automatically enabling devices
[ 622.401] (==) Automatically adding GPU devices
[ 622.402] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 622.402] Entry deleted from font path.
[ 622.402] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 622.402] Entry deleted from font path.
[ 622.402] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 622.402] Entry deleted from font path.
[ 622.403] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 622.403] Entry deleted from font path.
[ 622.403] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 622.403] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 622.403] Entry deleted from font path.
[ 622.403] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 622.404] (==) FontPath set to:
/usr/share/fonts/misc/
[ 622.404] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 622.404] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 622.404] (II) Loader magic: 0x1c1b70
[ 622.404] (II) Module ABI versions:
[ 622.404] X.Org ANSI C Emulation: 0.4
[ 622.404] X.Org Video Driver: 14.1
[ 622.404] X.Org XInput driver : 19.1
[ 622.405] X.Org Server Extension : 7.0
[ 622.406] Initializing built-in extension Generic Event Extension
[ 622.406] Initializing built-in extension SHAPE
[ 622.407] Initializing built-in extension MIT-SHM
[ 622.407] Initializing built-in extension XInputExtension
[ 622.407] Initializing built-in extension XTEST
[ 622.408] Initializing built-in extension BIG-REQUESTS
[ 622.408] Initializing built-in extension SYNC
[ 622.408] Initializing built-in extension XKEYBOARD
[ 622.409] Initializing built-in extension XC-MISC
[ 622.409] Initializing built-in extension SECURITY
[ 622.409] Initializing built-in extension XINERAMA
[ 622.409] Initializing built-in extension XFIXES
[ 622.410] Initializing built-in extension RENDER
[ 622.410] Initializing built-in extension RANDR
[ 622.410] Initializing built-in extension COMPOSITE
[ 622.411] Initializing built-in extension DAMAGE
[ 622.411] Initializing built-in extension MIT-SCREEN-SAVER
[ 622.411] Initializing built-in extension DOUBLE-BUFFER
[ 622.412] Initializing built-in extension RECORD
[ 622.412] Initializing built-in extension DPMS
[ 622.412] Initializing built-in extension X-Resource
[ 622.413] Initializing built-in extension XVideo
[ 622.416] Initializing built-in extension XVideo-MotionCompensation
[ 622.419] Initializing built-in extension XFree86-VidModeExtension
[ 622.423] Initializing built-in extension XFree86-DGA
[ 622.426] Initializing built-in extension XFree86-DRI
[ 622.429] Initializing built-in extension DRI2
[ 622.430] (II) LoadModule: "glx"
[ 622.433] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 622.434] (II) Module glx: vendor="X.Org Foundation"
[ 622.435] compiled for 1.14.4, module version = 1.0.0
[ 622.435] ABI class: X.Org Server Extension, version 7.0
[ 622.435] (==) AIGLX enabled
[ 622.439] Loading extension GLX
[ 622.439] (II) LoadModule: "vesa"
[ 622.442] (WW) Warning, couldn't open module vesa
[ 622.442] (II) UnloadModule: "vesa"
[ 622.442] (II) Unloading vesa
[ 622.442] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 622.442] (EE) No drivers available.
[ 622.443] (EE)
Fatal server error:
[ 622.449] (EE) no screens found(EE)
[ 622.453] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 622.465] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 622.469] (EE)
[ 622.472] (EE) Server terminated with error (1). Closing log file.
')
pornex
 
Posts: 10
Joined: Sun Nov 03, 2013 11:38 pm

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby pepedog » Thu Nov 07, 2013 11:25 pm

It's trying to still load VESA module.
Perhaps delete this /etc/X11/xorg.conf.d/10-monitor.conf
Fbdev doesn't need configuring.
If you need a /etc/X11/xorg.conf file, see what touch screen manufacturer says
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby sdjf » Fri Nov 08, 2013 5:04 pm

Keep a backup copy of that file if you erase it so if removing it does not work, you can edit it.

/etc/X11/xorg.conf.d/10-monitor.conf

You could try changing "vesa" to "fbdev" and also should change the line showing screen resolution to whatever resolution your monitor is.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby pornex » Fri Nov 08, 2013 5:40 pm

I already deleted 10-monitor.conf, and the Error occured.
After restoring the file, I edited as suggestd by sdjf the driver to "fbdev". A slightly different failure occures. Here's Xorg.0.conf:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# cat /var/log/Xorg.0.log
[ 72200.943]
X.Org X Server 1.14.4
Release Date: 2013-10-31
[ 72200.944] X Protocol Version 11, Revision 0
[ 72200.944] Build Operating System: Linux 3.2.34-1-FARM armv6l
[ 72200.945] Current Operating System: Linux alarmpi 3.6.11-18-ARCH+ #1 PREEMPT Mon Oct 21 01:15:42 CDT 2013 armv6l
[ 72200.945] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=800 bcm2708.boardrev=0xe bcm2708.serial=0x548a6081 smsc95xx.macaddr=B8:27:EB:8A:60:81 sdhci-bcm2708.emmc_clock_freq=100000000 vc-cma-mem=0/0x11800000@0xd400000 mem=0xc400000@0x0 mem=0x11800000@0xd400000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 ipv6.disable=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait
[ 72200.947] Build Date: 01 November 2013 02:18:25PM
[ 72200.948]
[ 72200.948] Current version of pixman: 0.30.2
[ 72200.948] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 72200.949] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 72200.951] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 8 17:37:27 2013
[ 72200.953] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 72200.955] (==) No Layout section. Using the first Screen section.
[ 72200.955] (**) |-->Screen "Screen0" (0)
[ 72200.955] (**) | |-->Monitor "Monitor0"
[ 72200.957] (**) | |-->Device "Device0"
[ 72200.957] (==) Automatically adding devices
[ 72200.958] (==) Automatically enabling devices
[ 72200.958] (==) Automatically adding GPU devices
[ 72200.958] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 72200.958] Entry deleted from font path.
[ 72200.958] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 72200.959] Entry deleted from font path.
[ 72200.959] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 72200.959] Entry deleted from font path.
[ 72200.959] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 72200.959] Entry deleted from font path.
[ 72200.959] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 72200.960] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 72200.960] Entry deleted from font path.
[ 72200.960] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 72200.960] (==) FontPath set to:
/usr/share/fonts/misc/
[ 72200.960] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 72200.960] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 72200.961] (II) Loader magic: 0x1c1b70
[ 72200.961] (II) Module ABI versions:
[ 72200.961] X.Org ANSI C Emulation: 0.4
[ 72200.961] X.Org Video Driver: 14.1
[ 72200.961] X.Org XInput driver : 19.1
[ 72200.961] X.Org Server Extension : 7.0
[ 72200.963] Initializing built-in extension Generic Event Extension
[ 72200.963] Initializing built-in extension SHAPE
[ 72200.963] Initializing built-in extension MIT-SHM
[ 72200.964] Initializing built-in extension XInputExtension
[ 72200.964] Initializing built-in extension XTEST
[ 72200.964] Initializing built-in extension BIG-REQUESTS
[ 72200.964] Initializing built-in extension SYNC
[ 72200.965] Initializing built-in extension XKEYBOARD
[ 72200.965] Initializing built-in extension XC-MISC
[ 72200.965] Initializing built-in extension SECURITY
[ 72200.966] Initializing built-in extension XINERAMA
[ 72200.966] Initializing built-in extension XFIXES
[ 72200.966] Initializing built-in extension RENDER
[ 72200.967] Initializing built-in extension RANDR
[ 72200.967] Initializing built-in extension COMPOSITE
[ 72200.967] Initializing built-in extension DAMAGE
[ 72200.968] Initializing built-in extension MIT-SCREEN-SAVER
[ 72200.968] Initializing built-in extension DOUBLE-BUFFER
[ 72200.968] Initializing built-in extension RECORD
[ 72200.969] Initializing built-in extension DPMS
[ 72200.969] Initializing built-in extension X-Resource
[ 72200.969] Initializing built-in extension XVideo
[ 72200.973] Initializing built-in extension XVideo-MotionCompensation
[ 72200.976] Initializing built-in extension XFree86-VidModeExtension
[ 72200.979] Initializing built-in extension XFree86-DGA
[ 72200.983] Initializing built-in extension XFree86-DRI
[ 72200.986] Initializing built-in extension DRI2
[ 72200.986] (II) LoadModule: "glx"
[ 72200.989] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 72200.991] (II) Module glx: vendor="X.Org Foundation"
[ 72200.991] compiled for 1.14.4, module version = 1.0.0
[ 72200.991] ABI class: X.Org Server Extension, version 7.0
[ 72200.992] (==) AIGLX enabled
[ 72200.995] Loading extension GLX
[ 72200.995] (II) LoadModule: "fbdev"
[ 72200.997] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 72200.998] (II) Module fbdev: vendor="X.Org Foundation"
[ 72200.998] compiled for 1.14.3, module version = 0.4.4
[ 72200.999] Module class: X.Org Video Driver
[ 72200.999] ABI class: X.Org Video Driver, version 14.1
[ 72200.999] (II) FBDEV: driver for framebuffer: fbdev
[ 72200.999] (++) using VT number 1

[ 72201.000] (WW) Falling back to old probe method for fbdev
[ 72201.000] (II) Loading sub module "fbdevhw"
[ 72201.001] (II) LoadModule: "fbdevhw"
[ 72201.002] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 72201.003] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 72201.003] compiled for 1.14.4, module version = 0.0.2
[ 72201.004] ABI class: X.Org Video Driver, version 14.1
[ 72201.004] (II) FBDEV(0): using default device
[ 72201.004] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 72201.005] (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
[ 72201.005] (==) FBDEV(0): RGB weight 565
[ 72201.005] (==) FBDEV(0): Default visual is TrueColor
[ 72201.006] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 72201.006] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 2000kB)
[ 72201.006] (II) FBDEV(0): checking modes against framebuffer device...
[ 72201.006] (II) FBDEV(0): mode "1024x768_75.00" not found
[ 72201.007] (II) FBDEV(0): checking modes against monitor...
[ 72201.007] (--) FBDEV(0): Virtual size is 1280x800 (pitch 1280)
[ 72201.007] (**) FBDEV(0): Built-in mode "current"
[ 72201.007] (==) FBDEV(0): DPI set to (96, 96)
[ 72201.007] (II) Loading sub module "fb"
[ 72201.008] (II) LoadModule: "fb"
[ 72201.009] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 72201.012] (II) Module fb: vendor="X.Org Foundation"
[ 72201.012] compiled for 1.14.4, module version = 1.0.0
[ 72201.013] ABI class: X.Org ANSI C Emulation, version 0.4
[ 72201.013] (**) FBDEV(0): using shadow framebuffer
[ 72201.013] (II) Loading sub module "shadow"
[ 72201.013] (II) LoadModule: "shadow"
[ 72201.014] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 72201.015] (II) Module shadow: vendor="X.Org Foundation"
[ 72201.015] compiled for 1.14.4, module version = 1.1.0
[ 72201.016] ABI class: X.Org ANSI C Emulation, version 0.4
[ 72201.016] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 72201.018] (==) FBDEV(0): Backing store disabled
[ 72201.019] (==) FBDEV(0): DPMS enabled
[ 72201.020] (==) RandR enabled
[ 72201.110] (II) AIGLX: Screen 0 is not DRI2 capable
[ 72201.110] (II) AIGLX: Screen 0 is not DRI capable
[ 72201.354] (II) AIGLX: Loaded and initialized swrast
[ 72201.354] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 72201.795] (II) config/udev: Adding input device N-Trig Pen (/dev/input/event1)
[ 72201.795] (**) N-Trig Pen: Applying InputClass "evdev tablet catchall"
[ 72201.796] (II) LoadModule: "evdev"
[ 72201.797] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 72201.799] (II) Module evdev: vendor="X.Org Foundation"
[ 72201.799] compiled for 1.14.3, module version = 2.8.2
[ 72201.799] Module class: X.Org XInput Driver
[ 72201.800] ABI class: X.Org XInput driver, version 19.1
[ 72201.800] (II) Using input driver 'evdev' for 'N-Trig Pen'
[ 72201.800] (**) N-Trig Pen: always reports core events
[ 72201.800] (**) evdev: N-Trig Pen: Device: "/dev/input/event1"
[ 72201.801] (--) evdev: N-Trig Pen: Vendor 0x1b96 Product 0x7
[ 72201.801] (--) evdev: N-Trig Pen: Found 1 mouse buttons
[ 72201.802] (--) evdev: N-Trig Pen: Found absolute axes
[ 72201.802] (--) evdev: N-Trig Pen: Found x and y absolute axes
[ 72201.802] (--) evdev: N-Trig Pen: Found absolute tablet.
[ 72201.802] (II) evdev: N-Trig Pen: Configuring as tablet
[ 72201.803] (**) evdev: N-Trig Pen: YAxisMapping: buttons 4 and 5
[ 72201.803] (**) evdev: N-Trig Pen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 72201.803] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1/event1"
[ 72201.803] (II) XINPUT: Adding extended input device "N-Trig Pen" (type: TABLET, id 6)
[ 72201.804] (II) evdev: N-Trig Pen: initialized for absolute axes.
[ 72201.806] (**) N-Trig Pen: (accel) keeping acceleration scheme 1
[ 72201.807] (**) N-Trig Pen: (accel) acceleration profile 0
[ 72201.807] (**) N-Trig Pen: (accel) acceleration factor: 2.000
[ 72201.807] (**) N-Trig Pen: (accel) acceleration threshold: 4
[ 72201.811] (II) config/udev: Adding input device N-Trig Pen (/dev/input/mouse0)
[ 72201.811] (II) No input driver specified, ignoring this device.
[ 72201.812] (II) This device may have been added with another device file.
[ 72201.815] (II) config/udev: Adding input device N-Trig MultiTouch (/dev/input/event2)
[ 72201.816] (**) N-Trig MultiTouch: Applying InputClass "evdev touchscreen catchall"
[ 72201.816] (II) Using input driver 'evdev' for 'N-Trig MultiTouch'
[ 72201.816] (**) N-Trig MultiTouch: always reports core events
[ 72201.817] (**) evdev: N-Trig MultiTouch: Device: "/dev/input/event2"
[ 72201.817] (II) evdev: N-Trig MultiTouch: Using mtdev for this device
[ 72201.818] (--) evdev: N-Trig MultiTouch: Vendor 0x1b96 Product 0x7
[ 72201.818] (--) evdev: N-Trig MultiTouch: Found absolute axes
[ 72201.818] (--) evdev: N-Trig MultiTouch: Found absolute multitouch axes
[ 72201.818] (II) evdev: N-Trig MultiTouch: No buttons found, faking one.
[ 72201.818] (--) evdev: N-Trig MultiTouch: Found x and y absolute axes
[ 72201.819] (--) evdev: N-Trig MultiTouch: Found absolute touchscreen
[ 72201.819] (II) evdev: N-Trig MultiTouch: Configuring as touchscreen
[ 72201.819] (**) evdev: N-Trig MultiTouch: YAxisMapping: buttons 4 and 5
[ 72201.819] (**) evdev: N-Trig MultiTouch: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 72201.819] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input2/event2"
[ 72201.820] (II) XINPUT: Adding extended input device "N-Trig MultiTouch" (type: TOUCHSCREEN, id 7)
[ 72201.821] (II) evdev: N-Trig MultiTouch: initialized for absolute axes.
[ 72201.823] (**) N-Trig MultiTouch: (accel) keeping acceleration scheme 1
[ 72201.823] (**) N-Trig MultiTouch: (accel) acceleration profile 0
[ 72201.823] (**) N-Trig MultiTouch: (accel) acceleration factor: 2.000
[ 72201.823] (**) N-Trig MultiTouch: (accel) acceleration threshold: 4
[ 72201.827] (II) config/udev: Adding input device N-Trig MultiTouch (/dev/input/mouse1)
[ 72201.827] (II) No input driver specified, ignoring this device.
[ 72201.827] (II) This device may have been added with another device file.
[ 72201.832] (II) config/udev: Adding input device N-Trig Touchscreen (/dev/input/event3)
[ 72201.833] (**) N-Trig Touchscreen: Applying InputClass "evdev touchscreen catchall"
[ 72201.833] (II) Using input driver 'evdev' for 'N-Trig Touchscreen'
[ 72201.833] (**) N-Trig Touchscreen: always reports core events
[ 72201.833] (**) evdev: N-Trig Touchscreen: Device: "/dev/input/event3"
[ 72201.834] (--) evdev: N-Trig Touchscreen: Vendor 0x1b96 Product 0x7
[ 72201.834] (--) evdev: N-Trig Touchscreen: Found absolute axes
[ 72201.835] (--) evdev: N-Trig Touchscreen: Found x and y absolute axes
[ 72201.835] (--) evdev: N-Trig Touchscreen: Found absolute touchscreen
[ 72201.835] (II) evdev: N-Trig Touchscreen: Configuring as touchscreen
[ 72201.835] (**) evdev: N-Trig Touchscreen: YAxisMapping: buttons 4 and 5
[ 72201.836] (**) evdev: N-Trig Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 72201.836] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input3/event3"
[ 72201.836] (II) XINPUT: Adding extended input device "N-Trig Touchscreen" (type: TOUCHSCREEN, id 8)
[ 72201.837] (II) evdev: N-Trig Touchscreen: initialized for absolute axes.
[ 72201.838] (**) N-Trig Touchscreen: (accel) keeping acceleration scheme 1
[ 72201.838] (**) N-Trig Touchscreen: (accel) acceleration profile 0
[ 72201.839] (**) N-Trig Touchscreen: (accel) acceleration factor: 2.000
[ 72201.839] (**) N-Trig Touchscreen: (accel) acceleration threshold: 4
[ 72201.843] (II) config/udev: Adding input device N-Trig Touchscreen (/dev/input/mouse2)
[ 72201.843] (II) No input driver specified, ignoring this device.
[ 72201.844] (II) This device may have been added with another device file.
[ 72201.848] (II) config/udev: Adding input device Microsoft Wired Keyboard 400 (/dev/input/event0)
[ 72201.848] (**) Microsoft Wired Keyboard 400: Applying InputClass "evdev keyboard catchall"
[ 72201.849] (II) Using input driver 'evdev' for 'Microsoft Wired Keyboard 400'
[ 72201.849] (**) Microsoft Wired Keyboard 400: always reports core events
[ 72201.849] (**) evdev: Microsoft Wired Keyboard 400: Device: "/dev/input/event0"
[ 72201.849] (--) evdev: Microsoft Wired Keyboard 400: Vendor 0x45e Product 0x752
[ 72201.850] (--) evdev: Microsoft Wired Keyboard 400: Found keys
[ 72201.850] (II) evdev: Microsoft Wired Keyboard 400: Configuring as keyboard
[ 72201.850] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0/event0"
[ 72201.851] (II) XINPUT: Adding extended input device "Microsoft Wired Keyboard 400" (type: KEYBOARD, id 9)
[ 72201.851] (**) Option "xkb_rules" "evdev"
[ 72201.851] (**) Option "xkb_model" "pc104"
[ 72201.851] (**) Option "xkb_layout" "us"
[ 72202.193] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 72202.264] (II) evdev: Microsoft Wired Keyboard 400: Close
[ 72202.264] (II) UnloadModule: "evdev"
[ 72202.265] (II) evdev: N-Trig Touchscreen: Close
[ 72202.265] (II) UnloadModule: "evdev"
[ 72202.265] (II) evdev: N-Trig MultiTouch: Close
[ 72202.265] (II) UnloadModule: "evdev"
[ 72202.266] (II) evdev: N-Trig Pen: Close
[ 72202.266] (II) UnloadModule: "evdev"
[ 72202.296] (EE) Server terminated successfully (0). Closing log file.
')

This looks interesting: [ 72202.193] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
pornex
 
Posts: 10
Joined: Sun Nov 03, 2013 11:38 pm

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby sdjf » Fri Nov 08, 2013 8:04 pm

In configuring my conf file for different device (displaylink) I used the conf file found on following page as a template. It was very hard to find a complete example, and his was the best I found. Is not your setup, but at least the sections are all there:

http://documentation.red-e.eu/salor-adm ... ylink.html

And the layout section I am using (edit to fit your situation) which is the very first section of the file is as follows: $this->bbcode_second_pass_code('', '
Section "ServerLayout"
Identifier "displaylink"
Screen "DisplayLinkScreen"
InputDevice "Mouse0"
EndSection ')

You might google around for what to call your input device since it is touchscreen. I pretty much copied his example and added stuff specific to my setup, and put it in as 20-displaylink.conf since it was for displaylink. Looks to me like since you did not declare things, they are reverting to evdev since that is the fallback catchall xorg driver.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby pornex » Sun Nov 10, 2013 4:19 pm

Hey,

was a bit offline the last days. I'll give 'em a try, to figure out a proper solution. Let yout know, if something gonna help (or not) me during the next days :-).

thanks guys.
pornex
 
Posts: 10
Joined: Sun Nov 03, 2013 11:38 pm

Re: Raspi with Touchscreen: startx results in "no screens fo

Postby pornex » Sun Nov 10, 2013 11:15 pm

Hey Guys,

I got it. Just checked my home dir /root and found a file called ~/.xinitrc.bak. As I was wondering about the file ending, I trimmed the .bak and started again. All worked fine :roll:

For completeness, this is my .xinitrc:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# cat .xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

# exec gnome-session
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice
')

This is my working xorg.conf
$this->bbcode_second_pass_quote('', '[')root@alarmpi ~]# cat /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
EndSection

Section "Device"
Identifier "Device0"
Driver "fbdev" #Choose the driver used for this monitor
EndSection

Section "Screen"
Identifier "Screen0" #Collapse Monitor and Device section to Screen section
Device "Device0"
Monitor "Monitor0"
DefaultDepth 16 #Choose the depth (16||24)
SubSection "Display"
Depth 16
Modes "1024x768_75.00" #Choose the resolution
EndSubSection
EndSection


Thanks for your help :-)
pornex
 
Posts: 10
Joined: Sun Nov 03, 2013 11:38 pm

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests