Re: [i3] i3 colors on minimal x11

2014-08-28 Thread grubernd

[resolved]

okay, this was a problem with the Raspberry Pi, i3 was just on the
receiving end as expected. my i3 on the rpi/arch looks fine now.

fyi, you need the following settings in your /boot/config.txt on the RPi:

framebuffer_depth=24
framebuffer_swap=1

if pixel-corruptions happen, use this:

framebuffer_depth=32
framebuffer_ignore_alpha=1
framebuffer_swap=1

apparently they have hardcoded the directfb channel assignments and were
doing some funny BGRA business. by setting the swap setting everything
looks right due to RGBA.

information extracted from these threads:
https://github.com/raspberrypi/firmware/issues/41
http://www.raspberrypi.org/forums/viewtopic.php?t=22802&p=214478

cheers,
grubernd

On 2014-08-29 01:33, grubernd wrote:

hi michael,

On 2014-08-28 09:36, Michael Stapelberg wrote:> I’ve noticed this on a
Raspberry Pi as well. i3 only supports truecolor,
 > so I suspect the graphics driver on the Raspberry Pi that you are using
 > does not support truecolor.
 >
 > See also http://bugs.i3wm.org/report/ticket/434
 >

thanks for the confirmation.
my current driver is

 > xf86-video-fbdev

which works very well in all other regards, including displays from 15"
to fullHD TVs without any extra work. things like slideshows of RGB
images via feh also work correctly.

i'll poke around and see if i can find another driver that works (better).

thanks,
grubernd








Re: [i3] i3 colors on minimal x11

2014-08-28 Thread grubernd

hi michael,

On 2014-08-28 09:36, Michael Stapelberg wrote:> I’ve noticed this on a 
Raspberry Pi as well. i3 only supports truecolor,

> so I suspect the graphics driver on the Raspberry Pi that you are using
> does not support truecolor.
>
> See also http://bugs.i3wm.org/report/ticket/434
>

thanks for the confirmation.
my current driver is

> xf86-video-fbdev

which works very well in all other regards, including displays from 15" 
to fullHD TVs without any extra work. things like slideshows of RGB 
images via feh also work correctly.


i'll poke around and see if i can find another driver that works (better).

thanks,
grubernd



Re: [i3] i3 colors on minimal x11

2014-08-28 Thread Michael Stapelberg
Hi grubernd,

grubernd  writes:
> finally getting more playtime with i3. it behaves marvellously fast on a 
> RaspberryPi with Arch Linux underneath. i try to build a very minimal 
> system there, so i3 runs directly from .xinitrc and my .Xresources just 
> contains two settings for xterm (locale and a font).
I’ve noticed this on a Raspberry Pi as well. i3 only supports truecolor,
so I suspect the graphics driver on the Raspberry Pi that you are using
does not support truecolor.

See also http://bugs.i3wm.org/report/ticket/434

-- 
Best regards,
Michael


[i3] i3 colors on minimal x11

2014-08-27 Thread grubernd

hi..

finally getting more playtime with i3. it behaves marvellously fast on a 
RaspberryPi with Arch Linux underneath. i try to build a very minimal 
system there, so i3 runs directly from .xinitrc and my .Xresources just 
contains two settings for xterm (locale and a font).


what i currently dont understand is that i3 doesnt use the RGB-values in 
the bar{colors{}} section but seems to pick colors from a 8 or 16 color 
palette.


e.g. using:
background #33
draws the statusbar in a medium blue.

background #44
draws the statusbar in a green.

other applications have no problems displaying full RGB content, so it 
is not the driver/display.


any hints where to dig deeper are highly appreciated as i couldnt yet 
find an answer in the userguide or the arch wiki.


cheers,
grubernd