--- Mike Mestnik <[EMAIL PROTECTED]> wrote:
> I attached my log and config, just incase.
> 
> This is a short list of the things I have found odd with DRI.
> 1. Screen size and DPI, I never understood how this was going to work
> with dual heads.
> 2. A bug that won't let me use 256x240 in MFB, workes great in
> xineramia.
> 
> 1:
>   The screen size(in pixels or mm) is now x1 + x2 by (y1 > y2) * y1 +
> (y1 < y2) * y2.  Swap (y and
> x) and (1 and 2) where needed.  Then the DPI should be calculated
> using the largest or the default
> metamode.
> 
> This is what I see.
> (**) RADEON(0): MergedFB: Display dimensions: (330, 240) mm
> (**) RADEON(0): MergedFB: DPI set to (255, 152)
> 
> ?255? Oviously wrong!
> 

Xfree86 doesn't really have a way of setting different DPI values for
each head in a single logical screen scenario like xinerama or
mergedfb.  what xinerama does is kind of take an average of DPI values
from each head.  mergedfb works similarly.  it tries to get the values
from DDC and barring that, it attempts to calculate a sane base.  it
works in most instances.  however if you are not getting the value you
want, you can specify it as an option
option "MergedDPI" "100,100"
for example...

You can see how it gets calulated in radeon_mergedfb.c:
RADEONMergedFBSetDpi().  if you find anything that looks off let me
know, however I haven't had any problems with it and I don't see
anything off hand that looks off.

> 2:
>   I just can't get 256x240 and 1400x1050 to 1656x1050, it skips it
> and uses the next one 1024x768
> and 1024x768 to 1024x768 (Clone).  I have no idea what is going on
> here, nothing is left ought of
> the log.  I have set pll->min_pll_freq = 3000 and that got it working
> for xineramia.
> 

If you want to use a special 256x240 mode ([EMAIL PROTECTED] for example)
then you need to specify that mode name in your metamodes and the modes
sub-section of your screen config as well as defining the modeline. eg:
        SubSection "Display"
                Depth           16
                Virtual         3320 1440
                Modes           
                                "1920x1440"
                #               "1856x1392"
                #               "1792x1344"
                                "1600x1200"
                                "1400x1050"
                                "1280x1024"
                #               "1280x960"
                #               "1152x864"
                                "1024x768"
                                "800x600" "640x480"
                                "320x240"
                                "[EMAIL PROTECTED]"
                                ^^^^^^^^^^  add this!
this is because the metamodes draw from the modes listed in the screen
section of your config.

also you may have to specify a different crtc2 hsync/vrefresh range for
your custom modes since it seems to be too high for your mode:
(II) RADEON(0): Not using mode "[EMAIL PROTECTED]" (vrefresh out of range)

Also if you want to use the DRI, you will need to add
option "no2048limit" "true"
to your config otherwise the DRI is disabled  the current 3d client
code only supports 3D up to 2048x2048:
(WW) RADEON(0): Direct Rendering Disabled -- Virtual resolution exceeds
2048 (hardware limitation)
you can enable it with larger modes, but it will only owrk up to 2048. 
beyond that you will get an empty window.

Alex



__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to