enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Nov 13, 2023 1:13:12 GMT
You could install Bodhi 5.1 (or Escuelas based on it) to get xorg 1.19.6, then patch and install nvidia-304 manually, then install firefox 94 manually, then webgl should work, so that webcad app should work.
For what it's worth, I did that myself years ago on bodhi 5.1 on my athlon to get nvidia-304 working on nvidia 5100, and still run bodhi 5.1 on my primary laptop, and it's still fine for me, so think that'd be fine for educational use. It's the old version of firefox that technically has known security issues I'd be slightly slightly worried about.... but I mean I doubt anybody is saving anything secret on educational machines anyway even in the super unlikely chance some website/hacker exploited old security issues to get in.
|
|
|
Post by maxheadroom on Nov 13, 2023 5:50:17 GMT
There are many alternatives, and this is a good thing. I'll go over them one by one next week, because this one I'll be away from school. Thank you both!
|
|
|
Post by maxheadroom on Nov 20, 2023 20:45:17 GMT
You could install Bodhi 5.1 (or Escuelas based on it) to get xorg 1.19.6, then patch and install nvidia-304 manually, then install firefox 94 manually, then webgl should work, so that webcad app should work.
For what it's worth, I did that myself years ago on bodhi 5.1 on my athlon to get nvidia-304 working on nvidia 5100, and still run bodhi 5.1 on my primary laptop, and it's still fine for me, so think that'd be fine for educational use. It's the old version of firefox that technically has known security issues I'd be slightly slightly worried about.... but I mean I doubt anybody is saving anything secret on educational machines anyway even in the super unlikely chance some website/hacker exploited old security issues to get in.
Unfortunately, the easy trick through Firefox settings didn't work, as they already were set to false. Would you please care to elaborate on how could I try this solution? What are the drawbacks in using an old version?
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Nov 25, 2023 11:12:10 GMT
You could install Bodhi 5.1 (or Escuelas based on it) to get xorg 1.19.6, then patch and install nvidia-304 manually, then install firefox 94 manually, then webgl should work, so that webcad app should work. Would you please care to elaborate on how could I try this solution? Sorry for the late reply, been traveling for the past week (kids off school for US Thanksgiving holiday). I'm assuming 32-bit; if you have more than 3GB memory and 64-bit CPU then 64-bit OS is recommended and instructions are slightly different (let me know!).
sudo apt update sudo apt install linux-generic-hwe-18.04 sudo apt dist-upgrade reboot Next, download, patch, and install the proprietary nvidia driver. You'll need to install git and some other build tools first. Note to run the actual installer you have to kill the x server and type the last couple commands from tty. The following should work for up to kernel 5.4, which is the latest hwe kernel available for Bodhi 5.1. Ask if any questions and if it doesn't work first time report back, I haven't tried it on clean system and could have missed something: sudo apt install git gcc make build-essential gcc-multilib dkms mesa-utils mkdir -p ~/nvidia-304 && cd ~/nvidia-304 git clone https://github.com/jorgem-seq/NVIDIA-Linux-304.137-patches wget https://us.download.nvidia.com/XFree86/Linux-x86/304.137/NVIDIA-Linux-x86-304.137.run chmod +x NVIDIA-Linux-x86-304.137.run ./NVIDIA-Linux-x86-304.137.run -x cd NVIDIA-Linux-x86-304.137 patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0001-disable-mtrr-4.3.patch patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0002-pud-offset-4.12.patch patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0003-nvidia-drm-pci-init-4.14.patch patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0004-timer-4.15.patch patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0005-usercopy-4.16.patch patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0006-do_gettimeofday-5.0.patch patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0007-subdirs-5.3.patch patch -p1 <../NVIDIA-Linux-304.137-patches/patches/0008-on-each-cpu-5.3.patch sudo service lightdm stop # you will have to login in TTY (CTRL+ALT+F2) sudo ~/nvidia-304/NVIDIA-Linux-x86-304.137/nvidia-installer # Say ok/yes to everything the installer asks sudo apt install --reinstall libvdpau1 sudo update-initramfs -u reboot If so far so good, download and install Firefox 93. To install, assuming 32-bit Greek version: wget https://ftp.mozilla.org/pub/firefox/releases/93.0/linux-i686/el/firefox-93.0.tar.bz2 -P /tmp sudo mkdir -p /opt sudo tar jxvf /tmp/firefox-93.0.tar.bz2 -C /opt sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/install-firefox-linux/firefox.desktop -P ~/.local/share/applications Run firefox and disable updates by opening about:config and setting the following four options to false: app.update.auto app.update.checkInstallTime app.update.staging.enabled browser.region.update.enabled
With any luck, webgl should be working and your cad website should work too.
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Nov 25, 2023 21:16:26 GMT
What are the drawbacks in using an old version? Okay this one a little more complicated to answer. For one, there are security issues, you would be more susceptible to some known exploits. I'm no expert on this, but personally wouldn't worry about it if you're behind a firewall and don't keep anything critical or super private on the machines anyway, but if this concerns you, probably need someone who understands those issues better to evaluate. Although you'll be stuck using that old firefox for webgl support, doesn't mean you can't use another modern web browser for everything else, for added security, i.e. use chromium for general web browsing and firefox 93 just for CAD to avoid potential issues. As to practical stuff. Bodhi is no longer updating the BL5 repos, so that means, you'll be stuck using a slightly older version of Moksha, without the latest features and fixes. It's still perfectly usable tho. Ubuntu is no longer provding updates either, unless you register with canonical, and then you get their ESM 10-year Extended Long Term Support, i.e. security updates (but not version updates). I've done so myself, it's free for up to five computers for personal use. I'd imagine it's free for educational use too. (Businesses use must pay, thats one of the ways canonical makes money). So, the last thing is, older software versions in repos. If you install 64-bit instead of 32-bit, then you can use flatpak to install anything you need newer from flathub. But flathub doesn't offer 32-bit apps, so if you need a newer version of something than what came with ubuntu 18.04, you'll have to track down a PPA or 3rd party build or build it yourself, which may be easy or may be difficult, depends on the app and what other people out there may have done already. In the previous post I gave step-by-step for 32-bit OS, and suggested if you have more than 3GB and a 64-bit CPU you should use 64-bit OS instead. Well even if you have 3GB or less, if you want to be able to use flathub (and have 64-bit CPU) that could be a reason to do it anyway. 64-bit OS uses slightly more memory to run stuff, so if you only have 1-2 GB it's not quite as efficient as running 32-bit OS, but if it means being able to run a certain app you really want that you couldn't run without it, it may be worth it to you. Also, modern google-chrome and electron apps require 64-bit OS, this includes apps like element, discord/webcord, vscodium, freetube... although element & discord can be used in a browser on 32-bit OS, just not the native client...
|
|
|
Post by maxheadroom on Nov 27, 2023 10:52:01 GMT
Thank you for the very detailed answers. Indeed, the machines have 1.5-2 GB RAM, so it has to be 32-bit. I'll try to implement this solution when I have the time, but I must say it looks a bit hard for my level of knowledge. Finding compatible video cards may be an easier and better solution but it is something different from what you are proposing, as it requires additional hardware.
|
|
eor2004
Member
Linux User Since 2007
Posts: 21
Likes: 15
|
Post by eor2004 on Dec 2, 2023 21:13:20 GMT
Hi, there's also Foxclone, I have tried both, Clonezilla & Foxclone and they both works like a charm, but foxclone is a little more user friendly or easier to use, cheers! Download Foxclone: foxclone.org/downloads.htmlFoxclone user's guide (page 23 is what you're looking for, cloning drive to drive, cheers!): foxclone.org/uguide.html
|
|