Slow mouse cursor on 4.14 kernel

Test and fix the Kernel 4.14 features

Moderators: mdrjr, odroid

Slow mouse cursor on 4.14 kernel

Unread postby Brian.K » Fri Nov 03, 2017 11:42 am

This issue looks like to be fixed by @crashoverride. But, I created this thread to distinguish by topic. Please comment in this thread about the 'Slow mouse cursor on 4.14 kernel'.

ref> viewtopic.php?f=146&t=28895#p205782
Code: Select all
$ sudo apt install xorg-dev libdrm-dev xutils-dev libtool git libtool-bin
$ git clone https://github.com/OtherCrashOverride/xf86-video-armsoc.git -b xu4
$ cd xf86-video-armsoc/
$ ./autogen.sh
$ nano src/armsoc_exa_exynos.c
(Modify the header files path)
$ nano src/exynos_fimg2d.c
(Modify the header files path)
$ $ git diff
diff --git a/src/armsoc_exa_exynos.c b/src/armsoc_exa_exynos.c
index 8a7ae71..a6dd85e 100755
--- a/src/armsoc_exa_exynos.c
+++ b/src/armsoc_exa_exynos.c
@@ -39,8 +39,8 @@
 
 /* Exynose G2D */
 #define __user
-#include <uapi/drm/drm.h>
-#include <uapi/drm/exynos_drm.h>
+#include <drm/drm.h>
+#include <drm/exynos_drm.h>
 #include "exynos_fimg2d.h"
 
 /* This file has a trivial EXA implementation which accelerates nothing.  It
diff --git a/src/exynos_fimg2d.c b/src/exynos_fimg2d.c
index a078472..bcea907 100755
--- a/src/exynos_fimg2d.c
+++ b/src/exynos_fimg2d.c
@@ -30,8 +30,8 @@
 
 //#include "libdrm_macros.h"
 //#include "exynos_drm.h"
-#include <uapi/drm/drm.h>
-#include <uapi/drm/exynos_drm.h>
+#include <drm/drm.h>
+#include <drm/exynos_drm.h>
 #include "fimg2d_reg.h"
 #include "exynos_fimg2d.h"

$ ./configure --prefix=/usr --x-includes=/usr/include
$ make
$ sudo make install

After that, delete "/etc/X11/xorg.conf.d/exynos.conf" file and add the Option "NoHardwareMouse" "true" line into the '/etc/X11/xorg.conf' file as crashoverride's comment.
Restart lightdm. That's all.
User avatar
Brian.K
 
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
Location: South Korea
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Fri Nov 03, 2017 2:10 pm

Yes, it fixed the slow mouse cursor issue. :D
Thank you for sharing nice guide.
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby moon.linux » Fri Nov 03, 2017 2:16 pm

I get this following build error.
Code: Select all
root@odroid:~# rm -rf xf86-video-armsoc/
root@odroid:~# git clone https://github.com/OtherCrashOverride/xf86-video-armsoc                                                                     .git -b xu4
Cloning into 'xf86-video-armsoc'...
remote: Counting objects: 1448, done.
remote: Total 1448 (delta 0), reused 0 (delta 0), pack-reused 1448
Receiving objects: 100% (1448/1448), 314.52 KiB | 117.00 KiB/s, done.
Resolving deltas: 100% (1076/1076), done.
Checking connectivity... done.
root@odroid:~# cd xf86-video-armsoc/
root@odroid:~/xf86-video-armsoc# ls
autogen.sh  configure.ac  COPYING  Makefile.am  man  NEWS  README  src
root@odroid:~/xf86-video-armsoc# ./autogen.sh
./autogen.sh: 17: ./autogen.sh: --copy: not found
./configure --enable-maintainer-mode
./autogen.sh: 27: ./autogen.sh: ./configure: not found
  configure failed
root@odroid:~/xf86-video-armsoc#
moon.linux
 
Posts: 971
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Fri Nov 03, 2017 2:20 pm

Try "xu4" branch as explained in Brian's guide.
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby moon.linux » Fri Nov 03, 2017 2:48 pm

If this fix the issue it's good. But it could not build this tool even though I have installed the all the dependent package.
I have tried this on two different machine and the result are the same.
Code: Select all
root@odroid:~# sudo apt install xorg-dev libdrm-dev xutils-dev automake autoconf
root@odroid:~# git clone https://github.com/OtherCrashOverride/xf86-video-armsoc.git -b xu4
Cloning into 'xf86-video-armsoc'...
remote: Counting objects: 1448, done.
remote: Total 1448 (delta 0), reused 0 (delta 0), pack-reused 1448
Receiving objects: 100% (1448/1448), 314.52 KiB | 103.00 KiB/s, done.
Resolving deltas: 100% (1076/1076), done.
Checking connectivity... done.
root@odroid:~# cd xf86-video-armsoc/
root@odroid:~/xf86-video-armsoc# ./autogen.sh
aclocal: warning: couldn't open directory 'm4': No such file or directory
./autogen.sh: 17: ./autogen.sh: --copy: not found
./configure --enable-maintainer-mode
./autogen.sh: 27: ./autogen.sh: ./configure: not found
  configure failed
root@odroid:~/xf86-video-armsoc#
moon.linux
 
Posts: 971
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Fri Nov 03, 2017 2:56 pm

I had no issue while running "autogen.sh". You might have a problem with "libtool" package.
Code: Select all
$ git clone https://github.com/OtherCrashOverride/xf86-video-armsoc.git -b xu4
Cloning into 'xf86-video-armsoc'...                                                                                                               
remote: Counting objects: 1448, done.                                                                                                             
remote: Total 1448 (delta 0), reused 0 (delta 0), pack-reused 1448                                                                                 
Receiving objects: 100% (1448/1448), 314.52 KiB | 132.00 KiB/s, done.                                                                             
Resolving deltas: 100% (1076/1076), done.                                                                                                         
Checking connectivity... done.                                                                                                                     
odroid@odroid:~/armsoc$ cd xf86-video-armsoc/                                                                                                     
odroid@odroid:~/armsoc/xf86-video-armsoc$ ./autogen.sh                                                                                             
aclocal: warning: couldn't open directory 'm4': No such file or directory                                                                         
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.                                                                                     
libtoolize: copying file './ltmain.sh'                                                                                                             
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.                                                                                         
libtoolize: copying file 'm4/libtool.m4'                                                                                                           
libtoolize: copying file 'm4/ltoptions.m4'                                                                                                         
libtoolize: copying file 'm4/ltsugar.m4'                                                                                                           
libtoolize: copying file 'm4/ltversion.m4'                                                                                                         
libtoolize: copying file 'm4/lt~obsolete.m4'                                                                                                       
configure.ac:43: installing './compile'                                                                                                           
configure.ac:43: installing './config.guess'                                                                                                       
configure.ac:43: installing './config.sub'                                                                                                         
configure.ac:35: installing './install-sh'                                                                                                         
configure.ac:35: installing './missing'                                                                                                           
src/Makefile.am:43: warning: source file 'drmmode_exynos/drmmode_exynos.c' is in a subdirectory,                                                   
src/Makefile.am:43: but option 'subdir-objects' is disabled                                                                                       
automake: warning: possible forward-incompatibility.                                                                                               
automake: At least a source file is in a subdirectory, but the 'subdir-objects'                                                                   
automake: automake option hasn't been enabled.  For now, the corresponding output                                                                 
automake: object file(s) will be placed in the top-level directory.  However,                                                                     
automake: this behaviour will change in future Automake versions: they will                                                                       
automake: unconditionally cause object files to be placed in the same subdirectory                                                                 
automake: of the corresponding sources.                                                                                                           
automake: You are advised to start using 'subdir-objects' option throughout your                                                                   
automake: project, to avoid future incompatibilities.                                                                                             
src/Makefile.am:43: warning: source file 'drmmode_pl111/drmmode_pl111.c' is in a subdirectory,                                                     
src/Makefile.am:43: but option 'subdir-objects' is disabled                                                                                       
src/Makefile.am:43: warning: source file 'drmmode_kirin/drmmode_kirin.c' is in a subdirectory,                                                     
src/Makefile.am:43: but option 'subdir-objects' is disabled                                                                                       
src/Makefile.am:43: warning: source file 'drmmode_sti/drmmode_sti.c' is in a subdirectory,                                                         
src/Makefile.am:43: but option 'subdir-objects' is disabled                                                                                       
src/Makefile.am: installing './depcomp'                                                                                                           
./configure --enable-maintainer-mode                                                                                                               
checking for a BSD-compatible install... /usr/bin/install -c                                                                                       
checking whether build environment is sane... yes                                                                                                 
checking for a thread-safe mkdir -p... /bin/mkdir -p                                                                                               
checking for gawk... gawk                                                                                                                         
checking whether make sets $(MAKE)... yes                                                                                                         
checking whether make supports nested variables... yes                                                                                             
checking whether to enable maintainer-specific portions of Makefiles... yes                                                                       
checking for style of include used by make... GNU                                                                                                 
checking for gcc... gcc                                                                                                                           
checking whether the C compiler works... yes                                                                                                       
checking for C compiler default output file name... a.out                                                                                         
checking for suffix of executables...                                                                                                             
checking whether we are cross compiling... no                                                                                                     
checking for suffix of object files... o                                                                                                           
checking whether we are using the GNU C compiler... yes                                                                                           
checking whether gcc accepts -g... yes                                                                                                             
checking for gcc option to accept ISO C89... none needed                                                                                           
checking whether gcc understands -c and -o together... yes                                                                                         
checking dependency style of gcc... gcc3                                                                                                           
checking for gcc option to accept ISO C99... none needed                                                                                           
checking how to run the C preprocessor... gcc -E                                                                                                   
checking for grep that handles long lines and -e... /bin/grep                                                                                     
checking for egrep... /bin/grep -E                                                                                                                 
checking for ANSI C header files... yes                                                                                                           
checking for sys/types.h... yes                                                                                                                   
checking for sys/stat.h... yes                                                                                                                     
checking for stdlib.h... yes                                                                                                                       
checking for string.h... yes                                                                                                                       
checking for memory.h... yes                                                                                                                       
checking for strings.h... yes                                                                                                                     
checking for inttypes.h... yes                                                                                                                     
checking for stdint.h... yes                                                                                                                       
checking for unistd.h... yes                                                                                                                       
checking whether __clang__ is declared... no                                                                                                       
checking whether __INTEL_COMPILER is declared... no                                                                                               
checking whether __SUNPRO_C is declared... no                                                                                                     
checking for pkg-config... /usr/bin/pkg-config                                                                                                     
checking pkg-config is at least version 0.9.0... yes                                                                                               
checking build system type... armv7l-unknown-linux-gnueabihf                                                                                       
checking host system type... armv7l-unknown-linux-gnueabihf                                                                                       
checking for a sed that does not truncate output... /bin/sed                                                                                       
checking if gcc supports -Werror=unknown-warning-option... no                                                                                     
checking if gcc supports -Werror=unused-command-line-argument... no                                                                               
checking if gcc supports -Wall... yes                                                                                                             
checking if gcc supports -Wpointer-arith... yes                                                                                                   
checking if gcc supports -Wmissing-declarations... yes                                                                                             
checking if gcc supports -Wformat=2... yes                                                                                                         
checking if gcc supports -Wstrict-prototypes... yes                                                                                               
checking if gcc supports -Wmissing-prototypes... yes                                                                                               
checking if gcc supports -Wnested-externs... yes                                                                                                   
checking if gcc supports -Wbad-function-cast... yes                                                                                               
checking if gcc supports -Wold-style-definition... yes                                                                                             
checking if gcc supports -Wdeclaration-after-statement... yes                                                                                     
checking if gcc supports -Wunused... yes                                                                                                           
checking if gcc supports -Wuninitialized... yes                                                                                                   
checking if gcc supports -Wshadow... yes                                                                                                           
checking if gcc supports -Wmissing-noreturn... yes                                                                                                 
checking if gcc supports -Wmissing-format-attribute... yes                                                                                         
checking if gcc supports -Wredundant-decls... yes                                                                                                 
checking if gcc supports -Wlogical-op... yes                                                                                                       
checking if gcc supports -Werror=implicit... yes                                                                                                   
checking if gcc supports -Werror=nonnull... yes                                                                                                   
checking if gcc supports -Werror=init-self... yes                                                                                                 
checking if gcc supports -Werror=main... yes                                                                                                       
checking if gcc supports -Werror=missing-braces... yes                                                                                             
checking if gcc supports -Werror=sequence-point... yes                                                                                             
checking if gcc supports -Werror=return-type... yes                                                                                               
checking if gcc supports -Werror=trigraphs... yes                                                                                                 
checking if gcc supports -Werror=array-bounds... yes                                                                                               
checking if gcc supports -Werror=write-strings... yes                                                                                             
checking if gcc supports -Werror=address... yes                                                                                                   
checking if gcc supports -Werror=int-to-pointer-cast... yes                                                                                       
checking if gcc supports -Werror=pointer-to-int-cast... yes                                                                                       
checking if gcc supports -pedantic... yes                                                                                                         
checking if gcc supports -Werror... yes                                                                                                           
checking if gcc supports -Werror=attributes... yes                                                                                                 
checking whether make supports nested variables... (cached) yes                                                                                   
checking how to print strings... printf                                                                                                           
checking for a sed that does not truncate output... (cached) /bin/sed                                                                             
checking for fgrep... /bin/grep -F                                                                                                                 
checking for ld used by gcc... /usr/bin/ld                                                                                                         
checking if the linker (/usr/bin/ld) is GNU ld... yes                                                                                             
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B                                                                             
checking the name lister (/usr/bin/nm -B) interface... BSD nm                                                                                     
checking whether ln -s works... yes                                                                                                               
checking the maximum length of command line arguments... 1572864                                                                                   
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop               
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop                                   
checking for /usr/bin/ld option to reload object files... -r                                                                                       
checking for objdump... objdump                                                                                                                   
checking how to recognize dependent libraries... pass_all                                                                                         
checking for dlltool... no                                                                                                                         
checking how to associate runtime and link libraries... printf %s\n                                                                               
checking for ar... ar                                                                                                                             
checking for archiver @FILE support... @                                                                                                           
checking for strip... strip                                                                                                                       
checking for ranlib... ranlib                                                                                                                     
checking command to parse /usr/bin/nm -B output from gcc object... ok                                                                             
checking for sysroot... no                                                                                                                         
checking for a working dd... /bin/dd                                                                                                               
checking how to truncate binary pipes... /bin/dd bs=4096 count=1                                                                                   
checking for mt... mt                                                                                                                             
checking if mt is a manifest tool... no                                                                                                           
checking for dlfcn.h... yes                                                                                                                       
checking for objdir... .libs                                                                                                                       
checking if gcc supports -fno-rtti -fno-exceptions... no                                                                                           
checking for gcc option to produce PIC... -fPIC -DPIC                                                                                             
checking if gcc PIC flag -fPIC -DPIC works... yes                                                                                                 
checking if gcc static flag -static works... yes                                                                                                   
checking if gcc supports -c -o file.o... yes                                                                                                       
checking if gcc supports -c -o file.o... (cached) yes                                                                                             
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes                                                                     
checking whether -lc should be explicitly linked in... no                                                                                         
checking dynamic linker characteristics... GNU/Linux ld.so                                                                                         
checking how to hardcode library paths into programs... immediate                                                                                 
checking whether stripping libraries is possible... yes                                                                                           
checking if libtool supports shared libraries... yes                                                                                               
checking whether to build shared libraries... yes                                                                                                 
checking whether to build static libraries... no                                                                                                   
checking for gcc... (cached) gcc                                                                                                                   
checking whether we are using the GNU C compiler... (cached) yes                                                                                   
checking whether gcc accepts -g... (cached) yes                                                                                                   
checking for gcc option to accept ISO C89... (cached) none needed                                                                                 
checking whether gcc understands -c and -o together... (cached) yes                                                                               
checking dependency style of gcc... (cached) gcc3                                                                                                 
checking sys/ioctl.h usability... yes                                                                                                             
checking sys/ioctl.h presence... yes                                                                                                               
checking for sys/ioctl.h... yes                                                                                                                   
checking for stdint.h... (cached) yes                                                                                                             
checking if RANDR is defined... yes                                                                                                               
checking if RENDER is defined... yes                                                                                                               
checking if DPMSExtension is defined... yes                                                                                                       
checking for XORG... yes                                                                                                                           
checking for XEXT... yes                                                                                                                           
checking for ANSI C header files... (cached) yes                                                                                                   
checking that generated files are newer than configure... done                                                                                     
configure: creating ./config.status                                                                                                               
config.status: creating Makefile                                                                                                                   
config.status: creating src/Makefile                                                                                                               
config.status: creating man/Makefile                                                                                                               
config.status: creating config.h                                                                                                                   
config.status: executing depfiles commands                                                                                                         
config.status: executing libtool commands                                                                                                         
Now type 'make' to compile
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby Snk » Tue Nov 14, 2017 8:52 am

How to proceed?

odroid@odroid:~$ cd xf86-video-armsoc/
odroid@odroid:~/xf86-video-armsoc$ ./autogen.sh
libtoolize: error: One of these is required:
libtoolize: gm4 gnum4 m4
libtoolize: error: Please install GNU M4, or 'export M4=/path/to/gnu/m4'.
./configure --enable-maintainer-mode
./autogen.sh: 27: ./autogen.sh: ./configure: not found
configure failed
odroid@odroid:~/xf86-video-armsoc$
User avatar
Snk
 
Posts: 256
Joined: Sun Jul 31, 2016 6:43 am
languages_spoken: Portuguese
ODROIDs: XU4 + eMMC 32GB + UART

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Tue Nov 14, 2017 9:53 am

Install m4 package with sudo apt install m4
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby Snk » Tue Nov 14, 2017 10:05 am

odroid wrote:Install m4 package with sudo apt install m4


I got the same error as @ moon.linux
User avatar
Snk
 
Posts: 256
Joined: Sun Jul 31, 2016 6:43 am
languages_spoken: Portuguese
ODROIDs: XU4 + eMMC 32GB + UART

Re: Slow mouse cursor on 4.14 kernel

Unread postby Snk » Tue Nov 14, 2017 10:14 am

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
./autogen.sh: 17: ./autogen.sh: --copy: not found
./configure --enable-maintainer-mode
./autogen.sh: 27: ./autogen.sh: ./configure: not found
configure failed
User avatar
Snk
 
Posts: 256
Joined: Sun Jul 31, 2016 6:43 am
languages_spoken: Portuguese
ODROIDs: XU4 + eMMC 32GB + UART

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Tue Nov 14, 2017 10:45 am

Did you install "libtool" package?
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby Snk » Tue Nov 14, 2017 10:54 am

odroid wrote:Did you install "libtool" package?


Code: Select all
libtool is already the newest version (2.4.6-0.1).
User avatar
Snk
 
Posts: 256
Joined: Sun Jul 31, 2016 6:43 am
languages_spoken: Portuguese
ODROIDs: XU4 + eMMC 32GB + UART

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Tue Nov 14, 2017 11:22 am

It is very hard to know what's wrong with your system.
We have a plan to release a trial image within a couple of days and you can try it if you can't fix the issue.
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby Snk » Tue Nov 14, 2017 11:31 am

odroid wrote:It is very hard to know what's wrong with your system.
We have a plan to release a trial image within a couple of days and you can try it if you can't fix the issue.
thank you so much!
I will look forward to this new system image.
still with this small problem in the mouse cursor, I already see that the system is more stable and faster than kernel 4.9

Enviado de meu SM-G900M usando Tapatalk
User avatar
Snk
 
Posts: 256
Joined: Sun Jul 31, 2016 6:43 am
languages_spoken: Portuguese
ODROIDs: XU4 + eMMC 32GB + UART

Re: Slow mouse cursor on 4.14 kernel

Unread postby maxt » Wed Nov 15, 2017 12:47 am

Snk wrote:
odroid wrote:Did you install "libtool" package?


Code: Select all
libtool is already the newest version (2.4.6-0.1).


It seems quite a common problem. Regarding the tentative solution we are having exactly the same behaviour and error messages here.
Looking forward for a new image.

BR
maxt
 
Posts: 3
Joined: Thu Nov 09, 2017 5:55 pm
languages_spoken: english
ODROIDs: ODROID-XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby mad_ady » Wed Nov 15, 2017 1:46 am

Try installing libtool-bin as well. libtool is split under ubuntu
User avatar
mad_ady
 
Posts: 3225
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Wed Nov 15, 2017 9:43 am

mad_ady wrote:Try installing libtool-bin as well. libtool is split under ubuntu

Yes! that package must solve the issue.
When I compiled other software, the package was installed accidentally.
I've updated OP.
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby chses910372 » Fri Nov 17, 2017 3:24 am

I still have the same errors even though I install all the packages like libtool-bin etc.

Code: Select all
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
./autogen.sh: 17: ./autogen.sh: --copy: not found
./configure --enable-maintainer-mode
./autogen.sh: 27: ./autogen.sh: ./configure: not found
  configure failed


Does it need to be installed under some specific path?
chses910372
 
Posts: 2
Joined: Mon Nov 13, 2017 5:59 am
languages_spoken: english
ODROIDs: XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Fri Nov 17, 2017 9:40 am

I have no idea since I can build it now.

Just install this deb package with sudo dpkg -i xserver-xorg-video-armsoc_1.4.1-0ubuntu6_armhf.deb and reboot.
https://dn.odroid.com/5422/ODROID-XU3/t ... _armhf.deb
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby phaseshifter » Fri Nov 17, 2017 12:19 pm

18.04 has no mouse issue from what i am seeing at present

although i did mod the X11..blah config file and i have not reverted it as thus far..

Code: Select all
odroid@odroid:~$ uname -a
Linux odroid 4.14.0-rc8+ #1 SMP PREEMPT Sat Nov 11 11:04:36 UTC 2017 armv7l armv7l armv7l GNU/Linux
odroid@odroid:~$ lsb_release -r -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu Bionic Beaver (development branch)
Release:   18.04
Codename:   bionic
odroid@odroid:~$
phaseshifter
 
Posts: 2678
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: c1+ ..c-2..xu3 lite,xu4.u-2..u-3..vu7,vu8,c-shell -II..c-shel-II,uart,hi-fi ,,hi-fi2,,show,w-board,6x16GB emmc`s 3.5 inch touch...other odroid acc`s as well

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Fri Nov 17, 2017 12:32 pm

Don't try 18.04 nor 17.10. It doesn't have any hardware acceleration.
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby chses910372 » Fri Nov 17, 2017 3:59 pm

odroid wrote:I have no idea since I can build it now.

Just install this deb package with sudo dpkg -i xserver-xorg-video-armsoc_1.4.1-0ubuntu6_armhf.deb and reboot.
https://dn.odroid.com/5422/ODROID-XU3/t ... _armhf.deb


Thank you very much, installing this package let mouse work properly.
chses910372
 
Posts: 2
Joined: Mon Nov 13, 2017 5:59 am
languages_spoken: english
ODROIDs: XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Fri Nov 17, 2017 4:03 pm

@chses910372
Thank you for the confirmation. :D
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby uDude » Tue Dec 12, 2017 4:59 am

For those of us that want to build it ourselves Brian.K has it right, but you will need libudev-dev also.

@Brian.K a complete dependency list for people with only the base image is:

Code: Select all
sudo apt install xorg-dev libdrm-dev xutils-dev libtool git m4 libtool-bin libudev-dev


@crashoverride Awesome. I would have been too lazy to find this one -- read I probably wouldn't have succeed. Sincerely appreciated.

Also note that @crashoverride has made the default branch "xu4".

uDude
uDude
 
Posts: 63
Joined: Mon Sep 15, 2014 7:32 am
languages_spoken: english
ODROIDs: 3 U3's,
2 XU3's,
5 C1's,
26 XU4's,
3 HC-1s

Re: Slow mouse cursor on 4.14 kernel

Unread postby crashoverride » Tue Dec 12, 2017 6:01 am

I am wondering why the DDX update has not been placed in the HK repo yet so that its available with "apt-get". It was developed for Kernel 4.9 so works 100% there too. The only change needed is the
Code: Select all
Option "NoHardwareMouse" "true"
in the xorg.conf file on Kernel 4.14 installations. However, the option also works in Kernel 4.9.
crashoverride
 
Posts: 3241
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: Slow mouse cursor on 4.14 kernel

Unread postby meveric » Tue Dec 12, 2017 8:16 am

Thanks to
Code: Select all
        Option          "NoG2D"                 "true"

It's even running under Kernel 3.10 but for some reason it's slower than the old version, at least when it comes to desktop performance and the cursor seems to blink even with NoHardwareMouse set to true.
Would be awesome if the package would work for 3.10, 4.9 and 4.14 at the same time without performance loss.
One Package to rule them all ;)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8200
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: Slow mouse cursor on 4.14 kernel

Unread postby memeka » Tue Dec 12, 2017 9:18 am

meveric wrote:Thanks to
Code: Select all
        Option          "NoG2D"                 "true"

It's even running under Kernel 3.10 but for some reason it's slower than the old version, at least when it comes to desktop performance and the cursor seems to blink even with NoHardwareMouse set to true.
Would be awesome if the package would work for 3.10, 4.9 and 4.14 at the same time without performance loss.
One Package to rule them all ;)


I don't think G2D is working on 3.10, or at least the API is not the same.
It's like saying "would be awesome if 4.x features would work on 3.x" - yeah it would, but not possible :) this is why we update, to have new features :))
and this is why the newer version is faster - cause G2D is working. Disabling it would make it compatible with 3.x, but it would also make it slower obviously :)
User avatar
memeka
 
Posts: 3854
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: Slow mouse cursor on 4.14 kernel

Unread postby meveric » Tue Dec 12, 2017 3:48 pm

umm you should read again.. the option says NOG2D... this means this options turns OFF G2D acceleration, which is exactly what is needed for Kernel 3.10.
Previous versions of the "new" armsoc driver ALWAYS used G2D and for that wouldn't run at all on 3.10. This one with the NoG2D option DOES run on Kernel 3.10.
Still it's slower than the old version of armsoc that had not used G2D.
And that is exactly what I'm saying.. having a "NoG2D" option that works as good as the No G2D capable version of armsoc on Kernel 3.10 but works fine WITH G2D enabled on Kernel 4.9 and 4.14.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8200
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: Slow mouse cursor on 4.14 kernel

Unread postby crashoverride » Tue Dec 12, 2017 5:05 pm

When using the "NoG2D" and "NoHardwareMouse" options together, the driver is "just armsoc". It should behave identically to the 1.41 version of armsoc.

All changes I made are after this commit:
https://github.com/OtherCrashOverride/xf86-video-armsoc/commit/8bbdb2ae3bb8ef649999a8da33ddbe11a04763b8

If resetting to that commit still yields slow performance on 3.10, then its an armsoc issue.
crashoverride
 
Posts: 3241
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: Slow mouse cursor on 4.14 kernel

Unread postby meveric » Wed Dec 13, 2017 12:46 am

I'll try... I think I had to remove one patch on the original 1.41 to make it work correctly. I'll see what I can find out.
Thanks.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8200
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: Slow mouse cursor on 4.14 kernel

Unread postby jankohrasko » Thu Feb 01, 2018 1:53 am

I just used the Software Updater in my XU4 system menu. My mouse got so slow I almost cannot use, wifi connection got lost, what happened? How do I get back what I had before?
jankohrasko
 
Posts: 20
Joined: Sun Oct 22, 2017 4:32 pm
languages_spoken: english
ODROIDs: XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Thu Feb 01, 2018 9:03 am

Update xorg server package via Ethernet connection.
viewtopic.php?f=146&t=28895
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby jankohrasko » Thu Feb 01, 2018 4:44 pm

Well, excuse me, but I just clicked on your menu item called Software Updater, it screwed everything up and you just point me to a long forum topic that will take me hours to figure out what to do. Can you tell me how to fix it in less than 30 minutes?
jankohrasko
 
Posts: 20
Joined: Sun Oct 22, 2017 4:32 pm
languages_spoken: english
ODROIDs: XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Thu Feb 01, 2018 4:51 pm

Open Terminal and type below commands.
Code: Select all
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt install xserver-xorg-video-armsoc ffmpeg
sudo apt install linux-image-xu3
sync
sudo reboot
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby jankohrasko » Thu Feb 01, 2018 7:46 pm

Thanks. I've done that, but the mouse is still slow (maybe a little better than before.)
After more testing, nope, it's no better.
jankohrasko
 
Posts: 20
Joined: Sun Oct 22, 2017 4:32 pm
languages_spoken: english
ODROIDs: XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Thu Feb 01, 2018 10:07 pm

What is your current kernel version?
Code: Select all
odroid@odroid:~$ uname -a
Linux odroid 4.14.16-104 #1 SMP PREEMPT Thu Feb 1 03:11:05 UTC 2018 armv7l armv7l armv7l GNU/Linux
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby jankohrasko » Thu Feb 01, 2018 10:20 pm

odroid@odroid:~$ uname -a
Linux odroid 4.14.16-104 #1 SMP PREEMPT Thu Feb 1 03:11:05 UTC 2018 armv7l armv7l armv7l GNU/Linux

When I was doing this:
sudo apt install xserver-xorg-video-armsoc ffmpeg
it gave me some message that it cannot be found, or some such.
jankohrasko
 
Posts: 20
Joined: Sun Oct 22, 2017 4:32 pm
languages_spoken: english
ODROIDs: XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Fri Feb 02, 2018 9:07 am

Can you capture the output when you try to run sudo apt install xserver-xorg-video-armsoc ffmpeg?
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby jankohrasko » Fri Feb 02, 2018 2:08 pm

I must had typed something wrong before. This time it worked and fixed the problem. Thanks.
jankohrasko
 
Posts: 20
Joined: Sun Oct 22, 2017 4:32 pm
languages_spoken: english
ODROIDs: XU4

Re: Slow mouse cursor on 4.14 kernel

Unread postby MimCom » Sun Feb 04, 2018 8:03 am

odroid wrote:Open Terminal and type below commands.
Code: Select all
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt install xserver-xorg-video-armsoc ffmpeg
sudo apt install linux-image-xu3
sync
sudo reboot


Finally got around to fixing this on the wife's desktop XU4 (mouse has been very frustrating). After issuing
Code: Select all
sudo apt install linux-image-xu3


I get the familiar and dire warning:
Code: Select all
Configuring linux-image-4.14.13-100

You are running a kernel (version 4.14.13-100) and attempting to remove the same version. This is a potentially disastrous action. Not only will /boot/vmlinuz-4.14.13-100 be removed, making it impossible to boot it, (you will have to take action to change your boot loader to boot a new kernel), it will also remove all modules under the directory /lib/modules/4.14.13-100. Just having a copy of the kernel image is not enough, you will have to replace the modules too.

I repeat, this is very dangerous. If at all in doubt, answer Yes. If you know exactly what you are doing, and are prepared to hose your system, then answer No.
MimCom
 
Posts: 26
Joined: Sun Mar 12, 2017 3:24 am
languages_spoken: english

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Sun Feb 04, 2018 9:52 am

Update the kernel again to get 4.14.15 or higher to fix the Spectre security issue.
viewtopic.php?f=99&t=29540#p212624
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby MimCom » Sun Feb 04, 2018 2:28 pm

I seem once again to be stuck in some sort of aptitude db backwater, where my kernel package doesn't want to move forward. When I re-run the linux-image-u3 install I get the same setup (which seems reasonable):

Code: Select all
me@odroid:~$ sudo apt install linux-image-xu3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  linux-image-4.14.16-104
Suggested packages:
  fdutils linux-doc-4.14.16-104 | linux-source-4.14.16-104 linux-image-4.14.16-104-dbg linux-manual-4.14.16-104
The following packages will be REMOVED:
  linux-image-4.14.0-83 linux-image-4.14.13-100
The following NEW packages will be installed:
  linux-image-4.14.16-104
The following packages will be upgraded:
  linux-image-xu3
1 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/16.4 MB of archives.
After this operation, 50.5 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.


except that my installed kernel image is actually 4.14.13-100

Code: Select all
me@odroid:~$ apt-cache policy linux-image-xu3
linux-image-xu3:
  Installed: 83-1
  Candidate: 104-1
  Version table:
     104-1 500
        500 http://deb.odroid.in/5422-s xenial/main armhf Packages
 *** 83-1 100
        100 /var/lib/dpkg/status


me@odroid:~$ dpkg -l|grep linux-image
ri  linux-image-4.14.0-83                 20171123                                     armhf        Linux kernel binary image for version 4.14.0-83
ri  linux-image-4.14.13-100               20180112                                     armhf        Linux kernel binary image for version 4.14.13-100
rc  linux-image-4.9.44-54                 20170820                                     armhf        Linux kernel binary image for version 4.9.44-54
ii  linux-image-xu3                       83-1                                         armhf        ODROID Kernel for 5422 based products.
MimCom
 
Posts: 26
Joined: Sun Mar 12, 2017 3:24 am
languages_spoken: english

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Mon Feb 05, 2018 9:39 am

Try to check the disk free space after "sudo apt autoremove".
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Slow mouse cursor on 4.14 kernel

Unread postby MimCom » Mon Feb 05, 2018 9:43 am

Nothing unusual there that I can see.
Code: Select all
me@odroid:~$ sudo apt autoremove
[sudo] password for me:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

me@odroid:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            928M     0  928M   0% /dev
tmpfs           200M   12M  189M   6% /run
/dev/mmcblk0p2   29G  4.7G   24G  17% /
tmpfs           998M  7.6M  990M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           998M     0  998M   0% /sys/fs/cgroup
/dev/mmcblk0p1  128M   16M  113M  13% /media/boot
tmpfs           200M   40K  200M   1% /run/user/1002
tmpfs           200M     0  200M   0% /run/user/1001
MimCom
 
Posts: 26
Joined: Sun Mar 12, 2017 3:24 am
languages_spoken: english

Re: Slow mouse cursor on 4.14 kernel

Unread postby odroid » Mon Feb 05, 2018 12:01 pm

Very weird.
It is really hard to know which part in apt stuff was broken in your root file system. :(

If you don't mind, consider flashing this image freshly. Sorry about that.
https://wiki.odroid.com/odroid-xu4/os_i ... 4/20171212
User avatar
odroid
Site Admin
 
Posts: 26349
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID


Return to Linux Kernel 4.14 Debugging Party

Who is online

Users browsing this forum: No registered users and 1 guest