Created attachment 185643 [details] Bad colours in console This problem mentioned in https://lists.freebsd.org/pipermail/freebsd-ppc/2016-September/008433.html It's not installer's problem, but system-related problem. There is problem with color console application when running in ttyv* (xterm) lines. Test with program from https://dev.yorhel.nl/dump/nccolour is a good example (see attachement). Blue instead red, cyan instead yellow, etc. Some yellow artefacts on white text aren't related to this problem. There is no error when applications running from remote (ssh, lines pts/*).
Have tested running https://dev.yorhel.nl/download/code/nccolour.c on my PowerMac G5 Quad, running 13-CURRENT. All colours looked fine on the screen attached to the system, and comparing to the screenshot on the web site, all looks good. Was this related to the newcons switch over? This looks like its no longer and issue. Have attached a picture of the screen.
Created attachment 211249 [details] Output of nccolour.c on 13-CURRENT - POWERPC64
(In reply to Francis Little from comment #1) > This looks like its no longer and issue. This (or very similar) problem had been recently reported* on the mailing list again, so perhaps a little more data points are needed before it can be declared as truly fixed. *) https://lists.freebsd.org/pipermail/freebsd-ppc/2019-December/010951.html
(In reply to Alexey Dokuchaev from comment #3) I have tested the issue in: https://lists.freebsd.org/pipermail/freebsd-ppc/2019-December/010951.html Running the following shell script on my G5 running 13-CURRENT printf "\033[30m%15s\033[0m\n" "BLACK #000000" printf "\033[31m%15s\033[0m\n" "RED #FF0000" printf "\033[32m%15s\033[0m\n" "GREEN #00FF00" printf "\033[33m%15s\033[0m\n" "YELLOW #FFFF00" printf "\033[34m%15s\033[0m\n" "BLUE #0000FF" printf "\033[35m%15s\033[0m\n" "MEGENTA #FF00FF" printf "\033[36m%15s\033[0m\n" "CYAN #00FFFF" printf "\033[37m%15s\033[0m\n" "WHITE #FFFFFF" The output to the console looks correct. I will attach a photo of the screen.
Created attachment 211257 [details] Shell Script Colour output G5
It wasn't working on mid December. Will re-test on Monday on a Dual CPU G5 in my lab and report.
Created attachment 211312 [details] Shell Script Colour Output PowerMac 7.2
OK, just tested the output of the Shell Script on a PowerMac 7.2. The bug is still there. So it seems to be that the bug is not present on all models...
Just to be clear: I'm using VT(ofwfb): resolution 1280x1024 on the PowerMac7,2, where the colours are not shown correctly.
(In reply to Michael Tuexen from comment #8) Michael, I think PowerMac 7.2 is 64 bit, but "uname" output shows you are running a 32 bit kernel. Was is it intentional? Anyway I was able to reproduce the wrong colors on my PowerBook G4 on FreeBSD 13-CURRENT. It may indicate the issue is on the 32 bit builds...
Yes, the machine is capable of doing 64 bit. How should I compile a 64-bit kernel? I'm using the following kernel config: include GENERIC64-NODEBUG ident TCP-NODEBUG makeoptions WITH_EXTRA_TCP_STACKS=1 options TCPHPTS options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=5 options IPFIREWALL_DEFAULT_TO_ACCEPT Since I'm including GENERIC64-NEDEBUG, I'm assuming that it is a 64-bit kernel...
sysctl reports: tuexen@bsd4:~/head/sys/powerpc/conf % sysctl hw.machine_arch hw.machine_arch: powerpc64
ah, you're probably on 64 bit kernel already: try 'uname -ap', it should append "powerpc64" to the output. I'll try to investigate this on my G4@home.
(In reply to Alfredo Dal'Ava Júnior from comment #13) tuexen@bsd4:~ % uname -ap FreeBSD bsd4.fh-muenster.de 13.0-CURRENT FreeBSD 13.0-CURRENT #27 r357426: Mon Feb 3 09:38:12 CET 2020 tuexen@bsd4.fh-muenster.de:/usr/home/tuexen/head/sys/powerpc/compile/TCP-NODEBUG powerpc powerpc64 So I think this is not a 32-bit versus a 64-bit issue. I also see the issue on a 32-bit G4 Powerbook.
(In reply to Michael Tuexen from comment #14) > I also see the issue on a 32-bit G4 Powerbook. I'd like to test it on Mac mini G4 (also ppc32), but still waiting for Justin's (or anyone's, FWIW) reply to my question about upgrading*. If anyone can share their numbers that'd be great! *) https://lists.freebsd.org/pipermail/freebsd-ppc/2019-December/011046.html
(In reply to Alexey Dokuchaev from comment #15) I installed the clang based builds on a PowerMac7,2, PowerMac7,2 and a G4 Powerbook by a fresh install using a snapshot from the ftp servers. Building world and kernel took about 2 days on a PowerMac7,2 with SMP disabled.
(In reply to Alexey Dokuchaev from comment #15) Probably just quicker to reinstall with one of the 13-CURRENT snapshots: http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/