Can I run OGU with normal Ubuntu Desktop?
-
- Posts: 16
- Joined: Thu Feb 16, 2023 8:40 am
- languages_spoken: korean
- ODROIDs: ODROID-N2L
- Has thanked: 6 times
- Been thanked: 0
- Contact:
Can I run OGU with normal Ubuntu Desktop?
Hi, I wonder that the possibility of running OGU with normal Ubuntu desktop.
I want to play my robot with OGU. Because the body size and buttons are perfectly matching for my robot controller.
I already have my own controller program that is built in RPi4 environment using PyQt(for UI and camera) and GPIO.
I tried some methods that upload in this forum.
viewtopic.php?f=193&t=37399
viewtopic.php?p=304829#p304829
I tried different OS for other board, but it also not work. (I can find the problem after the trial. It is the bootloader of OGU and N2L is very different.)
But they don't work. First thing give me only black screen, and second thing doesn't work well.
In detail, disable emulationstation and enable getty@tty1 are work well but remove some error messages are printed.
After ignoring them, installing lightdm is succesfully work but xorg.conf and lightdm.conf are missing.
So, is there other method for my project?
Thank you.
++++++++++
Sorry. I mean (viewtopic.php?p=325192#p325192) <- this post when I'm saying "second"
I want to play my robot with OGU. Because the body size and buttons are perfectly matching for my robot controller.
I already have my own controller program that is built in RPi4 environment using PyQt(for UI and camera) and GPIO.
I tried some methods that upload in this forum.
viewtopic.php?f=193&t=37399
viewtopic.php?p=304829#p304829
I tried different OS for other board, but it also not work. (I can find the problem after the trial. It is the bootloader of OGU and N2L is very different.)
But they don't work. First thing give me only black screen, and second thing doesn't work well.
In detail, disable emulationstation and enable getty@tty1 are work well but remove some error messages are printed.
After ignoring them, installing lightdm is succesfully work but xorg.conf and lightdm.conf are missing.
So, is there other method for my project?
Thank you.
++++++++++
Sorry. I mean (viewtopic.php?p=325192#p325192) <- this post when I'm saying "second"
-
- Posts: 5797
- Joined: Tue Dec 30, 2014 8:42 pm
- languages_spoken: english
- ODROIDs: C1
- Has thanked: 0
- Been thanked: 612 times
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
There is nothing that prevents the OGU from doing anything the N2/N2+ can including running a desktop. However, N2/N2+ images are not compatible and will not boot.
The process of installing a desktop is similar to that of OGS/OGA:
viewtopic.php?p=325193#p325193
I have not tested the procedure on OGU. Modifications or adjustments to it may be required.
The process of installing a desktop is similar to that of OGS/OGA:
viewtopic.php?p=325193#p325193
I have not tested the procedure on OGU. Modifications or adjustments to it may be required.
- These users thanked the author crashoverride for the post:
- hyun (Wed Mar 15, 2023 9:06 am)
-
- Posts: 16
- Joined: Thu Feb 16, 2023 8:40 am
- languages_spoken: korean
- ODROIDs: ODROID-N2L
- Has thanked: 6 times
- Been thanked: 0
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
Thank you for the reply.crashoverride wrote: ↑Wed Mar 15, 2023 7:07 amThere is nothing that prevents the OGU from doing anything the N2/N2+ can including running a desktop. However, N2/N2+ images are not compatible and will not boot.
The process of installing a desktop is similar to that of OGS/OGA:
viewtopic.php?p=325193#p325193
I have not tested the procedure on OGU. Modifications or adjustments to it may be required.
I tried the post that you mentioned, but it doesn't work.
What I did is
$ sudo systemctl disable emulationstation
$ sudo systemctl enable getty@tty1
$ sudo apt remove emulationstation-go2 emulators-64bit-go2 emulators-32bit-go2
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt install lightdm ubuntu-mate-desktop
$ reboot
$ sudo service lightdm start
and next, creat /etc/X11/xorg.conf and /etc/lightdm/lightdm.conf for this post
But it didn't work. In detail, when I type "sudo service lightdm start" and enter, nothing happened.crashoverride wrote: ↑Thu Mar 25, 2021 4:13 amI tested it and it worked with the following two files added:
/etc/X11/xorg.confCode: Select all
Section "Device" Identifier "ODROID-GO" Driver "modesetting" Option "AccelMethod" "none" Option "PageFlip" "off" EndSection Section "Screen" Identifier "Default Screen" Device "ODROID-GO" Monitor "Default Monitor" EndSection Section "Monitor" Identifier "Default Monitor" Option "Rotate" "left" EndSection
/etc/lightdm/lightdm.confCode: Select all
[SeatDefaults] user-session=mate greeter-session=slick-greeter
There is lightdm.conf.d/ folder in /etc/lightdm. Should I create lightdm.conf under that path?
I am using ODROID-GO ULTRA, and v1.2 is the OS what I am using.
-
- Posts: 5797
- Joined: Tue Dec 30, 2014 8:42 pm
- languages_spoken: english
- ODROIDs: C1
- Has thanked: 0
- Been thanked: 612 times
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
The OGU does not currently have a DRM driver. It uses a fbdev driver. Try changing the following:
In the /etc/X11/xorg.conf file, change
to
In the /etc/X11/xorg.conf file, change
Code: Select all
Driver "modesetting"
Code: Select all
Driver "fbdev"
-
- Posts: 16
- Joined: Thu Feb 16, 2023 8:40 am
- languages_spoken: korean
- ODROIDs: ODROID-N2L
- Has thanked: 6 times
- Been thanked: 0
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
I totally didn't know that. How do you find it?crashoverride wrote: ↑Thu Mar 16, 2023 1:57 amThe OGU does not currently have a DRM driver. It uses a fbdev driver.
Anyway, even it's still don't work properly, It seems better than before.
I got an error code after "sudo service lightdm start"
root@gou:/home/odroid# service lightdm start
Job for lightdm.service failed because the control process exited with error code.
See "systemctl status lightdm.service" and "journalctl -xe" for details.
root@gou:/home/odroid# systemctl status lightdm.service
● lightdm.service - Light Display Manager
Loaded: loaded (/lib/systemd/system/lightdm.service; indirect; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-03-16 01:46:32 UTC; 19s ago
Docs: man:lightdm(1)
Process: 3276 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS)
Process: 3279 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
Main PID: 3279 (code=exited, status=1/FAILURE)
Mar 16 01:46:32 gou systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Mar 16 01:46:32 gou systemd[1]: Stopped Light Display Manager.
Mar 16 01:46:32 gou systemd[1]: lightdm.service: Start request repeated too quickly.
Mar 16 01:46:32 gou systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 16 01:46:32 gou systemd[1]: Failed to start Light Display Manager.
root@gou:/home/odroid#
And I'm serching solution with this. There are dozens of post on google, but helpless to me. Do you have any idea for this?
-
- Posts: 5797
- Joined: Tue Dec 30, 2014 8:42 pm
- languages_spoken: english
- ODROIDs: C1
- Has thanked: 0
- Been thanked: 612 times
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
As a developer, its common knowledge.
A detailed log should be available in the file /var/log/Xorg.0.log. It should show what errors were encountered.
- These users thanked the author crashoverride for the post:
- hyun (Thu Mar 16, 2023 3:29 pm)
-
- Posts: 16
- Joined: Thu Feb 16, 2023 8:40 am
- languages_spoken: korean
- ODROIDs: ODROID-N2L
- Has thanked: 6 times
- Been thanked: 0
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
I can get a waring thatcrashoverride wrote: ↑Thu Mar 16, 2023 12:00 pmA detailed log should be available in the file /var/log/Xorg.0.log.
.
.
.
[ 11.090] (==) Max clients allowed : 256, resource mask : 0x1ffffff
[ 11.090] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 11.090] Entry deleted from font path.
[ 11.090] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 11.090] Entry deleted from font path.
[ 11.090] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 11.090] Entry deleted from font path.
[ 11.091] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 11.091] Entry deleted from font path.
[ 11.091] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 11.091] Entry deleted from font path.
[ 11.091] (==) Fonts Path set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 11.091] (==) Module Path set to "/usr/lib/xorg/modules"
.
.
.
Whether it is a part of them, other lines show no Error or Warning. Onlt informational or notice
I tried
sudo -s
apt-get install xfonts-cyrillic
apt-get install xfonts-base
apt-get update
apt-get upgrade
but still same warning messages are in the log.
Still no GUI...
-
- Posts: 5797
- Joined: Tue Dec 30, 2014 8:42 pm
- languages_spoken: english
- ODROIDs: C1
- Has thanked: 0
- Been thanked: 612 times
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
I will attempt to reproduce the issue and post a solution.
- These users thanked the author crashoverride for the post:
- hyun (Fri Mar 17, 2023 1:16 pm)
-
- Posts: 5797
- Joined: Tue Dec 30, 2014 8:42 pm
- languages_spoken: english
- ODROIDs: C1
- Has thanked: 0
- Been thanked: 612 times
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
Staring with an unmodified installation of the reference image, the following produces a working X11 desktop:
Rotation does not appear to be supported by the fbdev driver.
Code: Select all
sudo systemctl disable emulationstation
sudo systemctl disable go4.service
sudo systemctl enable getty@tty1
sudo apt update
sudo apt upgrade
sudo reboot
sudo apt install lightdm ubuntu-mate-desktop
# At the "Configuring lightdm" screen, choose "lightdm", NOT "gdm3"
sudo systemctl start lightdm
-
- Posts: 16
- Joined: Thu Feb 16, 2023 8:40 am
- languages_spoken: korean
- ODROIDs: ODROID-N2L
- Has thanked: 6 times
- Been thanked: 0
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
Thank you for let me know the method.
I will do your post a few days later... I changed my system OGU to ODROID-C4.
I would try this in my spare time...
I really thank you for all your job.
I will do your post a few days later... I changed my system OGU to ODROID-C4.
I would try this in my spare time...
I really thank you for all your job.
-
- Posts: 16
- Joined: Thu Feb 16, 2023 8:40 am
- languages_spoken: korean
- ODROIDs: ODROID-N2L
- Has thanked: 6 times
- Been thanked: 0
- Contact:
Re: Can I run OGU with normal Ubuntu Desktop?
It worked! As you said, rotation disaply is not supported.crashoverride wrote: ↑Sat Mar 18, 2023 5:37 amCode: Select all
sudo systemctl disable emulationstation sudo systemctl disable go4.service sudo systemctl enable getty@tty1 sudo apt update sudo apt upgrade sudo reboot sudo apt install lightdm ubuntu-mate-desktop # At the "Configuring lightdm" screen, choose "lightdm", NOT "gdm3" sudo systemctl start lightdm
Who is online
Users browsing this forum: No registered users and 1 guest