tschesnok
Posts: 99
Joined: Mon Nov 23, 2020 9:56 pm

Installing Vulkan hoses latest OS after reboot - lightdm fails - no more GUI

Wed Apr 21, 2021 3:45 am

Easy to recreate:

1. Install latest Buster.
2. Install Vulkan according to: https://qengineering.eu/install-vulkan- ... ry-pi.html
3. Vulkan works great and all demos run - yay!
4. Reboot and loose your display. You can Ctrl-Alt-F2 and get a text login.

Found that lightdm fails.. but unclear if that is the real reason.
Error: "lightdm[525]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.Ser
viceUnknown: The name org.freedesktop.Accounts was not provided by any .service files"

I can get back to a GUI by installing legacy driver.. but then no more 3D graphics.
Both fkms and kms don't seem to boot into GUI.

Any ideas? This may be simple.. I'm just not that well versed in RPI / Linux graphics stack.

User avatar
Gavinmc42
Posts: 5430
Joined: Wed Aug 28, 2013 3:31 am

Re: Installing Vulkan hoses latest OS after reboot - lightdm fails - no more GUI

Wed Apr 21, 2021 6:06 am

Have you tried installing the drivers with PiKiss?
That's my lazy way of doing it now.

https://github.com/jmcerrejon/PiKISS
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

tschesnok
Posts: 99
Joined: Mon Nov 23, 2020 9:56 pm

Re: Installing Vulkan hoses latest OS after reboot - lightdm fails - no more GUI

Wed Apr 21, 2021 4:42 pm

Gavinmc42 wrote:
Wed Apr 21, 2021 6:06 am
Have you tried installing the drivers with PiKiss?
That's my lazy way of doing it now.

https://github.com/jmcerrejon/PiKISS
YES. That worked! Thank you. Somehow I never heard of PiKiss.. this is really great stuff.

Of note: using PiKiss configured my pi to use kms by default (vs fkms in the other install). It seemed to reinstall / rebuild mesa.. perhaps with other settings?

I have been in touch with the author of the other install instructions and they cannot replicate. I'm starting to think it may be compute module 4 specific. For one I can't even select "kms" in rapsi-config.. unlike the way you might on a pi4B

User avatar
Gavinmc42
Posts: 5430
Joined: Wed Aug 28, 2013 3:31 am

Re: Installing Vulkan hoses latest OS after reboot - lightdm fails - no more GUI

Wed Apr 21, 2021 11:07 pm

Thanks for the warning on CM4 got mine this week.
Have not tried much on it, still trying to get keyboard to work.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

tschesnok
Posts: 99
Joined: Mon Nov 23, 2020 9:56 pm

Re: Installing Vulkan hoses latest OS after reboot - lightdm fails - no more GUI

Thu Apr 22, 2021 6:08 pm

Gavinmc42 wrote:
Wed Apr 21, 2021 11:07 pm
Thanks for the warning on CM4 got mine this week.
Have not tried much on it, still trying to get keyboard to work.
Ha.. yes, total pain.

1. get and build usbboot on Ubuntu. (sorry - probably some other software for PC)
2. Execute the above (rpiboot)
3. Connect USB to small plug.
4. Boot pi with the USB boot bridged.
5. If you flashed it before it will show up in Ubuntu as two drives.
6. Open BOOT (I think)
7. There you will find the famous config.txt just sitting there..
8. Add: dtoverlay=dwc2,dr_mode=host (don't you just see how that creams.. make my USB work :)
9. unmount.
10. Pull the USB plug!!
11. Power cycle pi.

Should now work.

SOOOO.. why did they do that. NO GOOD REASON. They say to save power.. but SSH is NOT enabled.. so you are hosed by default. MY guess is that 100% turn on USB.

Anyone using the CM4 for real embedded apps will have a custom image before they stop using USB...

User avatar
Gavinmc42
Posts: 5430
Joined: Wed Aug 28, 2013 3:31 am

Re: Installing Vulkan hoses latest OS after reboot - lightdm fails - no more GUI

Thu Apr 22, 2021 9:36 pm

Should now work.
Didn't work, still doesn't.
Weird, because I know it worked running Raspberry OS from a USB drive.
SOOOO.. why did they do that. NO GOOD REASON. They say to save power.. but SSH is NOT enabled.. so you are hosed by default. MY guess is that 100% turn on USB.
It's a test, see who is worthy to use these wee little beasties, plus it slows down adoption so they can make enough?.
Anyone using the CM4 for real embedded apps will have a custom image before they stop using USB...
That's the reason I flashed PiCore, it is my usual small embedded Linux.

Next CM4 will be the Lite version with 1GB :D
For my future embedded apps that's more than enough when using Ultibo.

Mind you Vulkan will change things.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Raspberry Pi OS”