ati xrandr: cannot find crtc for output DVI-0

Jan Dittmer jdi at l4x.org
Mon Aug 27 23:32:49 PDT 2007


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?
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?

Section "Device"
         Identifier      "Generic Video Card"
         Driver          "radeon"
#       Option          "Monitor-VGA-0" "AMW"
#       Option          "Monitor-DVI-0" "GNR"
         Option          "Monitor-S-video" "Svideo"
EndSection

Section "Monitor"
         Identifier      "Svideo"
         Option          "Enable" "no"
EndSection

Section "Monitor"
         Identifier      "AMW"
         HorizSync       31-83
         VertRefresh     56-60
         Option          "DPMS"
         Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 
1028 1060  -HSync +Vsync
         Option "PreferredMode" "1280x1024_60.00"
#       Gamma   0.8     0.8     0.8
EndSection


Section "Monitor"
         # gnr
         Identifier      "GNR"
         HorizSync       31-83
         VertRefresh     56-60
         Option          "DPMS"
         Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 
1028 1060  -HSync +Vsync
         Option "PreferredMode" "1280x1024_60.00"
         Option "RightOf" "AMW"
#       Gamma   0.8     0.8     0.8
EndSection

Section "Screen"
         Identifier      "Default Screen"
         Device          "Generic Video Card"
         Monitor         "AMW"
         DefaultDepth    16
         SubSection "Display"
                 Depth           16
                 Modes           "1280x1024_60.00 1280x1024"
                 Virtual         2560    1024
         EndSubSection
EndSection

Thanks,

Jan



More information about the xorg mailing list