-
-
Notifications
You must be signed in to change notification settings - Fork 506
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 X Server: Start fails on Odroid C2 with mainline kernel #5234
Comments
Many thanks for your report. Hmm, on the new Odroid C2 image, the X server shouldn't even try to load fbturbo (or fbdev) but use modesetting instead. Can you show the full content of |
Ah, I see, we still install the old xorg.conf, which has been fixed for DietPi v8.1 already. Please try: rm /etc/X11/xorg.conf Then the X server should start. |
I changed this to be more failsafe: a3e37fa1 |
Hello Micha, Sorry, still not working... BR Bernd |
Can you show the full content of And: ls -l /dev/dri |
|
Hmm, so KMS/DRM is supported, it successfully loads the modesetting module, the fbdev module fails to load expectedly. Not sure why it crashes even trying to run in framebuffer mode. GLES is installed, right? G_AGI libegl1 libgles2 Are there any other X11 configs? for i in /etc/X11/xorg.conf{,.d/*.conf}
do
[[ -f $i ]] || continue
echo "${i}:"
cat "$i"
done |
second question is to hard for me - sorry |
Ah, the trailing single quote was not intended. I hope both packages did now install.
If you are on an SSH console, simply copy and paste the above code block into the SSH console and hit return. It loops through all X11 configurations and prints their content. |
i am using PUTTY on my WINDOWS Computer and have NO idea where i shoud paste it? Sooory |
Directly into Putty |
Hit the copy button, which appears when you hover this code block: for i in /etc/X11/xorg.conf{,.d/*.conf}
do
[[ -f $i ]] || continue
echo "${i}:"
cat "$i"
done Then go to your PuTTY window and click the right mouse button, which pastes the copied code into the PuTTY terminal. Then hit return/enter to execute the command loop. |
Oh - thank you so much - this makes LINUX live much easier... :-) --> thats the outcome:
|
Okay, strange that the X server does not succeed with KMS/DRM. Btw, you did try to start it as root user, right? Please try with a reboot once, just to rule that out. If it still fails the same way, try to use the fbdev driver: apt install xserver-xorg-video-fbdev |
i have installed it but still not working :-(
|
Okay, that is very strange. You do try to start it via Another attempt would be to install the whole palette of possible DDX drivers, including the unaccelerated but very generic VESA driver: apt install xserver-xorg-video-all Also, while it should be all default, X11 could be explicitly configured to use modesetting: cat << '_EOF_' > /etc/X11/xorg.conf.d/99-modesetting.conf
Section "Device"
Identifier "Mali Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
EndSection
_EOF_ Also, since it is there, you can try to use the second DRI device by adding another line:
to the section block of that file. If it still does not work, would be interesting whether it does with the original Armbian image: https://dl.armbian.com/odroidc2/Bullseye_current |
Today I updated to version 8.1 - XSERVER still not starting. Thank you for your support so far. |
Has the problem solved? I have the same problem and i wanted to start LXDE desktop on k2, and after installation i've got this on my terminal:
|
and ive tried running lshw -c display and i cant see any thing about my display infomations , and then ive tried installing xserver-xorg-video-all on it but it didnt help |
it looks like we're having a graphic card issue,(im using NanoPi K2, OS: DietPi v8.1.2, )(my lxde desktop was installed from dietpi-software), and ive been having this issue for a long time since i tried to install xfce4 on dietpi lastweek (ive tried both installation from dietpi-software and from apt, and ive got the same error) |
Please test this: cat << '_EOF_' > /etc/X11/xorg.conf.d/02-dietpi-aml-s905.conf
Section "OutputClass"
Identifier "Amlogic"
MatchDriver "meson"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Meson"
Monitor "foo"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1440x900" "1280x720" "1280x1024" "1280x960" "1024x768" "800x600" "640x480" "720x400"
EndSubSection
EndSection
_EOF_ |
- DietPi-Software | X.Org X Server: Resolved an issue on modern Odroid C2 and NanoPi K2 (Amlogic S905 SoC) images where the X server (desktop) failed to start. Many thanks to all users who reported and helped resolving this issue: #5234, https://dietpi.com/phpbb/viewtopic.php?t=10078
Solution implemented with: 572d1b3 |
OK i'll test that as soon as i can, and thank you for your reply btw |
And One more issue by the way |
we can not reach raw.githubusercontent.com in some area especially in china and for that reason, we can neither update nor initialize the dietpi system and use dietpi-software some times, so i hope we can have a solution on this issue |
We are thinking to provide an image that contains a desktop ootb. But nothing we have a ETA for as it is just an idea. That you are not able to reach GitHub is a pity, as all our scripts are located there. |
it is a pity...... but uhmm its strange that i can reach GitHub website BUT i cannot pulling scripts from raw.githubusercontent.com, and ive asked all my friends here and they cannot either |
WOW so uhm dietpi is planning to build an image contains desktop ? Thats sooooo GOOD |
That is a pity indeed, and if it was actively wanted, it doesn't make any sense either as any content can be seen here on GitHub the same way, only raw plain-text file downloads (which one can otherwise copy&paste) is done via At time of writing, we do not plan do host the DietPi repository at another place, or a mirror, where downloads could be done from when
|
I'll mark this as closed. Initial issue solved for next release. |
Yesterday I have tried to install LXDE on a freshly installed latest image for Odroid C2 and it didn't want to start. Upon finding this page and looking into commit 572d1b3 I spotted that because of the bad condition value in line 2725 it didn't install libegl1 and libgles2, and created the config file. After I did that manually, LXDE could start. For my Odroid C2, the value of
So it seems that the 10 in the second expression should be changed to 13. |
Creating a bug report/issue
Required Information
Additional Information (if applicable)
echo $G_HW_UUID
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
The text was updated successfully, but these errors were encountered: