Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | X.org: Still failing on XU4 with stretch image #2351

Closed
elleto opened this issue Dec 14, 2018 · 9 comments

Comments

@elleto
Copy link

commented Dec 14, 2018

Creating a bug report/issue:

MATE desktop still cannot run
Xorg still giving error

Required Information:

  • DietPi version | 6.19.7
  • Distro version | debian stretch
  • Kernel version | Linux Dietpi 4.14.66+ #1 SMP PREEMPT thu Aug 23 2018 armv71 GNU/Linux
  • SBC device | Odroid XU4
  • Power supply used | 5v4A adaptor supply
  • SDcard used | 64gb SanDisk ultra

Additional Information (if applicable):

  • Software title | MATE desktop
  • Was the software title installed freshly or updated/migrated? fresh install
  • Can this issue be replicated on a fresh installation of DietPi? yes
  • dietpi-bugreport ID 8153d478-a18b-49a0-b210-302136fb49aa

Steps to reproduce:

  1. fresh install of dietpi on Odroid XU4
  2. install MATE desktop using dietpi-software
  3. set to autostart into MATE desktop

Expected behaviour:

  • should autostart into MATE desktop on reboot

Actual behaviour:

-for autostart into MATE, black blank screen with loading cursor ( stuck indefinitely until power is cut)
-if not set to autostart into MATE, will get xorg error once u try to use "startx" or "startx &"

Extra details:

added the picture showing the server error
xorg failure
added the picture showing autostart error
autostart error
as a side note. i recevied these errors when i was installign MATE desktop on both raspberry pi 3B+ and the odroid XU4
mateinstallerror1
mateinstallerror2
mateinstallerror3
mateinstallerror4
mateinstallerror5

thanks for looking into this.

@elleto

This comment has been minimized.

Copy link
Author

commented Dec 14, 2018

more info : additional errors when installing MATE on odroid xu4
mateinstallodriodonlyer1
mateinstallodriodonlyer2
mateinstallodriodonlyer3
mateinstallodriodonlyer4
mateinstallodriodonlyer5
mateinstallodriodonlyer6

@MichaIng

This comment has been minimized.

Copy link
Owner

commented Dec 14, 2018

@elleto
Thanks for your report.

In the first place there seem to be an issue with the DNS settings, since the URLs are definitely available, e.g.: https://raw.githubusercontent.com/Fourdee/DietPi/master/.conf/desktop/wallpapers/dietpi-logo_1080p.png

  • Please verify that also ping raw.githubusercontent.com fails with name resolution.
  • How did you setup your network, DHCP or static IP?
  • If DHCP, please verify that you have a valid entry in cat /etc/resolv.conf, which should be in most cases the IP of your router, in some cases an external DNS server. You can check by web searching the IP. Also verify in this case that this DNS server IP can be accessed via ping.
    • If somehow the DHCP server does not serve a valid DNS entry, please try to apply a static IP (also setting your DHCP server/router to assign always this same IP to the XU4.
  • If you chose static IP, please verify the static DNS entry in diepti-config > Network Options: Adapters > Ethernet|Wifi is set correctly to either your router IP or a valid external one. 8.8.8.8 (Google DNS) should always work in case.

Actually this name resolution error should have already a failure when downloading the xorg.conf: https://raw.githubusercontent.com/Fourdee/DietPi/dev/.conf/dps_6/xorg_xu4.conf

  • This would then be a good reason for desktop to fail.
  • On the other hand, dietpi-software should have cancelled already earlier then 🤔. Perhaps it is also just a temporary issue with the DNS server.

However please check the above and, if ping raw.githubusercontent.com succeeds, try to reinstall the desktop: dietpi-software reinstall 24

@elleto

This comment has been minimized.

Copy link
Author

commented Dec 17, 2018

ok will try it and get back to you
thanks

@elleto

This comment has been minimized.

Copy link
Author

commented Dec 17, 2018

ping issue
i checked the ping and have no issue reaching out to the githubuser content, DNS server and google.
after which i tried to reinstall MATE with the command given.
download error
still having the same issue of a list of stuff is not downloaded.

@elleto

This comment has been minimized.

Copy link
Author

commented Dec 17, 2018

i managed to bypass the download issues by using a different wan network. but i still end up with the xorg error.
xorg error

and if i use dietpi-autostart i get this
black loading screen

@MichaIng

This comment has been minimized.

Copy link
Owner

commented Dec 25, 2018

@elleto
Okay, according to the error message, it is not related to the previous issue #2130
Due to lack of XU4 I can't test here, hope @Fourdee finds some time soon.

About the download issues:
Do you have an idea about the reason for name resolution errors with your prior WAN? If is simply has an outdated or unreliable DNS table, then similar things should happen to all other devices. Since GitHub (+sub domains) should be really well known I don't know about any other reason why it throws errors there.

@MichaIng MichaIng added this to the v6.20 milestone Jan 4, 2019
@MichaIng MichaIng modified the milestones: v6.20, v6.21 Jan 29, 2019
@Fourdee Fourdee modified the milestones: v6.21, v6.22 Feb 7, 2019
@MichaIng MichaIng changed the title Xorg still failing on XU4 with stretch image (related to #2130) Xorg still failing on XU4 with stretch image Feb 27, 2019
@MichaIng

This comment has been minimized.

Copy link
Owner

commented Mar 2, 2019

@elleto
Coming back after a long time, sorry for that.

Your issue, if still present, might be related to: #2584

Something about the mali/mesa drivers for Odroid (XU4) has been changed and seems to be incompatible with out xorg.conf. If is possible to reset it by let it being overwritten with the one from the xf86-video-armsoc-odroid package. Try:

apt-get dist-upgrade # Assure everything is up-to-date
apt-get install --reinstall xf86-video-armsoc-odroid

If this also solves the desktop start issue, I believe we should skip placing custom xorg.conf files and instead rely on the ones now created/updated by the above package.

@MichaIng MichaIng changed the title Xorg still failing on XU4 with stretch image DietPi-Software | X.org: Still failing on XU4 with stretch image Mar 2, 2019
Fourdee pushed a commit that referenced this issue Mar 3, 2019
@MichaIng

- DietPi-Software | XU4 + X11: Resolved various issues related to incorrect xorg.conf settings on this device. xorg.conf now used is installed automatically from Meveric's repo, which auto detects 3.x and 4.x kernel configuration and required settings automatically: #2584 + #2351
@Fourdee

This comment has been minimized.

Copy link
Collaborator

commented Mar 3, 2019

Commit to resolve: 8633f62
Requires testing to verify.

@Fourdee

This comment has been minimized.

Copy link
Collaborator

commented Mar 3, 2019

Testing passed, Mate running fine 🈯️

Resolved and patched in v6.22.

@MichaIng MichaIng added the Bug 🐞 label Mar 3, 2019
@MichaIng MichaIng referenced this issue Mar 9, 2019
@MichaIng MichaIng referenced this issue Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.