ODROID-C1: sddm working?

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

ODROID-C1: sddm working?

Postby Gyscos » Wed Feb 11, 2015 8:13 am

Hello there,
I'm trying to make plasma5 work on my odroid-C1, beginning with sddm.
Current state: I can properly start lxdm and xfce4 (so the graphic driver appears to work).

I then installed plasma and sddm.
But then, running $this->bbcode_second_pass_code('', 'systemctl start sddm') gives me a black screen. I can still switch to another tty, or connect from ssh, but the tty1 stays black.

Here is the journalctl log :
$this->bbcode_second_pass_code('', 'Feb 10 23:30:53 odroid systemd[1]: Starting Simple Desktop Display Manager...
Feb 10 23:30:53 odroid systemd[1]: Started Simple Desktop Display Manager.
Feb 10 23:30:53 odroid sddm[948]: Initializing...
Feb 10 23:30:53 odroid sddm[948]: Starting...
Feb 10 23:30:53 odroid sddm[948]: Adding new display 0 on vt 1 ...
Feb 10 23:30:53 odroid sddm[948]: Adding cookie to "/var/run/sddm/:0"
Feb 10 23:30:53 odroid sddm[948]: Display server starting...
Feb 10 23:30:53 odroid sddm[948]: Running: /usr/bin/X :0 -auth /var/run/sddm/:0 -nolisten tcp -background none -noreset vt1
Feb 10 23:30:54 odroid sddm[948]: Signal received: SIGUSR1
Feb 10 23:30:54 odroid sddm[948]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Feb 10 23:30:54 odroid sddm[948]: Display server started.
Feb 10 23:30:54 odroid sddm[948]: Socket server starting...
Feb 10 23:30:54 odroid sddm[948]: Socket server started.
Feb 10 23:30:54 odroid sddm[948]: Greeter starting...
Feb 10 23:30:54 odroid sddm-helper[968]: [PAM] Starting...
Feb 10 23:30:54 odroid sddm-helper[968]: [PAM] Authenticating...
Feb 10 23:30:54 odroid sddm-helper[968]: [PAM] returning.
Feb 10 23:30:54 odroid sddm-helper[968]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Feb 10 23:30:54 odroid sddm[948]: Greeter session started successfully
Feb 10 23:30:54 odroid sddm[948]: Auth: sddm-helper exited with 127
Feb 10 23:30:54 odroid sddm[948]: Greeter stopped.')

I tried to create the example configuration file as per the sddm wiki page, I changed the theme to breeze following the plasma wiki page, none of this had any change.

I then tried to call sddm manually :
$this->bbcode_second_pass_code('', 'root@odroid ~ # sddm-greeter
sddm-greeter: symbol lookup error: /usr/lib/libQt5Gui.so.5: undefined symbol: glGenVertexArrays')

I'm not sure how to interpret these errors... any idea? Thanks!

EDIT: Seems I'm not the only one: viewtopic.php?f=60&t=8176
So maybe the next package revision will fix that?
Gyscos
 
Posts: 20
Joined: Wed Feb 11, 2015 7:01 am

Re: ODROID-C1: sddm working?

Postby moonman » Wed Feb 11, 2015 10:06 am

why not start plasma5 from a different DM? I know sddm didn't work on my laptop (x86) too, but lxdm started plasma5 just fine.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: ODROID-C1: sddm working?

Postby Gyscos » Thu Feb 12, 2015 5:03 am

I also tried that, but it gives me another error: a weirdly themed window in the top left that tells me "Could not start kdeinit5. Check your installation."
Gyscos
 
Posts: 20
Joined: Wed Feb 11, 2015 7:01 am

Re: ODROID-C1: sddm working?

Postby MrRee » Sat Feb 14, 2015 1:06 am

I've hit the same issue with SDDM effectivly killing X, im not sure where the issue lies however these are my findings so far.

after getting a working X (using twm/xterm and a working lxde) I installed plasma/sddm.

after this - all I had was a black screen, with startx refusing to connect to the xserver, I could however launch X via a remote root login.

after checking permissions I realised that all /dev/am* had reverted to root:root , so I changed them back to root:video with 666 permissions. and then rebooted with sddm - again I got a black screen and /dev/am* had reverted to root:root

So I changed the permissions back to root:video 666... and changed back to lxdm from sddm - I then got a graphical login.

from this graphical log in I can choose lxde and log in ok, but if i attempt to log in to plasma I get the "Could not start kdeinit5. Check your installation." error.

It would be nice to try out plasma on the C1, any ideas where to look from here to either get sddm working , and not over writing permissiosn/ownership or for lxdm to be able to sucessfully launch into plasma?

thanks in advance for any ideas /assistance

Jase
MrRee
 
Posts: 16
Joined: Tue Jan 27, 2015 6:50 pm

Re: ODROID-C1: sddm working?

Postby WarheadsSE » Sat Feb 14, 2015 2:29 am

looks like it needs a udev rul to set the permissions right.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ODROID-C1: sddm working?

Postby MrRee » Sat Feb 14, 2015 12:28 pm

WarheadsSE,

Thanks for the tip,

By looking at other examples of udev rules, I have cobbled together the following and will see if it helps

$this->bbcode_second_pass_code('', '/etc/udev/rules.d/40-gfx.rules
KERNEL=="mali", MODE="0660", GROUP="video"
KERNEL=="ump", MODE="0660", GROUP="video"
KERNEL=="am*", MODE="0660", GROUP="video"
KERNEL=="fb*", MODE="0660", GROUP="video"')

Will edit this post with any results/failure, if the rules look incorrect inany way let me know


Edit1:
This seems to have sorted the graphical permissions issues

EDit2
The Plasma/KDEinit starting issue may not be related , as I seem to get an error with all kde/qt5 apps
"symbol lookup error: /usr/lib/libQt5Gui.so.5: undefined symbol: glGenVertexArrays" which has been raised in this post


Jase
MrRee
 
Posts: 16
Joined: Tue Jan 27, 2015 6:50 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 16 guests