Page 1 of 2
How to get X running
Posted: 29 Oct 2021, 21:41
by Liquidpaper
Hi everyone,
I am excited to get Porteus 4.0 booting but I can't get X. Is there a way to install additional drivers for my card?
On display
Code: Select all
Input signal out of range change settings to 1280x1024x60
One card (ATI RAGE 128 shows a message on my display: out of sync. Replaced the card with NVIDIA RIVA TNT2 and now shows the graphics started but not really is flashing every 2 seconds. Any suggestions will be really appreciated, thanks so much!
I tried Xconfigurator, Xf86config but commands were not found
How to get X
Posted: 30 Oct 2021, 03:01
by Ed_P
To list the drivers your system has: in root use lspci | grep VGA
To add a driver create or download a .xzm file for it and put it your /porteus/modules folder.
Use
http://porteus.org/porteus-mirrors.html to find a mirror close to you
How to get X
Posted: 30 Oct 2021, 05:13
by Liquidpaper
thanks, Ed. lspci will give the cards I currently have (mentioned ATI or NVIDIA)
1 Why do you think I need (another) driver?
2 How to find what driver is in use currently? I supposed a generic
3 I looked at mirrors and the .xzm but can't see anything related to GPX, can anybody be more specific, please
Thanks a lot guys, this OS rock!
How to get X
Posted: 30 Oct 2021, 05:42
by Ed_P
Liquidpaper wrote: ↑30 Oct 2021, 05:13
1 Why do you think I need (another) driver?
It sounds like your screen isn't working.
Liquidpaper wrote: ↑30 Oct 2021, 05:13
2 How to find what driver is in use currently? I supposed a generic
lspci -knn should show what drivers are in use.
It would help if you told us what ISO you are working with and how you installed it.
How to get X
Posted: 30 Oct 2021, 11:57
by donald
@ Liquidpaper
riva tnt2
This ancient card should be supported by the nouveau driver
https://nouveau.freedesktop.org/CodeNames.html
If it doesn't work properly [and depending on what resolution you want to achieve]
try to boot with
nomodeset
Another thing to try:
blacklist nouveau - maybe another driver like xf86-video-nv will be used.
to blacklist nouveau create a
nouveau-blacklist.conf with following content:
blacklist nouveau
options nouveau modeset=0
and put this file into /etc/modprobe.d/ > reboot.
good luck
How to get X
Posted: 30 Oct 2021, 14:20
by Liquidpaper
Thank so much guys, that was real helpful.
I am booted either PXE or CD-live with Porteus_v4.0_Mate_x086.iso (32bits).
I am running live-CD. The "frugal" installation will be topic on other post/
Tried to boot nomodeset with ATI-RAGE no work. I will switch the card to NVIDIA-TNT2 and try with that nomodeset and let you guys know. BWY I think TNT2 should be preferred what do you guys recommend?
lsp -knn shows no kernel module/driver for the AMD RAGE card. Thus no driver loaded. I can find the driver as .xzm downoald it and load it as Ed_P mentioned on his answer? I really like that little challenge. If that will no work I will try the blacklisting way. Thanks a million and please excuse my apparent weirdness, I am just a stupid novice user.
Update:
with NVIDIA-TNT2. nouveau loaded I was able on time to startx. I will keep trying. I tried to blacklist nouveau driver but no no success.
Brisk menu has quit unexpectedly
How to get X
Posted: 31 Oct 2021, 00:15
by donald
Liquidpaper wrote: ↑30 Oct 2021, 14:20
I think TNT2 should be proffered what do you guys recommend?
The one that can be brought to life.
Honestly, both cards are over 20 years old.I wouldn't expect miracles.
old cards / drivers / kernel /Xorg obstacles:
https://flaterco.com/kb/video/X-regressions.html
How to get X
Posted: 31 Oct 2021, 02:22
by Liquidpaper
Thanks so much donald.
We are progressing GUI almost OK, but mouse pointer has a cross and the screen flickers, it looks like is not really load everything.
Tried to update database: I
and
Code: Select all
FATALL ERROR:
usm update_database 248
could not decompress checksums.md5.gz
I have 184 M (2%) available on /mnt/live
How to get X
Posted: 31 Oct 2021, 12:06
by donald
...usm..porteus 4
Long story short.
Run following script. It may still work.
Run it as guest and enter the Pw when asked for it.
If you want more info about the 'why', read the linked threads.
usmupdate2021.sh
Code: Select all
#!/bin/sh
# Based on suggestions from donald:
# https://forum.porteus.org/viewtopic.php?p=82013#p82013
# https://forum.porteus.org/viewtopic.php?p=82046#p8204
function Title() {
echo -en "\033]0;$1\a";
}
Title "USM Update"
if [ `whoami` != "root" ]; then
echo "Enter root's password" $(tput bold)$(tput setaf 1) # 1-red, 2-green, 6-cyan, 7-white
su -c "sh $0 $1 $2"; exit
fi
echo $(tput sgr0)
if [ ! -e /etc/usm/usm.conf.bkup ]; then
cp /etc/usm/usm.conf /etc/usm/usm.conf.bkup
fi
sed -i 's^patches slacky salix^patches salix^' /etc/usm/usm.conf
usm -u all
rm --force /var/usm/slacky/*
touch /var/usm/slacky/{CHECKSUMS.md5,LIBS.TXT,OPTIFEST,PACKAGES.TXT};
#https://forum.porteus.org/viewtopic.php?p=82046#p82046
cp /etc/usm/usm.conf.bkup /etc/usm/usm.conf
echo "USM Update done."
echo "Press Enter to exit"
read
when done, close the terminal and open a new one to use usm.
EDIT
still working..
Code: Select all
guest@porteus:~/Public$ ./usmupdate2021.sh
Enter root's password
Password:
Starting slackware database update
Downloading: vercheck.txt DONE
Downloading: CHECKSUMS.md5 DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slackware database updated.
Updating config file
Starting slackwarepatches database update
Downloading: CHECKSUMS.md5 DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slackwarepatches database updated.
Starting salix database update
Downloading: CHECKSUMS.md5 DONE
Downloading: PACKAGES.TXT DONE
Downloading: LIBS.TXT.gz DONE
Downloading: OPTIFEST.gz DONE
salix database updated.
Starting alien database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
alien database updated.
Starting ponce database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
Optimizing manifest
ponce database updated.
Starting slackonly database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
File verification was good.
Optimizing manifest
slackonly database updated.
Starting sbo database update
SLACKBUILDS.TXT.gz
Downloading: SLACKBUILDS.TXT.gz DONE
sbo database updated.
Downloading: extra-deps.txt DONE
Downloading: ignore-deps.txt DONE
USM Update done.
Press Enter to exit
How to get X
Posted: 31 Oct 2021, 19:16
by Liquidpaper
Thanks Donald, can you please why you needed this patch on a freshly installed official Porteus?
As far as I can see in /etc/usm/usm.conf the DISTROS section all the mirrors are referenced.
How to get X
Posted: 31 Oct 2021, 19:30
by donald
In short
slacky mirror(s) didn't work
If you (only) remove slacky from the DISTROS line USM will update the remaining databases but
still won't work.
restarting USM?? (Post by donald #82033)
and
restarting USM?? (Post by donald #82040)
How to get X
Posted: 31 Oct 2021, 20:33
by Liquidpaper
that is what I noticed and removed slacky first no go then let slacky in distros but created a dummy file OPTIFEST no go.
that (your patch) make a bit more sense to me thanks so much but still confused with:
d) one can use USM as usual
Note: do not run usm -u all again.
you mean never?
How to get X
Posted: 31 Oct 2021, 21:27
by donald
A huge part of the work was done by
Ed_P, i would call it 'teamwork'.
Note: do not run usm -u all again.
you mean never?
The script wasn't ready/complete at that time.
Should be OK now if you run it again.
[not tested - my system is read-only so I run this script only once if I need to.]
How to get X
Posted: 31 Oct 2021, 22:07
by Ed_P
Liquidpaper wrote: ↑31 Oct 2021, 20:33
Note: do not run usm -u all again.
you mean never?
You can run it repeatedly if you want
Liquidpaper. Try it and see what happens. I run it periodically to keep things updated.
donald wrote: ↑31 Oct 2021, 21:27
A huge part of the work was done by Ed_P, i would call it 'teamwork'.
Agreed.

After many posts between us.

How to get X
Posted: 31 Oct 2021, 22:37
by Liquidpaper
I did the manual (also .sh patch) mode following your instructions and both worked fine. I installed a package, all good. But still got errors after that when usm -u all. However I am able to install new packages which is the thing, but because usm -u all still fails on *.bz2 from slackonly not good. Thinking to remove slackonly.
Thanks both, great team
