Bug 109957 - radeon: DisplayPort Out of range 1280x800x59.91
Summary: radeon: DisplayPort Out of range 1280x800x59.91
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: DRI git
Hardware: Other All
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-11 11:04 UTC by Ricardo Ribalda
Modified: 2019-11-19 09:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Dmesg with drm.debug=0x3f (139.86 KB, text/plain)
2019-04-05 14:16 UTC, Ricardo Ribalda
no flags Details
Xorg.0.log (43.57 KB, text/x-log)
2019-04-05 14:26 UTC, Ricardo Ribalda
no flags Details

Description Ricardo Ribalda 2019-03-11 11:04:25 UTC
I have a GeChic  onlap 1002 screen:
https://www.gechic.com/en-portable-touch-monitor-onlap1002-overview.html

and a Radeon HD 6320 graphic card:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320] [1002:9806]

When X starts, I get and out-of-range message on the screen and no output. If I then try to connect my system to another screen (high end asus), I also get an out-o-range message and no output.

When I try the vtc calculated modeline:

xrandr --newmode 1280x800_cvt  83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsyn
xrandr --addmode DisplayPort-0 1280x800_cvt
xrandr --output DisplayPort-0  --mode 1280x800_cvt

the screen shows a warning, but there is an image.

I can patch the kernel and/or provide any debug info you need.
Comment 1 Ricardo Ribalda 2019-03-11 11:04:58 UTC
EDID from the screen:

Manufacturer: GEC Model 8 Serial Number 34952
256 bytes copied, 0.000151273 s, 1.7 MB/s
Made in year 2015
Digital display
Maximum image size: 22 cm x 14 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
RGB color display
Default (sRGB) color space is primary color space
First detailed timing is preferred timing
Display x,y Chromaticity:
  Red:   0.5957, 0.3291
  Green: 0.2900, 0.5166
  Blue:  0.1503, 0.1542
  White: 0.3105, 0.3310
Established timings supported:
  640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
  800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz
  1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz
Standard timings supported:
  1152x864@60Hz 4:3
  1280x800@60Hz 16:10
  1280x720@60Hz 16:9
  1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz
  1440x900@60Hz 16:10 HorFreq: 55500 Hz Clock: 88.750 MHz
  1680x1050@60Hz 16:10 HorFreq: 64700 Hz Clock: 119.000 MHz
  1920x1080@60Hz 16:9
Detailed mode: Clock 71.000 MHz, 216 mm x 135 mm
               1280 1328 1360 1440 hborder 0
                800  803  809  823 vborder 0
               +hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 49305 Hz
Serial number: 8888
Monitor name: Onlap1002
Monitor ranges (GTF): 56-76Hz V, 30-83kHz H, max dotclock 230MHz
Has 1 extension blocks
Checksum: 0x99 (valid)

CTA extension block
Extension version: 3
22 bytes of CTA data
  Video data block
    VIC  16 1920x1080@60Hz 16:9  HorFreq: 67500 Hz Clock: 148.500 MHz
    VIC   3 720x480@60Hz 16:9  HorFreq: 31469 Hz Clock: 27.000 MHz
    VIC  20 1920x1080i@50Hz 16:9  HorFreq: 28125 Hz Clock: 74.250 MHz
    VIC   5 1920x1080i@60Hz 16:9  HorFreq: 33750 Hz Clock: 74.250 MHz
    VIC  19 1280x720@50Hz 16:9  HorFreq: 37500 Hz Clock: 74.250 MHz
    VIC   4 1280x720@60Hz 16:9 (native) HorFreq: 45000 Hz Clock: 74.250 MHz
    VIC  18 720x576@50Hz 16:9  HorFreq: 31250 Hz Clock: 27.000 MHz
  Audio data block
    Linear PCM, max channels 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
    Speaker map:
      FL/FR - Front Left/Right
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 1.0.0.0
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Detailed mode: Clock 27.000 MHz, 822 mm x 468 mm
                720  732  796  864 hborder 0
                576  581  586  625 vborder 0
               -hsync -vsync 
               VertFreq: 50 Hz, HorFreq: 31250 Hz
Detailed mode: Clock 74.250 MHz, 822 mm x 468 mm
               1920 2008 2052 2200 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
               VertFreq: 60 Hz, HorFreq: 33750 Hz
Detailed mode: Clock 74.250 MHz, 822 mm x 468 mm
               1920 2448 2492 2640 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
               VertFreq: 50 Hz, HorFreq: 28125 Hz
Detailed mode: Clock 74.250 MHz, 822 mm x 468 mm
               1280 1720 1760 1980 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
               VertFreq: 50 Hz, HorFreq: 37500 Hz
Detailed mode: Clock 148.350 MHz, 708 mm x 398 mm
               1920 2008 2052 2200 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
               VertFreq: 59 Hz, HorFreq: 67431 Hz
Checksum: 0x54 (valid)
Comment 2 Ricardo Ribalda 2019-03-11 12:12:10 UTC
As a side note, amdgpu driver on a different card can use the screen properly with the same modeline:

00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo [1002:9874] (rev 84)
Comment 3 Ricardo Ribalda 2019-04-05 14:16:55 UTC
Created attachment 143879 [details]
Dmesg with drm.debug=0x3f
Comment 4 Ricardo Ribalda 2019-04-05 14:26:44 UTC
Created attachment 143880 [details]
Xorg.0.log
Comment 5 Martin Peres 2019-11-19 09:35:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/862.


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.