[DragonFlyBSD - Bug #2853] kms/radeon/Xorg (?) don't know, devices are detected differently as under freebsd

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Nov 25 14:50:48 PST 2015


Issue #2853 has been updated by arcade at b1t.name.


Here's the difference in kernel output.

FreeBSD:

info: [drm] Initialized drm 1.1.0 20060810
drmn0: <Trinity [Radeon HD 7560D]> on vgapci0
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (ARUBA 0x1002:0x9904 0x1462:0x7793).
info: [drm] register mmio base: 0xFEB00000
info: [drm] register mmio size: 262144
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method...
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xc0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800c0000000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0xFFFF
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072 bytes)
info: [drm] ATOM BIOS: 113
drmn0: info: VRAM: 768M 0x0000000000000000 - 0x000000002FFFFFFF (768M used)
drmn0: info: GTT: 512M 0x0000000030000000 - 0x000000004FFFFFFF
info: [drm] Detected VRAM RAM=768M, BAR=256M
info: [drm] RAM width 64bits DDR
[TTM] Zone  kernel: Available graphics memory: 7963278 kiB
[TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
info: [drm] radeon: 768M of VRAM memory ready
info: [drm] radeon: 512M of GTT memory ready.
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
info: [drm] MSI enabled 1 message(s)
drmn0: info: radeon: using MSI.
info: [drm] radeon: irq initialized.
info: [drm] GART: num cpu pages 131072, num gpu pages 131072
info: [drm] Loading ARUBA Microcode
info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
drmn0: info: WB enabled
drmn0: info: fence driver on ring 0 use gpu addr 0x0000000030000c00 and cpu addr 0x0xfffff8020d7a7c00
drmn0: info: fence driver on ring 1 use gpu addr 0x0000000030000c04 and cpu addr 0x0xfffff8020d7a7c04
drmn0: info: fence driver on ring 2 use gpu addr 0x0000000030000c08 and cpu addr 0x0xfffff8020d7a7c08
drmn0: info: fence driver on ring 3 use gpu addr 0x0000000030000c0c and cpu addr 0x0xfffff8020d7a7c0c
drmn0: info: fence driver on ring 4 use gpu addr 0x0000000030000c10 and cpu addr 0x0xfffff8020d7a7c10
info: [drm] ring test on 0 succeeded in 3 usecs
info: [drm] ring test on 3 succeeded in 2 usecs
info: [drm] ring test on 4 succeeded in 1 usecs
info: [drm] ib test on ring 0 succeeded in 0 usecs
info: [drm] ib test on ring 3 succeeded in 0 usecs
info: [drm] ib test on ring 4 succeeded in 1 usecs
info: [drm] radeon_device_init: Taking over the fictitious range 0xc0000000-0xd0000000
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iic0: <I2C generic I/O> on iicbus0
iicbus1: <Philips I2C bus> on iicbb1 addr 0x0
iic1: <I2C generic I/O> on iicbus1
iicbus2: <Philips I2C bus> on iicbb2 addr 0x0
iic2: <I2C generic I/O> on iicbus2
iicbus3: <Philips I2C bus> on iicbb3 addr 0x0
iic3: <I2C generic I/O> on iicbus3
iicbus4: <Philips I2C bus> on iicbb4 addr 0x0
iic4: <I2C generic I/O> on iicbus4
iicbus5: <Philips I2C bus> on iicbb5 addr 0x0
iic5: <I2C generic I/O> on iicbus5
info: [drm] Radeon Display Connectors
info: [drm] Connector 0:
info: [drm]   DP-1
info: [drm]   HPD1
info: [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
info: [drm]   Encoders:
info: [drm]     DFP1: INTERNAL_UNIPHY2
info: [drm] Connector 1:
info: [drm]   VGA-1
info: [drm]   HPD2
info: [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
info: [drm]   Encoders:
info: [drm]     CRT1: INTERNAL_UNIPHY2
info: [drm]     CRT1: NUTMEG
info: [drm] Connector 2:
info: [drm]   DVI-D-1
info: [drm]   HPD3
info: [drm]   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
info: [drm]   Encoders:
info: [drm]     DFP2: INTERNAL_UNIPHY
info: [drm] Internal thermal controller without fan control
info: [drm] radeon: power management initialized
info: [drm] Connector DP-1: get mode from tunables:
info: [drm]   - kern.vt.fb.modes.DP-1
info: [drm]   - kern.vt.fb.default_mode
info: [drm] Connector VGA-1: get mode from tunables:
info: [drm]   - kern.vt.fb.modes.VGA-1
info: [drm]   - kern.vt.fb.default_mode
info: [drm] Connector DVI-D-1: get mode from tunables:
info: [drm]   - kern.vt.fb.modes.DVI-D-1
info: [drm]   - kern.vt.fb.default_mode
info: [drm] fb mappable at 0xC114C000
info: [drm] vram apper at 0xC0000000
info: [drm] size 8294400
info: [drm] fb depth is 24
info: [drm]    pitch is 7680
fbd0 on drmn0
VT: Replacing driver "vga" with new "fb".
info: [drm] Initialized radeon 2.29.0 20080528 for drmn0 on minor 0

DragonFly:

info: [drm] Initialized drm 1.1.0 20060810
drm0: <Trinity [Radeon HD 7560D]> on vgapci0
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (ARUBA 0x1002:0x9904 0x1462:0x7793).
info: [drm] register mmio base: 0xFEB00000
info: [drm] register mmio size: 262144
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method...
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
_pci_get_rle: dinfo was NULL, trying again with parent
pci_resource_start(0x9904, 0x10) = 0xc0000000
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xc0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xffffffe1ab540000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x6F07
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
info: [drm] radeon_read_bios: Map address: 0xffffffe1ab540000 (131072 bytes)
info: [drm] ATOM BIOS: 113
_pci_get_rle: dinfo was NULL, trying again with parent
pci_resource_start(0x9904, 0x10) = 0xc0000000
_pci_get_rle: dinfo was NULL, trying again with parent
pci_resource_len(0x9904, 0x10) = 0x10000000
drm0: info: VRAM: 768M 0x0000000000000000 - 0x000000002FFFFFFF (768M used)
drm0: info: GTT: 1024M 0x0000000030000000 - 0x000000006FFFFFFF
info: [drm] Detected VRAM RAM=768M, BAR=256M
info: [drm] RAM width 64bits DDR
[TTM] (struct ttm_mem_global *)0xffffffe048b81b90
[TTM] Zone  kernel: Available graphics memory: 65536 kiB
[TTM] Zone   dma32: Available graphics memory: 65536 kiB
[TTM] Initializing pool allocator
info: [drm] radeon: 768M of VRAM memory ready
info: [drm] radeon: 1024M of GTT memory ready.
info: [drm] Loading ARUBA Microcode
info: [drm] Internal thermal controller without fan control
info: [drm] radeon: dpm initialized
info: [drm] GART: num cpu pages 262144, num gpu pages 262144
info: [drm] PCIE GART of 1024M enabled (table at 0x0000000000277000).
drm0: info: WB enabled
drm0: info: fence driver on ring 0 use gpu addr 0x0000000030000c00 and cpu addr 0x0xffffdf80036b1c00
drm0: info: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0x0xffffffe1ab5b5a18
drm0: info: fence driver on ring 1 use gpu addr 0x0000000030000c04 and cpu addr 0x0xffffdf80036b1c04
drm0: info: fence driver on ring 2 use gpu addr 0x0000000030000c08 and cpu addr 0x0xffffdf80036b1c08
drm0: info: fence driver on ring 3 use gpu addr 0x0000000030000c0c and cpu addr 0x0xffffdf80036b1c0c
drm0: info: fence driver on ring 4 use gpu addr 0x0000000030000c10 and cpu addr 0x0xffffdf80036b1c10
info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
info: [drm] Driver supports precise vblank timestamp query.
info: [drm] radeon: irq initialized.
info: [drm] ring test on 0 succeeded in 2 usecs
info: [drm] ring test on 3 succeeded in 2 usecs
info: [drm] ring test on 4 succeeded in 2 usecs
info: [drm] ring test on 5 succeeded in 1 usecs
info: [drm] UVD initialized successfully.
info: [drm] ib test on ring 0 succeeded in 0 usecs
info: [drm] ib test on ring 3 succeeded in 0 usecs
info: [drm] ib test on ring 4 succeeded in 0 usecs
info: [drm] ib test on ring 5 succeeded
info: [drm] radeon_device_init: Taking over the fictitious range 0xc0000000-0xd0000000
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iicbus1: <Philips I2C bus> on iicbb1 addr 0xff
iicbus2: <Philips I2C bus> on iicbb2 addr 0xff
iicbus3: <Philips I2C bus> on iicbb3 addr 0xff
iicbus4: <Philips I2C bus> on iicbb4 addr 0xff
iicbus5: <Philips I2C bus> on iicbb5 addr 0xff
looking up kenv for "drm.video.dp1"
didn't find value for kenv drm.video.dp1
looking up kenv for "drm.video.vga1"
didn't find value for kenv drm.video.vga1
looking up kenv for "drm.video.dvid1"
didn't find value for kenv drm.video.dvid1
info: [drm] Radeon Display Connectors
info: [drm] Connector 0:
info: [drm]   DP-1
info: [drm]   HPD1
info: [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
info: [drm]   Encoders:
info: [drm]     DFP1: INTERNAL_UNIPHY2
info: [drm] Connector 1:
info: [drm]   VGA-1
info: [drm]   HPD2
info: [drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
info: [drm]   Encoders:
info: [drm]     CRT1: INTERNAL_UNIPHY2
info: [drm]     CRT1: NUTMEG
info: [drm] Connector 2:
info: [drm]   DVI-D-1
info: [drm]   HPD3
info: [drm]   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
info: [drm]   Encoders:
info: [drm]     DFP2: INTERNAL_UNIPHY
info: [drm] fb mappable at 0xC047B000
info: [drm] vram apper at 0xC0000000
info: [drm] size 3145728
info: [drm] fb depth is 24
info: [drm]    pitch is 4096
kms console: xpixels 1024 ypixels 768
kms console: scale-to 8x16 cols=128 rows=48
info: [drm] Initialized radeon 2.40.0 20080528


----------------------------------------
Bug #2853: kms/radeon/Xorg (?) don't know, devices are detected differently as under freebsd
http://bugs.dragonflybsd.org/issues/2853#change-12736

* Author: arcade at b1t.name
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: Unverifiable
----------------------------------------
When I try to launch Xorg on my machine under DFly it selects resolution 1024x768, under FreeBSD I get 1920x1080.

FreeBSD Xorg.0.log:

[   148.477] (II) RADEON(0): EDID for output DisplayPort-0
[   148.581] (II) RADEON(0): EDID for output VGA-0
[   148.619] (II) RADEON(0): Manufacturer: PHL  Model: c0cf  Serial#: 37236
[   148.636] (II) RADEON(0): Year: 2014  Week: 8
[   148.645] (II) RADEON(0): EDID Version: 1.3
[   148.687] (II) RADEON(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
[   148.761] (II) RADEON(0): Sync:  Separate  Composite  SyncOnGreen
[   149.787] (II) RADEON(0): Max Image Size [cm]: horiz.: 48  vert.: 27
[   149.958] (II) RADEON(0): Gamma: 2.20
[   149.965] (II) RADEON(0): DPMS capabilities: Off; RGB/Color Display
[   150.162] (II) RADEON(0): First detailed timing is preferred mode
[   150.228] (II) RADEON(0): redX: 0.633 redY: 0.351   greenX: 0.322 greenY: 0.630
[   150.336] (II) RADEON(0): blueX: 0.152 blueY: 0.050   whiteX: 0.313 whiteY: 0.329
[   150.418] (II) RADEON(0): Supported established timings:
[   150.450] (II) RADEON(0): 720x400 at 70Hz
[   150.467] (II) RADEON(0): 640x480 at 60Hz
[   150.491] (II) RADEON(0): 640x480 at 67Hz
[   150.499] (II) RADEON(0): 640x480 at 72Hz
[   150.558] (II) RADEON(0): 640x480 at 75Hz
[   150.617] (II) RADEON(0): 800x600 at 60Hz
[   150.639] (II) RADEON(0): 800x600 at 75Hz
[   150.651] (II) RADEON(0): 1024x768 at 60Hz
[   150.658] (II) RADEON(0): 1024x768 at 75Hz
[   150.666] (II) RADEON(0): 1280x1024 at 75Hz
[   150.675] (II) RADEON(0): Manufacturer's mask: 0
[   150.683] (II) RADEON(0): Supported standard timings:
[   150.695] (II) RADEON(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[   150.706] (II) RADEON(0): #1: hsize: 1440  vsize 900  refresh: 60  vid: 149
[   150.718] (II) RADEON(0): #2: hsize: 1440  vsize 900  refresh: 75  vid: 3989
[   150.727] (II) RADEON(0): #3: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[   150.730] (II) RADEON(0): #4: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[   150.739] (II) RADEON(0): #5: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[   150.747] (II) RADEON(0): Supported detailed timing:
[   150.783] (II) RADEON(0): clock: 148.5 MHz   Image Size:  477 x 268 mm
[   150.797] (II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[   150.816] (II) RADEON(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[   150.829] (II) RADEON(0): Serial No: UK01408037236
[   150.838] (II) RADEON(0): Monitor name: PHL 223V5
[   150.847] (II) RADEON(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
[   150.894] (II) RADEON(0): EDID (in hex):
[   150.897] (II) RADEON(0):    00ffffffffffff00410ccfc074910000
[   150.905] (II) RADEON(0):    081801036e301b782a3935a25952a127
[   150.916] (II) RADEON(0):    0c5054bd4b00d1c09500950fb30081c0
[   150.922] (II) RADEON(0):    818001010101023a801871382d40582c
[   150.929] (II) RADEON(0):    4500dd0c1100001e000000ff00554b30
[   150.939] (II) RADEON(0):    31343038303337323336000000fc0050
[   150.978] (II) RADEON(0):    484c2032323356350a202020000000fd
[   151.005] (II) RADEON(0):    00384c1e5311000a20202020202000b3
[   151.017] (II) RADEON(0): Printing probed modes for output VGA-0
[   151.023] (II) RADEON(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz UeP)
[   151.029] (II) RADEON(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[   151.039] (II) RADEON(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[   151.048] (II) RADEON(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   151.228] (II) RADEON(0): Modeline "1440x900"x75.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[   151.239] (II) RADEON(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[   151.263] (II) RADEON(0): Modeline "1280x720"x60.0   74.44  1280 1336 1472 1664  720 721 724 746 -hsync +vsync (44.7 kHz)
[   151.272] (II) RADEON(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[   151.284] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   151.289] (II) RADEON(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   151.296] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   151.306] (II) RADEON(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[   151.314] (II) RADEON(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz e)
[   151.321] (II) RADEON(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[   151.328] (II) RADEON(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   151.338] (II) RADEON(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   151.347] (II) RADEON(0): EDID for output DVI-0
[   151.356] (II) RADEON(0): Output DisplayPort-0 disconnected
[   151.415] (II) RADEON(0): Output VGA-0 connected
[   151.421] (II) RADEON(0): Output DVI-0 disconnected

DragonFly Xorg.0.log:

[   500.454] Current Operating System: DragonFly  4.3-DEVELOPMENT DragonFly v4.3.1.1052.g21838-DE x86_64

[   501.185] (II) RADEON(0): EDID for output DisplayPort-0
[   501.218] (II) RADEON(0): EDID for output VGA-0
[   501.218] (II) RADEON(0): Printing probed modes for output VGA-0
[   501.219] (II) RADEON(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   501.219] (II) RADEON(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   501.219] (II) RADEON(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[   501.219] (II) RADEON(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[   501.219] (II) RADEON(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[   501.220] (II) RADEON(0): EDID for output DVI-0
[   501.221] (II) RADEON(0): Output DisplayPort-0 disconnected
[   501.221] (II) RADEON(0): Output VGA-0 connected
[   501.221] (II) RADEON(0): Output DVI-0 disconnected

Looks like my monitor fails to be detected. What can I do to add required modelines or assist in fixing this?



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list