Benjamin Herrenschmidt wrote:
>> mode "1024x768-60"
>>     # D: 64.666 MHz, H: 48.115 kHz, V: 59.696 Hz
>>     geometry 1024 768 1024 1020 32
>>     timings 15464 144 40 29 3 136 6
>>     rgba 8/16,8/8,8/0,8/24
>> endmode
> 
> For some reasons, you set your console to 32 bits mode. I never
> had cursors working properly in fbdev's with a bit depth different
> than 8 bits (and I also fail to see the interest in running the
> console with a different bit depth ;)
> 
> the default depth beeing 8 bits, I suspect you are explicitely
> switching it to 32 some way. Try switching it back to 8.
> 
> Ben.
> 

Exactly!

Ben's estimation was the right one.

In the "kernel arguments" line of BootX I had the expression
`video=atyfb:vmode:14,cmode:32,mclk:95 hda=autotune', which I found
somewhere on the net as a hint.

After changing the expression to
`video=atyfb:vmode:14,cmode:8,mclk:95 hda=autotune', the cursor came back!

I also tried out colour bits of 15 and 16, but everything above 8 resulted
in a vanishing cursor.

Also the boot process seems to accelerate. Here are the `fbset' and `fbset
-x' outputs:

before the switch:

mode "1024x768-60"
    # D: 64.666 MHz, H: 48.115 kHz, V: 59.696 Hz
    geometry 1024 768 1024 1020 32
    timings 15464 144 40 29 3 136 6
    rgba 8/16,8/8,8/0,8/24
endmode

Mode "1024x768"
    # D: 64.666 MHz, H: 48.115 kHz, V: 59.696 Hz
    DotClock 64.667
    HTimings 1024 1064 1200 1344
    VTimings 768 771 777 806
    Flags    "-HSync" "-VSync"
EndMode

and after the switch:

mode "1024x768-60"
    # D: 64.666 MHz, H: 48.115 kHz, V: 59.696 Hz
    geometry 1024 768 1024 4080 8
    timings 15464 144 40 29 3 136 6
    accel true
    rgba 8/0,8/0,8/0,0/0
endmode

Mode "1024x768"
    # D: 64.666 MHz, H: 48.115 kHz, V: 59.696 Hz
    DotClock 64.667
    HTimings 1024 1064 1200 1344
    VTimings 768 771 777 806
    Flags    "-HSync" "-VSync"    # Warning: XFree86 doesn't support accel
EndMode

Now I understand, that the colour bit depth of the Debian console can be and
has to be lower than the bit depth of the x-windowing system.

The mclk value of 95 is the highest one I can use. Values below 75 will
result in line artefaxts in x-windows.

Thanks
befu


Reply via email to