[OS] Debian Stretch

Moderators: odroid, mdrjr

Re: [OS] Debian Stretch

Unread postby meveric » Sat Apr 14, 2018 6:05 pm

I just uploaded a new version of Kodi yesterday that fixes the last issue that I had with it.
So Kodi is available and working for Debian Stretch.
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: 8545
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: [OS] Debian Stretch

Unread postby nogareth » Sat Apr 14, 2018 6:13 pm

Great !

Now i just need to find another Micro-SD within my Sparepart-dumpster to give it a try.
Btw: Is gbit lan and Usb3.0 Working Properly ?
I've read a while ago that there are Problems when using the 4.x Kernel?
nogareth
 
Posts: 166
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: XU3

Re: [OS] Debian Stretch

Unread postby meveric » Sat Apr 14, 2018 7:23 pm

well at least for me it's working... seems to be a case by case issue. but mine is running fine.
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: 8545
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: [OS] Debian Stretch

Unread postby merlinux » Mon Apr 16, 2018 3:30 pm

Thanks meveric!
Just installed RC2 and it is working fine after a few tweaks.
First the auto expand script failed on my setup (I did have both an emmc and an sdcard with unique UUIDs).It did expand the partition but didnt grow the Filesystem to use the entire space. easy fix with parted. I didnt try it with just an sdcard so I cant tell if its working as it is meant to be.
As someone else posted, after installing the desktop with "setup-odroid", I needed to manually install xcf86-video-armsoc-odroid pkg in order to get a functionning xserver.
And digging things further I noticed that I was missing acceleration and proper symlinks with LIBEGL and libGLES, until I realised that libMali.so was missing entirely :) So setup-odroid also missed malit628-odroid. After installing it everything is ok
merlinux
 
Posts: 3
Joined: Sat Dec 17, 2016 5:53 pm
languages_spoken: english
ODROIDs: odroid c2

Re: [OS] Debian Stretch

Unread postby meveric » Mon Apr 16, 2018 5:28 pm

Thanks for the feedback, I'll check on the setup-odroid script, as this script in there should manage the installation of malit628-odroid and xf86-video-armsoc-odroid.

Edit:
Well on the first look the script looks fine, which is not surprising, as the part for installing GPU and DDX has not changed at all.
So I guess I have to try a complete fresh installation to track down the issue.
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: 8545
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: [OS] Debian Stretch

Unread postby merlinux » Mon Apr 16, 2018 6:56 pm

@meveric I think I know why.
I had a look at your code and when you do "cat /proc/device-tree/model" it now returns "Hardkernel Odroid XU4" instead of XU3 like in the old kernel.
I think you just need another or statement to set the board to exynos5 ;)
merlinux
 
Posts: 3
Joined: Sat Dec 17, 2016 5:53 pm
languages_spoken: english
ODROIDs: odroid c2

Re: [OS] Debian Stretch

Unread postby meveric » Mon Apr 16, 2018 7:49 pm

merlinux wrote:@meveric I think I know why.
I had a look at your code and when you do "cat /proc/device-tree/model" it now returns "Hardkernel Odroid XU4" instead of XU3 like in the old kernel.
I think you just need another or statement to set the board to exynos5 ;)

Normally that shouldn't matter, as it first tests for /proc/cpuinfo and only if this returns without result it will use /proc/device-tree/model.
Code: Select all
bash -x setup-odroid
+ board_info
++ cat /proc/cpuinfo
++ grep Hardware
++ awk '{print $3}'
+ BOARD=ODROID-XU3
+ '[' xODROID-XU3 == x ']'
+ '[' xODROID-XU3 == xHardkernel ']'
+ case $BOARD in
+ board=exynos5
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: 8545
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: [OS] Debian Stretch

Unread postby nogareth » Mon Apr 16, 2018 11:55 pm

Did i miss something , or is there a known problem with Egl?

Ive setup my system from scratch, used setup-odroid to install Mate desktop and Kodi. Everything fine so far , but the Desktop is sluggish as hell, and also is Kodi.
When i try to run Glmark2-es2, Egl seems to be available , but it is also slow as hell.
Code: Select all
martin@brick:~$ glmark2-es2
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-T628
    GL_VERSION:    OpenGL ES 3.1 v1.r14p0-01rel0.0fe2d25ca074016740f8ab3fb451b151
=======================================================
[build] use-vbo=false: FPS: 9 FrameTime: 111.111 ms
[build] use-vbo=true: FPS: 9 FrameTime: 111.111 ms
[texture] texture-filter=nearest: FPS: 9 FrameTime: 111.111 ms
=======================================================
                                  glmark2 Score: 9
=======================================================



When Looking at the packet-manager , all packages related to Mali,Mfc or Samsung Firmware seem to be installed.
Also /var/log/Xorg.0.log or dmesg do not seem to comply about anything gpu related.
nogareth
 
Posts: 166
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: XU3

Re: [OS] Debian Stretch

Unread postby meveric » Tue Apr 17, 2018 12:25 am

can you check if xf86-video-armsoc-odroid is installed as well?
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: 8545
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: [OS] Debian Stretch

Unread postby nogareth » Tue Apr 17, 2018 12:30 am

Yep, should be installed:

Code: Select all
Statusinformationen werden eingelesen.... Fertig
xf86-video-armsoc-odroid ist schon die neueste Version (20180321-1.4.1-1+deb9).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.


according to Xorg.conf it should be in use.

Code: Select all
# X.Org X server configuration file for xfree86-video-mali

Section "Device"
        Identifier      "Mali-Fbdev"
        Driver          "armsoc"
        Option          "NoG2D"                 "true"
        Option          "NoHardwareMouse"       "true"
        Option          "NoFlip"                "false"
        Option          "fbdev"                 "/dev/fb0"
        Option          "Debug"                 "false"
        Option          "DPMS"                  "false"
        Option          "Fimg2DExa"             "true"
        Option          "DRI2"                  "true"
        Option          "DRI2_PAGE_FLIP"        "false"
#       Option          "Fimg2DExaSolid"        "false"
#       Option          "Fimg2DExaCopy"         "false"
        Option          "Fimg2DExaComposite"    "true"
        Option          "SWcursorLCD"           "false"
EndSection

Section "Screen"
        Identifier   "Default Screen"
        Device       "Mali-Fbdev"
        DefaultDepth 24
EndSection

Section "DRI"
        Mode 0666
EndSection

nogareth
 
Posts: 166
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: XU3

Re: [OS] Debian Stretch

Unread postby meveric » Tue Apr 17, 2018 12:40 am

hmm xorg.conf seems to be wrong.. the "NoG2D" option should be "false" not "true" as you're running on Kernel 4.14.
And instead the "NoFlip" option should be "true".
Can you do a apt-get install --reinstall xf86-video-armsoc-odroid and check these values again?
The installer is suppose to check the version of the Kernel either 4.x or 3.x and if 4.x is found should set NoG2D to false and NoFlip to true.
If that's not the case, please change them manually and try again (you need to reboot).
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: 8545
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: [OS] Debian Stretch

Unread postby nogareth » Tue Apr 17, 2018 12:55 am

This didn't change anything , even if Purged before.

