Jump to content

robertoj

Members
  • Posts

    468
  • Joined

  • Last visited

Posts posted by robertoj

  1. On 8/16/2025 at 8:25 PM, dale said:

    Hi I got error when applying the patch you shared.

    Can I know how to fix it?

     

    I don't know anything about this patch, but check this:

     

    * Linux version you are using, vs Linux version corneliius has used

    * Try deleting the hunk in the patch that caused the problem you saw, and see if other hunks cause patch failures

    * If it is only one hunk causing the problem, look at the file that is affected by the patch drivers/auxdisplay/Makefile: do the lines mentioned in the hunk exist in the Makefile? In the expected line number?

  2. I get this warning because I removed lightdm-gtk-greeter.desktop... what should I do to not expect the file?

     

    roberto@orangepizero3:~$ update-alternatives --display lightdm-greeter
    update-alternatives: warning: alternative /usr/share/xgreeters/lightdm-gtk-greeter.desktop (part of link group lightdm-greeter) doesn't exist; removing from list of alternatives
    lightdm-greeter - auto mode
      link best version is /usr/local/share/xgreeters/pi-greeter.desktop
      link currently points to /usr/local/share/xgreeters/pi-greeter.desktop
      link lightdm-greeter is /usr/share/xgreeters/lightdm-greeter.desktop
    /usr/local/share/xgreeters/pi-greeter.desktop - priority 70

     

     

    After some research of greeters, I see that the default greeter is compatible with wayland

    https://github.com/Xubuntu/lightdm-gtk-greeter

    I have been working as if lightdm requires X11 (which I need to avoid), and so I wanted to used pi-greeter

     

    Does anybody have lightdm+gtkgreeter in a pure wayland setup? No X11

  3. Hello,

     

    I am trying to have a graphical login screen for my orange pi zero 3 with ili9488 LCD screen. A problem I have is that X11 can't start with the LCD driver... so I need to stay 100% wayland.

     

    I was able to compile and run labwc with these instructions: https://forum.armbian.com/topic/53797-labwc-wayland-crashes-on-exit/#findComment-223267

     

    Labwc runs well on a HDMI screen and in the small ili9488 screen

     

    Next, I found this graphical login, which is made to install on top of lightdm: https://github.com/raspberrypi-ui/pi-greeter/tree/master

     

    Compilation rerequisites: sudo apt install gobject-introspection libgtk-3-dev liblightdm-gobject-dev libgtk-layer-shell-dev

     

    Lightdm requirement: sudo apt install accountsservice

     

    Compile it:

    $ autogen.sh

    $ ./configure

    $ make

    $ sudo make install

     

    There are some hints to post-install in the debian package postint:

    $ update-alternatives --install /usr/share/xgreeters/lightdm-greeter.desktop lightdm-greeter /usr/share/xgreeters/pi-greeter.desktop 70

    In lightdm.conf: greeter-session=pi-greeter

     

    I check the lightdm configuration:

    $ update-alternatives --display lightdm-greeter
    lightdm-greeter - auto mode
      link best version is /usr/local/share/xgreeters/pi-greeter.desktop
      link currently points to /usr/local/share/xgreeters/pi-greeter.desktop
      link lightdm-greeter is /usr/share/xgreeters/lightdm-greeter.desktop
    /usr/local/share/xgreeters/pi-greeter.desktop - priority 70
    /usr/share/xgreeters/lightdm-gtk-greeter.desktop - priority 60

     

    Then I erase the link to lightdm-gtk: sudo rm /usr/share/xgreeters/lightdm-gtk-greeter.desktop

     

    When I try to start lightdm with sudo systemctl start lightdm, fails with:

    Job for lightdm.service failed because the control process exited with error code.

     

    In journalctl logs, $ journalctl -xeu lightdm.service I see

     

    Aug 09 09:18:19 orangepizero3 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
    ░░ Subject: Unit process exited
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░ 
    ░░ An ExecStart= process belonging to unit lightdm.service has exited.
    ░░ 
    ░░ The process' exit code is 'exited' and its exit status is 1.
    Aug 09 09:18:19 orangepizero3 systemd[1]: lightdm.service: Failed with result 'exit-code'.
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░ 
    ░░ The unit lightdm.service has entered the 'failed' state with result 'exit-code'.
    Aug 09 09:18:19 orangepizero3 systemd[1]: Failed to start lightdm.service - Light Display Manager.
    ░░ Subject: A start job for unit lightdm.service has failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░ 
    ░░ A start job for unit lightdm.service has finished with a failure.
    ░░ 
    ░░ The job identifier is 6519 and the job result is failed.

     

     

    Does anybody have experience in installing pi-greet, or another greeter that would work in wayland? I need it to be efficient

     

    THANK YOU!

  4. The online store link doesnt work :(

     

    Did you try lowering the SPI frequency?

     

    Are you using the panel-mipi-dbi-spi driver?

     

    I have no idea about the timing parameters in the firmware bin file. Are you familiar with notro's python script that turns a txt into a firmware bin file?

     

    There's a chance that your LCD is bad. Try buying an extra LCD.

     

    Future note for when you succeed with the driver: X11 will not work. There's a driver issue. If you can compile MESA3D you might get the needed updated driver. I have been using wayland+labwc... and I am currently in the effort to add a wayland greeter for the display manager (lightdm or greetd). (search my threads)

  5. Try a lower SPI frequency and use direct wires from the orange pi zero 2w to the LCD

     

    There might be something in the panel-mipi-dbi-spi.bin firmware to improve the display of the received bytes, but first do these two improvements (first try the direct wires)

     

    Opiz2w cases:

    https://forum.armbian.com/topic/52880-orangepi-zero-2w-wrong-color-display-on-mpi3501/

    https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/page/2/

    https://forum.armbian.com/topic/46824-orange-pi-zero-3-ili9486-tft-lcd/

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines