Bug 30927

Summary: ATI Radeon causes trouble with SAMSUNG LED-TV UE40B6000
Product: xorg Reporter: Martin <voyagehome>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium CC: voyagehome
Version: 7.5 (2009.10)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Martin 2010-10-16 15:04:32 UTC
I had planned to use my Samsung LED-TV (UE40B6000) as a secondary display connected to the DVI port (my 5:4 display is connected to the VGA port). But there are only two modes I can get it to work with: 1280x1024@60Hz and 1280x1024@75Hz. _All_ of the other modes produce a "unsupported video mode" on the TV screen.

Now here's the thing, it works fine under Windows, I can easily set the LED-TV to 1920x1080@60Hz as described in the TV's manual, i.e. just choose the settings under Windows (no extra driver required).

So, I thought I might have messed up my Ubuntu 10.10 system some way. I tried with both Ubuntu 10.04 and openSUSE 11.3 live CDs producing the exact same results - only 1280x1024 produces a picture.

I switched modes using the "gnome-display-properties" tools which reports a Samsung Electric Company 7" display offering all the modes it should (incl. 1920x1080@60). As this didn't work I used xrandr to switch with the same results.

Detaching the display on VGA-0 and rebooting did not change anything either. In that scenario the SAMSUNG LED-TV did not produce any picture at all. It just switched from "no signal" to "unsupported video mode". Sigh, if it only was telling me which mode it thinks it's receiving.

After that I started fiddling with a /etc/xorg.conf file for the better part of last night with ModeLines and suggestions (gtf ...) from all across the internet, too numerous for me to remember, especially since I basically took whatever came along (not a very structured approach - I know, but I got somewhat desparate). Nothing worked, nothing at all.

-------------------------------------------------------------------------------

dmesg:
[    5.277009] [drm] radeon defaulting to kernel modesetting.
[    5.277013] [drm] radeon kernel modesetting enabled.
[    5.277179] radeon 0000:01:00.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[    5.277185] radeon 0000:01:00.0: setting latency timer to 64
[    5.280528] [drm] initializing kernel modesetting (R423 0x1002:0x5D4F).
[    5.280665] [drm] register mmio base: 0xD9000000
[    5.280668] [drm] register mmio size: 65536
[    5.281063] ATOM BIOS: RADEON
[    5.281100] [drm] Generation 2 PCI interface, using max accessible memory
[    5.281105] radeon 0000:01:00.0: VRAM: 256M 0xD0000000 - 0xDFFFFFFF (256M used)
[    5.281108] radeon 0000:01:00.0: GTT: 512M 0xB0000000 - 0xCFFFFFFF
[    5.281160]   alloc irq_desc for 44 on node 0
[    5.281162]   alloc kstat_irqs on node 0
[    5.281175] radeon 0000:01:00.0: irq 44 for MSI/MSI-X
[    5.281180] radeon 0000:01:00.0: radeon: using MSI.
[    5.281211] [drm] radeon: irq initialized.
[    5.281457] [drm] Detected VRAM RAM=256M, BAR=128M
[    5.281463] [drm] RAM width 256bits DDR
[    5.281583] [TTM] Zone  kernel: Available graphics memory: 511460 kiB.
[    5.281586] [TTM] Initializing pool allocator.
[    5.281611] [drm] radeon: 256M of VRAM memory ready
[    5.281613] [drm] radeon: 512M of GTT memory ready.
[    5.281640] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    5.284794] [drm] PCIE GART of 512M enabled (table at 0xD0040000).
[    5.284804] [drm] radeon: 3 quad pipes, 1 z pipes initialized.
[    5.285071] [drm] Loading R400 Microcode
[    5.288152] [drm] radeon: ring at 0x00000000B0000000
[    5.288174] [drm] ring test succeeded in 1 usecs
[    5.288351] [drm] radeon: ib pool ready.
[    5.288432] [drm] ib test succeeded in 0 usecs
[    5.288469] [drm] Default TV standard: PAL
[    5.288558] [drm] Default TV standard: PAL
[    5.288637] [drm] Radeon Display Connectors
[    5.288639] [drm] Connector 0:
[    5.288640] [drm]   VGA
[    5.288643] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[    5.288645] [drm]   Encoders:
[    5.288647] [drm]     CRT1: INTERNAL_DAC1
[    5.288649] [drm] Connector 1:
[    5.288650] [drm]   S-video
[    5.288651] [drm]   Encoders:
[    5.288653] [drm]     TV1: INTERNAL_DAC2
[    5.288655] [drm] Connector 2:
[    5.288656] [drm]   DVI-I
[    5.288658] [drm]   HPD1
[    5.288660] [drm]   DDC: 0x68 0x68 0x68 0x68 0x68 0x68 0x68 0x68
[    5.288662] [drm]   Encoders:
[    5.288663] [drm]     CRT2: INTERNAL_DAC2
[    5.288665] [drm]     DFP1: INTERNAL_TMDS1
[    5.530167] [drm] fb mappable at 0xD00C0000
[    5.530170] [drm] vram apper at 0xD0000000
[    5.530172] [drm] size 8294400
[    5.530174] [drm] fb depth is 24
[    5.530176] [drm]    pitch is 7680
[    5.635333] Console: switching to colour frame buffer device 128x48
[    5.639314] fb0: radeondrmfb frame buffer device
[    5.639316] drm: registered panic notifier
[    5.639320] Slow work thread pool: Starting up
[    5.639416] Slow work thread pool: Ready
[    5.639422] [drm] Initialized radeon 2.5.0 20080528 for 0000:01:00.0 on minor 0

-------------------------------------------------------------------------------

lspci:
01:00.0 VGA compatible controller: ATI Technologies Inc R480 [Radeon X800 GTO (PCIE)]
01:00.1 Display controller: ATI Technologies Inc R480 [Radeon X800 GTO (PCIE)] (Secondary)

-------------------------------------------------------------------------------

xrandr:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024      74.9*+
   1360x768       59.8  
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9     59.9  
S-video disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1280x1024      75.0*+   60.0  
   1920x1080      60.0 +
   1600x1200      60.0  
   1680x1050      60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1360x768       60.0  
   1280x800       59.8  
   1152x864       75.0  
   1280x720       50.0     60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  

-------------------------------------------------------------------------------

Xorg.0.log:
(II) RADEON(0): EDID for output DVI-0
(II) RADEON(0): Manufacturer: SAM  Model: 669  Serial#: 1
(II) RADEON(0): Year: 2009  Week: 47
(II) RADEON(0): EDID Version: 1.3
(II) RADEON(0): Digital Display Input
(II) RADEON(0): Indeterminate output size
(II) RADEON(0): Gamma: 2.20
(II) RADEON(0): No DPMS capabilities specified
(II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) RADEON(0): First detailed timing is preferred mode
(II) RADEON(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
(II) RADEON(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
(II) RADEON(0): Supported established timings:
(II) RADEON(0): 720x400@70Hz
(II) RADEON(0): 640x480@60Hz
(II) RADEON(0): 640x480@67Hz
(II) RADEON(0): 640x480@72Hz
(II) RADEON(0): 640x480@75Hz
(II) RADEON(0): 800x600@60Hz
(II) RADEON(0): 800x600@72Hz
(II) RADEON(0): 800x600@75Hz
(II) RADEON(0): 832x624@75Hz
(II) RADEON(0): 1024x768@60Hz
(II) RADEON(0): 1024x768@70Hz
(II) RADEON(0): 1024x768@75Hz
(II) RADEON(0): 1280x1024@75Hz
(II) RADEON(0): 1152x864@75Hz
(II) RADEON(0): Manufacturer's mask: 0
(II) RADEON(0): Supported standard timings:
(II) RADEON(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) RADEON(0): #1: hsize: 1280  vsize 800  refresh: 60  vid: 129
(II) RADEON(0): #2: hsize: 1280  vsize 960  refresh: 60  vid: 16513
(II) RADEON(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) RADEON(0): #4: hsize: 1440  vsize 900  refresh: 60  vid: 149
(II) RADEON(0): #5: hsize: 1440  vsize 900  refresh: 75  vid: 3989
(II) RADEON(0): #6: hsize: 1680  vsize 1050  refresh: 60  vid: 179
(II) RADEON(0): #7: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
(II) RADEON(0): Supported detailed timing:
(II) RADEON(0): clock: 148.5 MHz   Image Size:  160 x 90 mm
(II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
(II) RADEON(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
(II) RADEON(0): Supported detailed timing:
(II) RADEON(0): clock: 85.5 MHz   Image Size:  160 x 90 mm
(II) RADEON(0): h_active: 1360  h_sync: 1424  h_sync_end 1536 h_blank_end 1792 h_border: 0
(II) RADEON(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 795 v_border: 0
(II) RADEON(0): Ranges: V min: 24 V max: 75 Hz, H min: 26 H max: 81 kHz, PixClock max 230 MHz
(II) RADEON(0): Monitor name: SAMSUNG
(II) RADEON(0): Number of EDID sections to follow: 1
(II) RADEON(0): EDID (in hex):
(II) RADEON(0): 	00ffffffffffff004c2d690601000000
(II) RADEON(0): 	2f130103801009780aee91a3544c9926
(II) RADEON(0): 	0f5054bdef80714f8100814081809500
(II) RADEON(0): 	950fb300a940023a801871382d40582c
(II) RADEON(0): 	4500a05a0000001e662150b051001b30
(II) RADEON(0): 	40703600a05a0000001e000000fd0018
(II) RADEON(0): 	4b1a5117000a202020202020000000fc
(II) RADEON(0): 	0053414d53554e470a20202020200127
(II) RADEON(0): Printing probed modes for output DVI-0
(II) RADEON(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
(II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
(II) RADEON(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
(II) RADEON(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
(II) RADEON(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
(II) RADEON(0): Modeline "1440x900"x75.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz)
(II) RADEON(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
(II) RADEON(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
(II) RADEON(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz)
(II) RADEON(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz)
(II) RADEON(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
(II) RADEON(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz)
(II) RADEON(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz)
(II) RADEON(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz)
(II) RADEON(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
(II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) RADEON(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
(II) RADEON(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
(II) RADEON(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
(II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
(II) RADEON(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz)
(II) RADEON(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
(II) RADEON(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
(II) RADEON(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(II) RADEON(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
(II) RADEON(0): Output VGA-0 connected
(II) RADEON(0): Output S-video disconnected
(II) RADEON(0): Output DVI-0 connected
(II) RADEON(0): Using user preference for initial modes
(II) RADEON(0): Output VGA-0 using initial mode 1280x1024
(II) RADEON(0): Output DVI-0 using initial mode 1280x1024
(II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
Comment 1 Alex Deucher 2010-11-18 09:13:17 UTC
I think this is a duplicate of bug 27731.  Does the patch there fix the issue?
Comment 2 Adam Jackson 2018-06-12 19:08:50 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.