Hi Samuel ! On Sun, Sep 4, 2016 at 11:07 PM, Samuel Thibault <sthiba...@debian.org> wrote: > Hello, > > Mathieu Malaterre, on Sat 03 Sep 2016 16:00:15 +0200, wrote: >> Some more information. I do not believe this is a 'simple' missing >> byteswap operation in bterm source code. >> >> During debian-installer if I boot using: >> >> > install32 >> >> I can observe the red/blue inversion (using an OFFb fb) >> >> Now if I do: >> >> > install32 video=offb:off >> >> I *cannot* observe the red/blue inversion (using a radeonfb fb). > [...] >> So there is something very subbtle (at least to me) that makes bterm >> have a different behavior in OFFb vs radeonfb cases. > > Could you run the attached test in both cases?
$ gcc -o t test.c Leads to: $ more test.offb.txt test.radeonfb.txt :::::::::::::: test.offb.txt :::::::::::::: 0 0 3 :::::::::::::: test.radeonfb.txt :::::::::::::: 0 0 3 I am also including the output of fbset -i in both cases as well: $ more fbset.offb.txt fbset.radeonfb.txt :::::::::::::: fbset.offb.txt :::::::::::::: mode "800x600-186" # D: 100.000 MHz, H: 119.048 kHz, V: 186.012 Hz geometry 800 600 800 600 8 timings 10000 16 16 16 16 8 8 rgba 8/0,8/0,8/0,0/0 endmode Frame buffer device information: Name : OFfb ATY,RockHo Address : 0x9c008000 Size : 614400 Type : PACKED PIXELS Visual : PSEUDOCOLOR XPanStep : 0 YPanStep : 0 YWrapStep : 0 LineLength : 1024 Accelerator : No :::::::::::::: fbset.radeonfb.txt :::::::::::::: mode "1680x1050-60" # D: 146.263 MHz, H: 65.296 kHz, V: 59.960 Hz geometry 1680 1050 1680 1050 8 timings 6837 280 104 30 3 176 6 hsync high rgba 8/0,8/0,8/0,0/0 endmode Frame buffer device information: Name : ATI Radeon 5962 Address : 0x98000000 Size : 33554432 Type : PACKED PIXELS Visual : PSEUDOCOLOR XPanStep : 8 YPanStep : 1 YWrapStep : 0 LineLength : 1728 MMIO Address: 0x90000000 MMIO Size : 16384 Accelerator : ATI Radeon family Thanks !