ati xrandr: cannot find crtc for output DVI-0

Jan Dittmer jdi at l4x.org
Wed Aug 29 05:00:53 PDT 2007


Alex Deucher wrote:
> On 8/28/07, Jan Dittmer <jdi at l4x.org> wrote:
>> Alex Deucher wrote:
>>> On 8/27/07, Jan Dittmer <jdi at l4x.org> wrote:
>>>> Alex Deucher wrote:
>>>>>> Hmmm... I haven't seen this myself, but I does remind me of a similar
>>>>>> problem we had years ago, that may have resurfaced with all the
>>>>>> refactoring of the driver.  I'll see if I can dig up what the solution
>>>>>> was.
>>>>> I think perhaps disp_merge_cntl or disp2_merge_cntl is programmed
>>>>> wrong, (although I can't see how).  Can you dump the values of those
>>>>> regs using radeontool from git?
>>>>>
>>>>> e.g.,
>>>>> radeontool regmatch DISP_MERGE_CNTL
>>>>> radeontool regmatch DISP2_MERGE_CNTL
>>>> After some grepping and patching:
>>>>
>>>> $ sudo ./radeontool regmatch DISP2_MERGE_CNTL
>>>> DISP2_MERGE_CNTL (0d68) 0x00000000
>>>> $ sudo ./radeontool regmatch DISP_MERGE_CNTL
>>>> DISP_MERGE_CNTL (0d60)  0xffff0000
>>> hmmm... those look fine.  does the problem persist at depth 16?
>> Yes. I've the following in my xorg.conf now. If I understand
>> the xorg.conf man page correctly this should disable Svideo
>> on X start? Well, it does not work as expected. Also, when
>> I enable the two Monitor lines below, the primary output switches
>> to the DVI output and the color problems are _much_ worse. Perhaps
>> this helps?
> 
> Can you try updating to the latest driver bits?  I'm not sure about
> the color/brightness yet, but the tv-load detection has been

The latest driver (as pulled of 20 minutes before this mail) disables
the s-video output and puts the monitors in clone yes. Also the xorg.conf
posted earlier now correctly configures multi-head mode. Thanks!

> re-worked.  Do you have any color management or gamma correction
> packages installed that automatically run at start up?  do you still
> get the brightness if you star up a bare X server?

Yes. Synchronization and picture quality on the dvi->vga head seems
much worse than the one on the vga output in general even when
configuring the exacltly same modes. I'll see that I a) dig up a
dvi cable without the 4 extra pins, b) a new adapter and c) a new
vga cable and see if that makes a difference. Otherwise I've a X300
lying around which I could try instead (is that card supported?).

>> Also, I think if you get valid ddc information from the DVI
>> connector you can safely disable S-video by default (if not
>> specified otherwise in the config).
>> Is the Virtual line still necessary with the current driver?
> 
> I've adjusted the default desktop size based on vram, but you may want
> to adjust it manually depending on your set up.  It will print in the
> log what size it is using.  We won't have dynamic resizing until the
> drm memory manager bits land.

With 128mb of VRAM it gives 2048x2048. A bit small... Has this value
to be quadratic? I guess most people have their monitors side by side.
So at least it should be 2560x1024 if not 3200x1200 by default to
accomodate the most common multi-head setups. I take it that you can
also reduce it with the Virtual stanca?

Jan




More information about the xorg mailing list