Well, the problem described in the topic title just nails it. When I boot antix 15 on an old PII-Laptop, everything looks fine until the x-server has been started. The Boot-Messages show normal green »[ OK ]«-Messages. Once the graphical interface is active, all RGB-colors seem to be permuted in the way RGB -> BRG. So all grey-tone colors (incl. white and black) are just fine, but everything, that deviates more than a little from them, shows the wrong colors, e. g., red becomes blue, yellow gets magenta, green becomes dark red and so on. When echoing an escape sequence to trigger a green text output, it's not green any more, as during boot time. And it's not limited to one or a few window mangers. All window managers seem to suffer from the same problem. Which makes me believe, it has to do with the way, the graphics card is used. The graphics card is a Neomagic MagicGraph 256 AV. The driver used by the system seems to be vesa.
Is there anything I can do in order to get normal colors? Aside from this problem, antix seems to run just fine on that laptop.
topic title: Permuted RGB-colors after x-start
8 posts
• Page 1 of 1
-
Posts: 4
- Joined: 30 Oct 2015
-
Posts: 4,164
- Joined: 20 Feb 2009
#2
Post readout so members can see your gear. Howdy and Welcome.
also
in case any graphic log errors were logged.
Code: Select all
inxi -F
also
Code: Select all
cat /var/log/Xorg.0.log|grep vesa
-
Posts: 1,445
- Joined: 09 Feb 2012
#3
check sudo locate xorg.conf
If that configuration file does not exist, boot to runlevel 3 and run Xorg --configure to generate one.
Once a conf file exists, run xinit and if it doesn't return any errors (also check /var/log/Xorg.0.log), you should be all set.
antix ships a neomagic driver. You can run man neomagic to confirm this.The driver used by the system seems to be vesa.
check sudo locate xorg.conf
If that configuration file does not exist, boot to runlevel 3 and run Xorg --configure to generate one.
Once a conf file exists, run xinit and if it doesn't return any errors (also check /var/log/Xorg.0.log), you should be all set.
-
Posts: 4
- Joined: 30 Oct 2015
#4
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.brunolinux.com/05-Configuring_Your_System/Grub_boot_runlevel-3.html"
linktext was:"here"
====================================
. I didn't quite succeed. However:
Here it comes:rokytnji wrote:Postreadout so members can see your gear.Code: Select all
inxi -F
Code: Select all
System: Host: Oldgameslinux Kernel: 4.0.5-antix.1-486-smp i686 (32 bit)
Desktop: IceWM 1.3.8
Distro: antiX-15-V_386-full Killah P 30 June 2015
Machine: Mobo: ACER model: TravelMate 720
Bios: Phoenix v: V1.0 R01-D7 date: 10/29/99
CPU: Single core Mobile Pentium II (-UP-) cache: 256 KB
speed: 332 MHz (max)
Graphics: Card: Neomagic NM2200 [MagicGraph 256AV]
Display Server: X.Org 1.16.4 driver: vesa
Resolution: 1024x768@61.00hz
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
GLX Version: 3.0 Mesa 10.3.2
Audio: Sound: Advanced Linux Sound Architecture v: k4.0.5-antix.1-486-smp
Network: Card-1: 3Com 3cCFE575CT CardBus [Cyclone] driver: 3c59x
IF: eth0 state: down mac: 00:50:04:e9:16:7b
Card-2: Qualcomm Atheros AR5212/AR5213 Wireless Network Adapter
driver: ath5k
IF: wlan0 state: up mac: 00:40:96:a1:e3:c2
Drives: HDD Total Size: 60.0GB (7.3% used)
ID-1: /dev/sda model: TOSHIBA_MK6025GA size: 60.0GB
Partition: ID-1: / size: 20G used: 3.6G (20%) fs: ext4 dev: /dev/sda3
ID-2: swap-1 size: 0.54GB used: 0.00GB (0%) fs: swap dev: /dev/sda4
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 96 Uptime: 3 min Memory: 87.1/244.7MB
Client: Shell (bash) inxi: 2.2.25
That tells:rokytnji wrote:Code: Select all
cat /var/log/Xorg.0.log|grep vesa
Code: Select all
[ 86.569] (II) LoadModule:"vesa"
[ 86.570] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 86.586] (II) Module vesa: vendor="X.Org Foundation"
[ 86.587] (II) VESA: driver for VESA chipsets: vesa
Apparently, the manpage does exist.skidoo wrote:antix ships a neomagic driver. You can run man neomagic to confirm this.
It doesn't.skidoo wrote:check sudo locate xorg.conf
If that configuration file does not exist,
How to do that? I already tried using GRUB2 with a »3« at the end, like describedskidoo wrote:boot to runlevel 3
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.brunolinux.com/05-Configuring_Your_System/Grub_boot_runlevel-3.html"
linktext was:"here"
====================================
. I didn't quite succeed. However:
I tried that anyways and it says:skidoo wrote:run Xorg --configure to generate one.
Code: Select all
Fatal server error:
(EE) Unrecognized option: --configure
-
Posts: 1,445
- Joined: 09 Feb 2012
#5
mistyped.
Xorg --configure
should be
Xorg -configure
(one dash, not two)
If adding (space character and the numeral 3) to the end of your boot line didn't bring you to a runlevel 3 command prompt... I'm stumped.
Also, I'm wondering whether your boot options are FORCING vesa to be loaded.
Whatever options on your antix boot screen (F4? F5?) if they are set to something other than"default", maybe the chosen options are forcing vesa
or are forcing a"can't do, so falls back to vesa" scenario.
(or, can't load the neomagic driver until the xorg config file is created)
Hmm, typing man neomagic doesn't return a manpage for you.
You typed that into a terminal, not into Alt+F2 gExec runbox, right? (Sorry, begs to be asked.)
It's present in this antix15 install, a system having an nvidia geforce 8600... so how did the neomagic stuffs get installed here, but not yours?
Wondering whether something I've installed added that, I checked whatif I remove
xserver-xorg-video-neomagic
shows xserver-xorg-video-all package would be removed. That can't be good!
-=-
Tried a different tack.
/usr/share/antiX/installed.txt
(file is timestamped Jun29, the date of antix15 release) (contains a manifest of preinstalled packages)
Clearly it should be present on your antix15 system.
Xorg --configure
should be
Xorg -configure
(one dash, not two)
If adding (space character and the numeral 3) to the end of your boot line didn't bring you to a runlevel 3 command prompt... I'm stumped.
Also, I'm wondering whether your boot options are FORCING vesa to be loaded.
Whatever options on your antix boot screen (F4? F5?) if they are set to something other than"default", maybe the chosen options are forcing vesa
or are forcing a"can't do, so falls back to vesa" scenario.
(or, can't load the neomagic driver until the xorg config file is created)
Hmm, typing man neomagic doesn't return a manpage for you.
You typed that into a terminal, not into Alt+F2 gExec runbox, right? (Sorry, begs to be asked.)
It's present in this antix15 install, a system having an nvidia geforce 8600... so how did the neomagic stuffs get installed here, but not yours?
Wondering whether something I've installed added that, I checked whatif I remove
xserver-xorg-video-neomagic
shows xserver-xorg-video-all package would be removed. That can't be good!
-=-
Tried a different tack.
/usr/share/antiX/installed.txt
(file is timestamped Jun29, the date of antix15 release) (contains a manifest of preinstalled packages)
Above, you mentioned antiX-15-V_386-full (same here)line 1353 xserver-xorg-video-neomagic ...... 1:1.2.8-1+b2 ..... X.Org X server -- Neomagic display driver
Clearly it should be present on your antix15 system.
-
Posts: 4
- Joined: 30 Oct 2015
#6
Seems to work, in principle. However, I'm stuck with getting the system to go into init 3. Otherwise the x-server is running and the command refuses to generate me a xorg.conf. A »sudo init 3« doesn't seem to do anything.skidoo wrote:should be
Xorg -configure
So am I. __{{emoticon}}__skidoo wrote:If adding (space character and the numeral 3) to the end of your boot line didn't bring you to a runlevel 3 command prompt... I'm stumped.
When would I have to press that? On GRUB2 the options would be activated with »e«. F4 and F5 didn't seem to have any effect during the entire boot time, except for throwing a few characters on the screen, ack, that I've pressed a key.skidoo wrote:Also, I'm wondering whether your boot options are FORCING vesa to be loaded.
Whatever options on your antix boot screen (F4? F5?)
I can tell you, what's written into GRUB, if that helps.skidoo wrote:if they are set to something other than"default", maybe the chosen options are forcing vesa
or are forcing a"can't do, so falls back to vesa" scenario.
No, no, you read that wrong. __{{emoticon}}__ It does give me the man page.skidoo wrote:Hmm, typing man neomagic doesn't return a manpage for you.
And it probably is, as the manpage is. __{{emoticon}}__skidoo wrote:Clearly it should be present on your antix15 system.
-
Posts: 1,445
- Joined: 09 Feb 2012
#7
F4,F5 are liveboot options. Once installed, boot screen might not display those.
At the moment, I don't have an installed system to check.
man Xorg and man Xorg.conf
The result of
cat /var/log/Xorg.0.log|grep vesa
might not be telling the whole story. Something like the following might be more insightful
cat /var/log/Xorg.0.log|grep --before-context=8 --after-context=4 vesa
to see what (may be) failing and causing a fallback to vesa
grabbing at straws:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf_old
then
nano /etc/X11/xorg.conf
find the the line
Driver"vesa"
and change to
Driver"neomagic"
This, especially the mention of memory bandwidth, seems relevant:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.thinkwiki.org/wiki/Neomagic_MagicGraph256ZX"
linktext was:"http://www.thinkwiki.org/wiki/Neomagic_MagicGraph256ZX"
====================================
For your PentiumII system, forcing 8-bit color depth might be necessary.
At the moment, I don't have an installed system to check.
man Xorg and man Xorg.conf
The result of
cat /var/log/Xorg.0.log|grep vesa
might not be telling the whole story. Something like the following might be more insightful
cat /var/log/Xorg.0.log|grep --before-context=8 --after-context=4 vesa
to see what (may be) failing and causing a fallback to vesa
grabbing at straws:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf_old
then
nano /etc/X11/xorg.conf
find the the line
Driver"vesa"
and change to
Driver"neomagic"
This, especially the mention of memory bandwidth, seems relevant:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.thinkwiki.org/wiki/Neomagic_MagicGraph256ZX"
linktext was:"http://www.thinkwiki.org/wiki/Neomagic_MagicGraph256ZX"
====================================
For your PentiumII system, forcing 8-bit color depth might be necessary.
-
Posts: 4
- Joined: 30 Oct 2015
#8
That did the trick! Many thanks.skidoo wrote:nano /etc/X11/xorg.conf
find the the line
Driver"vesa"
and change to
Driver"neomagic"
Well, everything looks quite nice. And as this is meant only for office-like jobs, I'm not sure, if I need to change any of these settings. I don't intend to watch a lot of videos on that device, as everything is already not so... fast. =) And presentations... Well, I'd rather take another device on a talk, where I have to show a presentation. So, no harm done, when no big video resolution or beamer resolution with > 1280x1024 is available.skidoo wrote:This, especially the mention of memory bandwidth, seems relevant:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.thinkwiki.org/wiki/Neomagic_MagicGraph256ZX"
linktext was:"http://www.thinkwiki.org/wiki/Neomagic_MagicGraph256ZX"
====================================
For your PentiumII system, forcing 8-bit color depth might be necessary.