MichaIng / DietPi

Lightweight justice for your single-board computer!

Home Page:https://dietpi.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DietPi-Software | LXQt: Install fails on RISC-V

jtmoon79 opened this issue · comments

Creating a bug report/issue

  • I have searched the existing open and closed issues

Required Information

  • DietPi version
    G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=1
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'
    G_LIVE_PATCH_STATUS[0]='not applicable'
    
  • Distro version | trixie
  • Kernel version | Linux host 6.1.78 #1 SMP Mon Feb 19 18:07:08 UTC 2024 riscv64 GNU/Linux
  • SBC model | StarFive VisionFive 2 (riscv64)

Additional Information (if applicable)

  • Software title | LXQt
  • Was the software title installed freshly or updated/migrated? Freshly installed.
  • Can this issue be replicated on a fresh installation of DietPi? Not sure.
  • Bug report ID | b4211d42-1740-4b1c-9fc1-d3fd26ae004d

Steps to reproduce

  1. start dietpi-software
  2. select LXQT
  3. select Confirm
  4. select Install
    During install, a dietpi custom curl commands fails with HTTP Status 404
    curl -sSfL https://github.com/MichaIng/DietPi/raw/master/.conf/desktop/lxqt/lxqt-trixie.7z -o lxqt-trixie.7z

Expected behaviour

No failures for installs.

Actual behaviour

Screenshot 2024-02-24 121321

Ah right, I did not yet create a config archive for Trixie/Sid, hence affecting all RISC-V boards.

Another issue for Trixie systems (but not Sid, hence not RISC-V) is that the SpeedCrunch package has been removed from the repo due to some other block: https://tracker.debian.org/pkg/speedcrunch
I tries to find another Qt calculator, but could not find any. Hence for now LXQt installs on Trixie won't ship with a GUI calculator. But again Sid contains everything, hence RISC-V is not affected.

Fixed for next DietPi release with: e643873
You can test it via dev branch:

G_DEV_BRANCH dev

It is not yet perfect. Somehow some of the applications lack icons, and the Adwaita icon theme does not provide fallback/override icons for them either. Even the LXQt panel itself lacks icons for some of its widgets, like the volume control and others in panel settings. One could install lxde-icon-theme and enable it ("nuoveXT2"), which adds some more icons. But they have worse quality and override some native application icons with older/worse ones, like Firefox.

Probably normal for Debian testing and/or unstable, not sure. I tested it on Trixie, so on Sid/RISC-V it could be theoretically different.

I actually always wanted to save those as plain text in the repo, instead of in 7zip archive. But was too lazy to change this now. Best would be to only change individual lines in the files served by Debian's lxqt-branding-debian package. Only the panel config is a larger change and hence easier with a complete file stored in our repo.

Wow, fast turnaround! Thanks @MichaIng !

You can test it via dev branch:
G_DEV_BRANCH dev

Which file do I add that line? Or is G_DEV_BRANCH an environment variable?

I ran

$ G_DEV_BRANCH dev
$ dietpi-software

From the menu, selected LXQt, selected Install, selected autostart option 7 : Automatic Login.

The install succeeded. 👍


Strangely, I wasn't able to get the display output to show anything.

I connected a monitor over HDMI and a Keyboard+Mouse combo device. No display output was sensed by the monitor so I shutdown -r now. Upon reboot, no display output was sensed. I also tried autostart option 2: Automatic Login but got the same result of no display output.
Using lsusb, I can see that the Keyboard+Mouse combo device I connected is sensed. However, lshw -c display and get-edid did not show any display information.

This is a different problem and I'll have to dig into it myself.

That sounds like a different issue indeed. There was no kernel upgrade in the meantime, was it? Checking back patches, nope, the dev branch does not apply a new one yet, and the latest on our server is v6.1.78-dietpi1, matching the one you had before. No other hardware changes/patches either 🤔.