Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #55325

Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2

From lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2
Date 2016-10-04 22:30 +0200
Message-ID <soEvD-7yl-7@gated-at.bofh.it> (permalink)
References <soroJ-7em-7@gated-at.bofh.it> <soygx-3mh-13@gated-at.bofh.it> <soyqe-3pI-9@gated-at.bofh.it> <sozcB-47o-25@gated-at.bofh.it> <soDzz-6UU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Tue, Oct 04, 2016 at 09:22:17PM +0200, Mathieu Malaterre wrote:
> On Tue, Oct 4, 2016 at 4:44 PM, Lennart Sorensen
> <lsorense@csclub.uwaterloo.ca> wrote:
> > On Tue, Oct 04, 2016 at 03:49:12PM +0200, Samuel Thibault wrote:
> >> € grep bogl_set_palette *
> >> bogl.c:      bogl_set_palette = bogl_fb_set_palette;
> >> bogl.c:         bogl_set_palette = bogl_fb_set_palette;
> >> bogl.c:         bogl_set_palette = bogl_tcfb_set_palette;
> >> bogl.c:   the palette with bogl_set_palette() for this to take effect. */
> >> bogl.h:void (*bogl_set_palette) (int c, int nc, const unsigned char palette[][3]);
> >> bogl-test.c:  bogl_set_palette (0, 16, palette);
> >> bogl-test.c:      bogl_set_palette (6, 8, pixmap->palette);
> >> bowl.c:  bogl_set_palette (0, 16, (const unsigned char (*)[3]) palette);
> >> bterm.c:  bogl_set_palette(0, 16, palette);
> >> bterm.c:        bogl_set_palette(0, 16, palette);
> >> ChangeLog:    * bterm.c (main): Call bogl_set_palette after VT switch.
> >>
> >> It looks like bterm always set only colors 0-15.
> >
> > So it does.  Hmm, I will compare the code some more.
> >
> > Has it been confirmed that radeonfb does not have wrong colours while
> > offb on the same machine does?
> >
> > And what video mode does radeonfb run with?  I wish someone had dmesg
> > dumps of both offb and radeonfb, but I am not having much luck finding
> > any with google.
> 
> Attached.

Could you try what offb does if you boot with the kernel option:
video=1680x1050-32

I just wonder if that makes bterm work with right colors.

Of course it might not like it if it doesn't know how to change the mode
on an "Unknown" type of device.

Unfortunately /proc/iomem on powerpc is apparently totally useless.

-- 
Len Sorensen

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Mathieu Malaterre <malat@debian.org> - 2016-10-04 08:30 +0200
  Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-04 15:50 +0200
    Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Samuel Thibault <sthibault@debian.org> - 2016-10-04 16:00 +0200
      Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-04 16:50 +0200
        Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Mathieu Malaterre <malat@debian.org> - 2016-10-04 17:00 +0200
          Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-04 17:10 +0200
        Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-04 22:30 +0200
          Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Mathieu Malaterre <malat@debian.org> - 2016-10-05 18:50 +0200
            Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-05 19:50 +0200
              Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Mathieu Malaterre <malat@debian.org> - 2016-10-05 21:00 +0200
                Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-05 21:30 +0200
                Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Mathieu Malaterre <malat@debian.org> - 2016-10-06 07:50 +0200
                Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-06 16:20 +0200
                Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Gianluca Renzi <icjtqr@gmail.com> - 2016-10-06 16:40 +0200
                Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-06 17:20 +0200
                Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 Mathieu Malaterre <malat@debian.org> - 2016-10-06 22:10 +0200
  Bug#825840: Possible fix for colour invertion on ATY,Rockhopper2 lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-10-04 18:00 +0200

csiph-web