It is not DietPi that would need to be downgrade as DietPi is just a set of bash script. It would be Debian that would need to be downgraded
We don’t support Stretch anymore. As well Buster is on it’s way out. Anyway, I don’t think it would be possible to downgrade Debian as it would require all apt packages to be reinstall with Buster version.
States that unfortunately there is a driver only up to buster and sid, not on bullseye.
I tested sid nvidia legacy 340 driver install procedure from that link. Driver builds ok, but X env does not start.
I did it on current dietpi and on dev dietpi bookworm
I have this PC working ok, with debian 10 buster (kanotix) (2GB RAM pentium 4 dual core). I like the small dietpi memory footprint including desktop environment, that is why I wanted to use it on this box.
Is there any chance of having dietpi on buster? I just want this PC to browse the internet for desktop use.
I started loving DietPi and I see an space oportunity for old PCs, not a full support of course, but at least have some LTS dietpi versions and leave as-is old version supported by Debian with sec patches. Savvy users can maintain Debian installs in that case (respectful suggestion).
Thanks @joulinar. The best option is Debian Buster. Is there a chance to have the original script used by DietPi for Debian Buster?. In this case I can reinstall Buster in a dedicated partition an run DietPI script on it to “optimize” that install and I can maintain that install while Debian release security patches for Buster. I love DietPi small memory footprint in favor of my old PC. Thanks for your advice.
Reading package lists...
Building dependency tree...
Reading state information...
apt is already the newest version (220.127.116.11).
bash-completion is already the newest version (1:2.8-6).
ca-certificates is already the newest version (20200601~deb10u2).
console-setup is already the newest version (1.193~deb10u1).
cron is already the newest version (3.0pl1-134+deb10u1).
e2fsprogs is already the newest version (1.44.5-1+deb10u3).
firmware-linux-free is already the newest version (3.4).
hdparm is already the newest version (9.58+ds-1).
ifupdown is already the newest version (0.8.35).
iputils-ping is already the newest version (3:20180629-2+deb10u2).
kmod is already the newest version (26-1).
nano is already the newest version (3.2-3).
whiptail is already the newest version (0.52.20-8).
procps is already the newest version (2:3.3.15-2).
usbutils is already the newest version (1:010-3).
fdisk is already the newest version (2.33.1-0.1).
wget is already the newest version (1.20.1-1.1).
bzip2 is already the newest version (1.0.6-9.2~deb10u2).
curl is already the newest version (7.64.0-4+deb10u6).
locales is already the newest version (2.28-10+deb10u2).
isc-dhcp-client is already the newest version (4.4.1-2+deb10u3).
systemd-sysv is already the newest version (241-7~deb10u9).
udev is already the newest version (241-7~deb10u9).
tzdata is already the newest version (2021a-0+deb10u11).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
systemd-timesyncd : Depends: systemd (= 247.3-6~bpo10+1) but 241-7~deb10u9 is to be installed
Breaks: systemd (< 245.4-2~) but 241-7~deb10u9 is to be installed
E: Unable to correct problems, you have held broken packages.
nvidia 340 legacy driver is supported up to buster and sid. My expectation was to use Dietpi on this 2GB RAM box with 340-nvidia driver. I was testing running dietpi installation script on buster as @Joulinar advised above, but it seems there are broken packages. Unfortunatelly only bookworm and bullseye has support currently by DietPi.
It seems I will end up installing bullseye netinst+dietPI script to see performance with nouveau driver. I will give it a try as @pulpe advised above.
The Buster option has been removed from dietpi-installer since it is EOL from Debian end and DietPi itself will soon drop support for it as well.
That legacy Nvidia driver obviously does not build anymore on recent (well 5.10, also old already) Linux versions, at least not without patches, which is likely also the reason why Debian removed it with Bullseye. You could try the package from Sid but it might not work with this kernel either. What is the problem with nouveau?
Thanks @MichaIng for your response and for this spectacular product I am starting to love.
Yes, it seems I just have one option with nouveau driver. Steps:
Installed bullseye netinstall. nouvea driver was loaded ok.
run dietpi-installer. Run flawlessly.
3.1. Installer reports that there is no gfx installed and brings user to dietpi-config where there is an option for nvidia (it should contains an option to verify loaded gfx drivers). It seems it loads a generic nvidia driver that does not detect my legacy card. DO NOT USE THIS OPTION just continue. Installer, in this case, should detect loaded nouveau driver to avoid this option. Additionally dietpi-config should check dmesg messages to check if that nvidia driver detected gfx card ok and provide an option to install nouveau driver.
3.2. Loaded mate Desktop Env. shortcuts in SYSTEM to dietpi-software, and other should have a “sudo” before command to run. A normal user can be confused as this scripts require root priviledges.
So far I tested xfce and mate Desktop environments with 300MB memory used footprint, after loading (less than a half of a normal debian install). This is good!.
I wanted to install nvidia driver because I used that box to watch HLS streams delivered over HTTPS with Full HD resolution and internet browsing. mpv blames about slow hardware… streams are slow motion. That is the downside (not dietpi fault), but in general DietPI comes very well for my OLD and lovely PC. RPis boxes are not easy to buy nowaday…
Tested lxde, lxqt, xfce but I could not start gnustep as there is no gnustep-session- lxde just uses 210Mb. I like xfce.
Finally @MichaIng ,I see dietpi requires, as a good practice, minimum user intervention installing sw or tweeking config files. What areas are “red lines” to avoid and not affect Dietpi?
Thanks again to DietPI Team for this very good product.
The driver is preinstalled (Debian kernel module) and loaded automatically if a matching GPU is detected, along with the matching firmware. The only thing that could be additionally done is installing the nouveau DDX driver for X 2D/desktop acceleration:
apt install xserver-xorg-video-nouveau
But actually, I’m wondering if this gives any benefits over the generic modesetting DDX. It provides hardware acceleration as well via glamor (instead of EXA).
The shortcuts which do require root permissions are not installed on non-root desktops. When you run those scripts as non-root user, the error message should tell you that you need to call them with sudo. For pre-installing them with sudo included, we’d need to know which unprivileged user is actually aimed to do those tasks, and has sudo permissions. I think this is something the admin can better do manually, knowing which user is used for which tasks. Note that the dietpi user is about to be removed (from new DietPi images) and replaced with a prompt for optional user creation on first boot.