Date: Mon, 23 May 2016 21:05:56 -0300 From: =?UTF-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br> To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: xorg broken on Beaglebone black revision 300438 Message-ID: <a6b7588a-8da0-0d37-b1f0-611820db25cc@bsd.com.br>
next in thread | raw e-mail | index | archive | help
Dears Yesterday I build a new image with the revision 300438 to my Beaglebone black. I'm using the same package of scfb and configuration to xorg, but, with this new revision, xcfe do not works. After open xfce the mouse stucks on the top left corner and panels shows black belts and squares on chars. I did a small modification on the kernel but is not clear to me that this can cause this erroneous behavior. The modification, xorg.conf, and Xlog from revision r298522 (works) and revision 300438 (don't works). If you agree I will open a bug. Index: sys/arm/arm/locore-v6.S =================================================================== --- sys/arm/arm/locore-v6.S (revision 300438) +++ sys/arm/arm/locore-v6.S (working copy) @@ -134,8 +134,8 @@ bic r7, #CPU_CONTROL_IC_ENABLE bic r7, #CPU_CONTROL_BPRD_ENABLE bic r7, #CPU_CONTROL_SW_ENABLE - orr r7, #CPU_CONTROL_UNAL_ENABLE - orr r7, #CPU_CONTROL_AFLT_ENABLE + bic r7, #CPU_CONTROL_UNAL_ENABLE + bic r7, #CPU_CONTROL_AFLT_ENABLE orr r7, #CPU_CONTROL_VECRELOC mcr CP15_SCTLR(r7) DSB @@ -458,8 +458,8 @@ bic r0, #CPU_CONTROL_IC_ENABLE bic r0, #CPU_CONTROL_BPRD_ENABLE bic r0, #CPU_CONTROL_SW_ENABLE - orr r0, #CPU_CONTROL_UNAL_ENABLE - orr r0, #CPU_CONTROL_AFLT_ENABLE + bic r0, #CPU_CONTROL_UNAL_ENABLE + bic r0, #CPU_CONTROL_AFLT_ENABLE orr r0, #CPU_CONTROL_VECRELOC mcr CP15_SCTLR(r0) DSB ==========xorg.conf================= Section "Files" FontPath "/usr/local/share/fonts/75dpi/" FontPath "/usr/local/share/fonts/100dpi/" FontPath "/usr/local/share/fonts/dejavu/" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/share/fonts/misc/" FontPath "/usr/local/share/fonts/TTF/" FontPath "/usr/local/share/fonts/OTF/" FontPath "/usr/local/share/fonts/Type1/" FontPath "/usr/local/share/fonts/Droid/" FontPath "/usr/local/share/fonts/Lohit/" EndSection Section "Module" Load "dbe" Disable "dri" Disable "dri2" Disable "glx" Load "freetype" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "ServerFlags" Option "AIGLX" "false" Option "NoAccel" "True" Option "NoDRI" "True" Option "DRI" "False" Option "DRI2" "False" Option "DontZap" "false" Option "BlankTime" "1" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbLayout" "br" # ? Option "ZAxisMapping" "4 5" #Rad an Maus Option "XkbVariant" "nodeadkeys" #? Option "XkbModel" "pc105" #? Option "XkbRules" "xorg" # Option "XkbCompat" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" Identifier "Monitor" Option "DPMS" "true" EndSection Section "Device" Identifier "Generic FB" Driver "scfb" Option "NoAccel" "True" # Option "ShadowFB" "False" # EndSection Section "Screen" Identifier "Screen" Device "Generic FB" Monitor "Monitor" SubSection "Display" Depth 16 EndSubsection EndSection Section "ServerLayout" Identifier "layout" Screen 0 "Screen" 0 0 InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" Option "AutoAddDevices" "false" # Stellt altes Verhalten wieder her!! EndSection ================================== % cat Xorg.0.log_r298522 [ 31.094] X.Org X Server 1.17.4 Release Date: 2015-10-28 [ 31.094] X Protocol Version 11, Revision 0 [ 31.094] Build Operating System: FreeBSD 11.0-CURRENT arm [ 31.095] Current Operating System: FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r298522: Tue Apr 26 00:00:01 BRT 2016 ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG arm [ 31.097] Build Date: 29 April 2016 04:09:50AM [ 31.098] [ 31.098] Current version of pixman: 0.34.0 [ 31.098] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 31.098] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 31.099] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 23 22:49:35 2016 [ 31.126] (==) Using config file: "/etc/X11/xorg.conf" [ 31.130] (==) ServerLayout "layout" [ 31.130] (**) |-->Screen "Screen" (0) [ 31.130] (**) | |-->Monitor "Monitor" [ 31.136] (**) | |-->Device "Generic FB" [ 31.136] (**) |-->Input Device "Mouse1" [ 31.136] (**) |-->Input Device "Keyboard1" [ 31.136] (**) Option "DontZap" "false" [ 31.137] (**) Option "BlankTime" "1" [ 31.137] (**) Option "AIGLX" "false" [ 31.137] (**) Option "AutoAddDevices" "false" [ 31.137] (**) Option "DRI2" "False" [ 31.137] (**) Not automatically adding devices [ 31.138] (==) Automatically enabling devices [ 31.138] (==) Not automatically adding GPU devices [ 31.183] (WW) The directory "/usr/local/share/fonts/Droid/" does not exist. [ 31.183] Entry deleted from font path. [ 31.183] (WW) The directory "/usr/local/share/fonts/Lohit/" does not exist. [ 31.183] Entry deleted from font path. [ 31.186] (**) FontPath set to: /usr/local/share/fonts/75dpi/, /usr/local/share/fonts/100dpi/, /usr/local/share/fonts/dejavu/, /usr/local/share/fonts/misc/, /usr/local/share/fonts/TTF/, /usr/local/share/fonts/OTF/, /usr/local/share/fonts/Type1/, /usr/local/share/fonts/misc/, /usr/local/share/fonts/TTF/, /usr/local/share/fonts/OTF/, /usr/local/share/fonts/Type1/, /usr/local/share/fonts/100dpi/, /usr/local/share/fonts/75dpi/ [ 31.186] (**) ModulePath set to "/usr/local/lib/xorg/modules" [ 31.186] (II) Loader magic: 0x218494 [ 31.186] (II) Module ABI versions: [ 31.186] X.Org ANSI C Emulation: 0.4 [ 31.186] X.Org Video Driver: 19.0 [ 31.186] X.Org XInput driver : 21.0 [ 31.186] X.Org Server Extension : 9.0 [ 31.193] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere. [ 31.193] (WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere. [ 31.193] (WW) "glx" will not be loaded unless you've specified it to be loaded elsewhere. [ 31.193] (II) "glx" will be loaded even though the default is to disable it. [ 31.193] (II) LoadModule: "dbe" [ 31.194] (II) Module "dbe" already built-in [ 31.194] (II) LoadModule: "extmod" [ 31.194] (II) Module "extmod" already built-in [ 31.194] (II) LoadModule: "scfb" [ 31.203] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so [ 31.207] (II) Module scfb: vendor="X.Org Foundation" [ 31.207] compiled for 1.17.4, module version = 0.0.4 [ 31.207] ABI class: X.Org Video Driver, version 19.0 [ 31.207] (II) LoadModule: "mouse" [ 31.218] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 31.226] (II) Module mouse: vendor="X.Org Foundation" [ 31.226] compiled for 1.17.4, module version = 1.9.1 [ 31.227] Module class: X.Org XInput Driver [ 31.227] ABI class: X.Org XInput driver, version 21.0 [ 31.227] (II) LoadModule: "kbd" [ 31.233] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so [ 31.237] (II) Module kbd: vendor="X.Org Foundation" [ 31.237] compiled for 1.17.4, module version = 1.8.1 [ 31.237] Module class: X.Org XInput Driver [ 31.237] ABI class: X.Org XInput driver, version 21.0 [ 31.238] (II) scfb: driver for wsdisplay framebuffer: scfb [ 31.240] (--) Using syscons driver with X support (version 2.0) [ 31.240] (--) using VT number 2 [ 31.240] (WW) Falling back to old probe method for scfb [ 31.241] scfb trace: probe start [ 31.241] (II) scfb(0): using default device [ 31.241] scfb trace: probe done [ 31.241] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 31.242] scfb: PreInit 0 [ 31.242] (II) scfb(0): Using: depth (16), width (1440), height (900) [ 31.242] (==) scfb(0): Depth 16, (==) framebuffer bpp 16 [ 31.242] (==) scfb(0): RGB weight 565 [ 31.242] (==) scfb(0): Default visual is TrueColor [ 31.242] (==) scfb(0): Using gamma correction (1.0, 1.0, 1.0) [ 31.242] (II) scfb(0): Vidmem: 2531k [ 31.243] (==) scfb(0): DPI set to (96, 96) [ 31.243] (**) scfb(0): Using "Shadow Framebuffer" [ 31.243] (II) Loading sub module "shadow" [ 31.243] (II) LoadModule: "shadow" [ 31.247] (II) Loading /usr/local/lib/xorg/modules/libshadow.so [ 31.250] (II) Module shadow: vendor="X.Org Foundation" [ 31.250] compiled for 1.17.4, module version = 1.1.0 [ 31.250] ABI class: X.Org ANSI C Emulation, version 0.4 [ 31.250] (II) Loading sub module "fb" [ 31.251] (II) LoadModule: "fb" [ 31.254] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 31.263] (II) Module fb: vendor="X.Org Foundation" [ 31.263] compiled for 1.17.4, module version = 1.0.0 [ 31.263] ABI class: X.Org ANSI C Emulation, version 0.4 [ 31.263] scfb: PreInit done [ 31.264] scfb: ScfbScreenInit 0 [ 31.264] bitsPerPixel=16, depth=16, defaultVisual=TrueColor mask: f800,7e0,1f, offset: 11,5,0 [ 31.264] mmap returns: addr 0x20d00000 len 0x279000, fd 4, off 0 [ 31.264] scfb: ScfbSave 0 [ 31.265] scfb: ScfbSave done [ 31.365] (==) scfb(0): Backing store enabled [ 31.371] scfb: ScfbScreenInit done [ 31.376] (==) RandR enabled [ 33.114] (II) Using input driver 'mouse' for 'Mouse1' [ 33.115] (**) Option "CorePointer" [ 33.115] (**) Mouse1: always reports core events [ 33.118] (**) Option "Protocol" "auto" [ 33.118] (**) Option "Device" "/dev/sysmouse" [ 33.118] (**) Mouse1: Protocol: "auto" [ 33.118] (**) Mouse1: always reports core events [ 33.119] (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 [ 33.119] (**) Mouse1: ZAxisMapping: buttons 4 and 5 [ 33.119] (**) Mouse1: Buttons: 5 [ 33.120] (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE, id 6) [ 33.121] (**) Mouse1: (accel) keeping acceleration scheme 1 [ 33.121] (**) Mouse1: (accel) acceleration profile 0 [ 33.121] (**) Mouse1: (accel) acceleration factor: 2.000 [ 33.121] (**) Mouse1: (accel) acceleration threshold: 4 [ 33.122] (II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0 [ 33.122] (II) Mouse1: SetupAuto: protocol is SysMouse [ 33.123] (II) Using input driver 'kbd' for 'Keyboard1' [ 33.123] (**) Option "CoreKeyboard" [ 33.123] (**) Keyboard1: always reports core events [ 33.123] (**) Keyboard1: always reports core events [ 33.124] (**) Option "Protocol" "standard" [ 33.124] (**) Option "XkbRules" "xorg" [ 33.124] (**) Option "XkbModel" "pc105" [ 33.124] (**) Option "XkbLayout" "br" [ 33.124] (**) Option "XkbVariant" "nodeadkeys" [ 33.125] (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD, id 7) [ 33.447] (II) config/devd: probing input devices... [ 33.448] (II) config/devd: adding input device (null) (/dev/kbdmux) [ 33.449] (II) AutoAddDevices is off - not adding device. [ 33.449] (II) config/devd: kbdmux is enabled, ignoring device ukbd0 [ 33.449] (II) config/devd: kbdmux is enabled, ignoring device ukbd1 [ 33.451] (II) config/devd: adding input device (null) (/dev/sysmouse) [ 33.451] (II) AutoAddDevices is off - not adding device. [ 33.452] (II) config/devd: device /dev/ums0 already opened [ 33.453] (II) config/devd: device /dev/ums1 already opened [ 33.459] scfb: SaveScreen 0 [ 33.459] scfb: SaveScreen done =====================bellow log for session that dont works=========== % cat Xorg.0.log [ 32.860] X.Org X Server 1.17.4 Release Date: 2015-10-28 [ 32.860] X Protocol Version 11, Revision 0 [ 32.860] Build Operating System: FreeBSD 11.0-CURRENT arm [ 32.861] Current Operating System: FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r300438M: Mon May 23 14:28:27 BRT 2016 ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG arm [ 32.863] Build Date: 29 April 2016 04:09:50AM [ 32.864] [ 32.864] Current version of pixman: 0.34.0 [ 32.864] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 32.864] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 32.865] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 23 22:57:12 2016 [ 32.890] (==) Using config file: "/etc/X11/xorg.conf" [ 32.895] (==) ServerLayout "layout" [ 32.895] (**) |-->Screen "Screen" (0) [ 32.895] (**) | |-->Monitor "Monitor" [ 32.901] (**) | |-->Device "Generic FB" [ 32.901] (**) |-->Input Device "Mouse1" [ 32.901] (**) |-->Input Device "Keyboard1" [ 32.902] (**) Option "DontZap" "false" [ 32.902] (**) Option "BlankTime" "1" [ 32.902] (**) Option "AIGLX" "false" [ 32.902] (**) Option "AutoAddDevices" "false" [ 32.902] (**) Option "DRI2" "False" [ 32.903] (**) Not automatically adding devices [ 32.903] (==) Automatically enabling devices [ 32.903] (==) Not automatically adding GPU devices [ 32.955] (WW) The directory "/usr/local/share/fonts/Lohit/" does not exist. [ 32.956] Entry deleted from font path. [ 32.958] (**) FontPath set to: /usr/local/share/fonts/75dpi/, /usr/local/share/fonts/100dpi/, /usr/local/share/fonts/dejavu/, /usr/local/share/fonts/misc/, /usr/local/share/fonts/TTF/, /usr/local/share/fonts/OTF/, /usr/local/share/fonts/Type1/, /usr/local/share/fonts/Droid/, /usr/local/share/fonts/misc/, /usr/local/share/fonts/TTF/, /usr/local/share/fonts/OTF/, /usr/local/share/fonts/Type1/, /usr/local/share/fonts/100dpi/, /usr/local/share/fonts/75dpi/ [ 32.958] (**) ModulePath set to "/usr/local/lib/xorg/modules" [ 32.958] (II) Loader magic: 0x218494 [ 32.958] (II) Module ABI versions: [ 32.959] X.Org ANSI C Emulation: 0.4 [ 32.959] X.Org Video Driver: 19.0 [ 32.959] X.Org XInput driver : 21.0 [ 32.959] X.Org Server Extension : 9.0 [ 32.965] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere. [ 32.965] (WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere. [ 32.965] (WW) "glx" will not be loaded unless you've specified it to be loaded elsewhere. [ 32.965] (II) "glx" will be loaded even though the default is to disable it. [ 32.965] (II) LoadModule: "dbe" [ 32.966] (II) Module "dbe" already built-in [ 32.966] (II) LoadModule: "extmod" [ 32.966] (II) Module "extmod" already built-in [ 32.966] (II) LoadModule: "scfb" [ 32.980] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so [ 32.985] (II) Module scfb: vendor="X.Org Foundation" [ 32.985] compiled for 1.17.4, module version = 0.0.4 [ 32.985] ABI class: X.Org Video Driver, version 19.0 [ 32.986] (II) LoadModule: "mouse" [ 32.998] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 33.009] (II) Module mouse: vendor="X.Org Foundation" [ 33.009] compiled for 1.17.4, module version = 1.9.1 [ 33.009] Module class: X.Org XInput Driver [ 33.009] ABI class: X.Org XInput driver, version 21.0 [ 33.009] (II) LoadModule: "kbd" [ 33.016] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so [ 33.020] (II) Module kbd: vendor="X.Org Foundation" [ 33.020] compiled for 1.17.4, module version = 1.8.1 [ 33.021] Module class: X.Org XInput Driver [ 33.021] ABI class: X.Org XInput driver, version 21.0 [ 33.022] (II) scfb: driver for wsdisplay framebuffer: scfb [ 33.023] (--) Using syscons driver with X support (version 2.0) [ 33.024] (--) using VT number 2 [ 33.024] (WW) Falling back to old probe method for scfb [ 33.025] scfb trace: probe start [ 33.025] (II) scfb(0): using default device [ 33.025] scfb trace: probe done [ 33.025] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 33.025] scfb: PreInit 0 [ 33.026] (II) scfb(0): Using: depth (16), width (1440), height (900) [ 33.026] (==) scfb(0): Depth 16, (==) framebuffer bpp 16 [ 33.026] (==) scfb(0): RGB weight 565 [ 33.026] (==) scfb(0): Default visual is TrueColor [ 33.026] (==) scfb(0): Using gamma correction (1.0, 1.0, 1.0) [ 33.026] (II) scfb(0): Vidmem: 2531k [ 33.026] (==) scfb(0): DPI set to (96, 96) [ 33.026] (**) scfb(0): Using "Shadow Framebuffer" [ 33.027] (II) Loading sub module "shadow" [ 33.027] (II) LoadModule: "shadow" [ 33.031] (II) Loading /usr/local/lib/xorg/modules/libshadow.so [ 33.036] (II) Module shadow: vendor="X.Org Foundation" [ 33.036] compiled for 1.17.4, module version = 1.1.0 [ 33.036] ABI class: X.Org ANSI C Emulation, version 0.4 [ 33.036] (II) Loading sub module "fb" [ 33.036] (II) LoadModule: "fb" [ 33.040] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 33.050] (II) Module fb: vendor="X.Org Foundation" [ 33.050] compiled for 1.17.4, module version = 1.0.0 [ 33.050] ABI class: X.Org ANSI C Emulation, version 0.4 [ 33.050] scfb: PreInit done [ 33.050] scfb: ScfbScreenInit 0 [ 33.051] bitsPerPixel=16, depth=16, defaultVisual=TrueColor mask: f800,7e0,1f, offset: 11,5,0 [ 33.051] mmap returns: addr 0x20d00000 len 0x279000, fd 4, off 0 [ 33.051] scfb: ScfbSave 0 [ 33.051] scfb: ScfbSave done [ 33.153] (==) scfb(0): Backing store enabled [ 33.159] scfb: ScfbScreenInit done [ 33.164] (==) RandR enabled [ 35.020] (II) Using input driver 'mouse' for 'Mouse1' [ 35.021] (**) Option "CorePointer" [ 35.021] (**) Mouse1: always reports core events [ 35.021] (**) Option "Protocol" "auto" [ 35.021] (**) Option "Device" "/dev/sysmouse" [ 35.021] (**) Mouse1: Protocol: "auto" [ 35.022] (**) Mouse1: always reports core events [ 35.022] (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 [ 35.023] (**) Mouse1: ZAxisMapping: buttons 4 and 5 [ 35.023] (**) Mouse1: Buttons: 5 [ 35.023] (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE, id 6) [ 35.024] (**) Mouse1: (accel) keeping acceleration scheme 1 [ 35.024] (**) Mouse1: (accel) acceleration profile 0 [ 35.024] (**) Mouse1: (accel) acceleration factor: 2.000 [ 35.024] (**) Mouse1: (accel) acceleration threshold: 4 [ 35.025] (II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0 [ 35.025] (II) Mouse1: SetupAuto: protocol is SysMouse [ 35.026] (II) Using input driver 'kbd' for 'Keyboard1' [ 35.026] (**) Option "CoreKeyboard" [ 35.026] (**) Keyboard1: always reports core events [ 35.027] (**) Keyboard1: always reports core events [ 35.027] (**) Option "Protocol" "standard" [ 35.027] (**) Option "XkbRules" "xorg" [ 35.027] (**) Option "XkbModel" "pc105" [ 35.028] (**) Option "XkbLayout" "br" [ 35.028] (**) Option "XkbVariant" "nodeadkeys" [ 35.028] (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD, id 7) [ 35.426] (II) config/devd: probing input devices... [ 35.428] (II) config/devd: adding input device (null) (/dev/kbdmux) [ 35.428] (II) AutoAddDevices is off - not adding device. [ 35.428] (II) config/devd: kbdmux is enabled, ignoring device ukbd0 [ 35.428] (II) config/devd: kbdmux is enabled, ignoring device ukbd1 [ 35.430] (II) config/devd: adding input device (null) (/dev/sysmouse) [ 35.430] (II) AutoAddDevices is off - not adding device. [ 35.431] (II) config/devd: device /dev/ums0 already opened [ 35.431] (II) config/devd: device /dev/ums1 already opened [ 35.437] scfb: SaveScreen 0 [ 35.437] scfb: SaveScreen done []'s -OtacĂlio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6b7588a-8da0-0d37-b1f0-611820db25cc>