Code: Select all
root@brick:/etc/X11# apt-get install xf86-video-armsoc-odroid
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
  xf86-video-armsoc-odroid
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 33,5 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 143 kB Plattenplatz zusätzlich benutzt.
Holen:1 https://oph.mdrjr.net/meveric stretch/main armhf xf86-video-armsoc-odroid armhf 20180321-1.4.1-1+deb9 [33,5 kB]
Es wurden 33,5 kB in 1 s geholt (27,0 kB/s).
Vormals nicht ausgewähltes Paket xf86-video-armsoc-odroid wird gewählt.
(Lese Datenbank ... 209360 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../xf86-video-armsoc-odroid_20180321-1.4.1-1+deb9_armhf.deb ...
Entpacken von xf86-video-armsoc-odroid (20180321-1.4.1-1+deb9) ...
xf86-video-armsoc-odroid (20180321-1.4.1-1+deb9) wird eingerichtet ...
/var/lib/dpkg/info/xf86-video-armsoc-odroid.postinst: 5: [: xODROID-XU3: unexpected operator
/var/lib/dpkg/info/xf86-video-armsoc-odroid.postinst: 5: [: xODROID-XU3: unexpected operator
/var/lib/dpkg/info/xf86-video-armsoc-odroid.postinst: 70: [: xexynos: unexpected operator
Trigger für man-db (2.7.6.1-2) werden verarbeitet ...



Code: Select all

# X.Org X server configuration file for xfree86-video-mali

Section "Device"
        Identifier      "Mali-Fbdev"
        Driver          "armsoc"
        Option          "NoG2D"                 "true"
        Option          "NoHardwareMouse"       "true"
        Option          "NoFlip"                "false"
        Option          "fbdev"                 "/dev/fb0"
        Option          "Debug"                 "false"
        Option          "DPMS"                  "false"
        Option          "Fimg2DExa"             "true"
        Option          "DRI2"                  "true"
        Option          "DRI2_PAGE_FLIP"        "false"
#       Option          "Fimg2DExaSolid"        "false"
#       Option          "Fimg2DExaCopy"         "false"
        Option          "Fimg2DExaComposite"    "true"
        Option          "SWcursorLCD"           "false"
EndSection

Section "Screen"
        Identifier   "Default Screen"
        Device       "Mali-Fbdev"
        DefaultDepth 24
EndSection

Section "DRI"
        Mode 0666
EndSection

nogareth
 
Posts: 166
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: XU3

Re: [OS] Debian Stretch

Unread postby meveric » Tue Apr 17, 2018 1:00 am

nogareth wrote:
Code: Select all
xf86-video-armsoc-odroid (20180321-1.4.1-1+deb9) wird eingerichtet ...
/var/lib/dpkg/info/xf86-video-armsoc-odroid.postinst: 5: [: xODROID-XU3: unexpected operator
/var/lib/dpkg/info/xf86-video-armsoc-odroid.postinst: 5: [: xODROID-XU3: unexpected operator
/var/lib/dpkg/info/xf86-video-armsoc-odroid.postinst: 70: [: xexynos: unexpected operator

Looks like there's an issue with the post installation script. I will look at it.
Please change the values as explained manually in the xorg.conf and restart the system, that should solve the issue at hand. I will fix the post installation script in the meantime.

Edit:
Found the issue.
The shebang of the postinst script is wrong.. it's /bin/sh while it should be /bin/bash.
I'll upload a new version.
Should be available in a few minutes.
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: 8545
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: [OS] Debian Stretch

Unread postby nogareth » Tue Apr 17, 2018 1:18 am

I*ve Changed the options manually and rebooted without any effect.

Code: Select all
martin@brick:/etc/X11$ cat xorg.conf
# X.Org X server configuration file for xfree86-video-mali

Section "Device"
        Identifier      "Mali-Fbdev"
        Driver          "armsoc"
        Option          "NoG2D"                 "false"
        Option          "NoHardwareMouse"       "true"
        Option          "NoFlip"                "true"
        Option          "fbdev"                 "/dev/fb0"
        Option          "Debug"                 "false"
        Option          "DPMS"                  "false"
        Option          "Fimg2DExa"             "true"
        Option          "DRI2"                  "true"
        Option          "DRI2_PAGE_FLIP"        "false"
#       Option          "Fimg2DExaSolid"        "false"
#       Option          "Fimg2DExaCopy"         "false"
        Option          "Fimg2DExaComposite"    "true"
        Option          "SWcursorLCD"           "false"
EndSection

Section "Screen"
        Identifier   "Default Screen"
        Device       "Mali-Fbdev"
        DefaultDepth 24
EndSection

Section "DRI"
        Mode 0666
EndSection



At least Samba is Lightning fast with the new Kernel!! (about 112Mb/s both ways, before ~80up ~60 down) :D
I guess you cant have everything at once ! ;)
Right now i have no time to dig further , i think ill try again tomorrow.
nogareth
 
Posts: 166
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: XU3

Re: [OS] Debian Stretch

Unread postby meveric » Tue Apr 17, 2018 1:26 am

The new package is uploaded.. can you try installing it again?
Code: Select all
apt-get update
apt-get install xf86-video-armsoc-odroid
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: 8545
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

Previous

Return to Other OS

Who is online

Users browsing this forum: No registered users and 1 guest