Do Radeon (kernel module) have new options since 3.17?
I ask because I got a bug by switching to the kernel 3.17-rc1 a while ago (I rollbacked everything at that time because I needed to use my system and decided to wait a little sooo, I just upgraded to the kernel 3.17-rc4, git mesa, glamor, libdrm, xf86-video-ati, llvm 3.5 and it's back.
The bug appear with 3.17-rc1 but it stay even if I go back to the kernel 3.16 (after a mesa update), a full rollback of the graphic stack is required...
== The bug ==
Not Affected : EVE Online
Affected : Minecraft
What append : it work *fine* (maybe at about half the kernel 3.16 FPS) but when the VRAM reach between 260M-300M, the system pause (everything stop) and unpause some time later (it start with small stutters and finish with 5s break...). Once the system is back alive, the VRAM is back to say, 240M and rehang at say, 265M, resume and back to 242M.... hang at 268M... resume at 245M... like that. Only when the VRAM usage is going down.
I think that the 3.17 got some memory managment improvment, can it be that? If so, it broken.. But I read somewhere last month (can't find it) that we got some option to adjust that.
The video card is a Radeon 7970 3G
I ask because I got a bug by switching to the kernel 3.17-rc1 a while ago (I rollbacked everything at that time because I needed to use my system and decided to wait a little sooo, I just upgraded to the kernel 3.17-rc4, git mesa, glamor, libdrm, xf86-video-ati, llvm 3.5 and it's back.
The bug appear with 3.17-rc1 but it stay even if I go back to the kernel 3.16 (after a mesa update), a full rollback of the graphic stack is required...
== The bug ==
Not Affected : EVE Online
Affected : Minecraft
What append : it work *fine* (maybe at about half the kernel 3.16 FPS) but when the VRAM reach between 260M-300M, the system pause (everything stop) and unpause some time later (it start with small stutters and finish with 5s break...). Once the system is back alive, the VRAM is back to say, 240M and rehang at say, 265M, resume and back to 242M.... hang at 268M... resume at 245M... like that. Only when the VRAM usage is going down.
I think that the 3.17 got some memory managment improvment, can it be that? If so, it broken.. But I read somewhere last month (can't find it) that we got some option to adjust that.
The video card is a Radeon 7970 3G
Code:
Sep 14 22:36:24 localhost kernel: [ 5.845803] [drm] radeon kernel modesetting enabled. Sep 14 22:36:24 localhost kernel: [ 5.846443] [drm] initializing kernel modesetting (TAHITI 0x1002:0x6798 0x1787:0x2317). Sep 14 22:36:24 localhost kernel: [ 5.846499] [drm] register mmio base: 0xFEA00000 Sep 14 22:36:24 localhost kernel: [ 5.846501] [drm] register mmio size: 262144 Sep 14 22:36:24 localhost kernel: [ 5.846645] radeon 0000:01:00.0: Invalid ROM contents Sep 14 22:36:24 localhost kernel: [ 5.846673] ATOM BIOS: Tahiti Sep 14 22:36:24 localhost kernel: [ 5.846710] [drm] Changing default dispclk from 500Mhz to 600Mhz Sep 14 22:36:24 localhost kernel: [ 5.846723] radeon 0000:01:00.0: VRAM: 3072M 0x0000000000000000 - 0x00000000BFFFFFFF (3072M used) Sep 14 22:36:24 localhost kernel: [ 5.846726] radeon 0000:01:00.0: GTT: 1024M 0x00000000C0000000 - 0x00000000FFFFFFFF Sep 14 22:36:24 localhost kernel: [ 5.846729] Failed to add WC MTRR for [00000000c0000000-00000000cfffffff]; performance may suffer. Sep 14 22:36:24 localhost kernel: [ 5.846731] [drm] Detected VRAM RAM=3072M, BAR=256M Sep 14 22:36:24 localhost kernel: [ 5.846733] [drm] RAM width 384bits DDR Sep 14 22:36:24 localhost kernel: [ 5.846825] [TTM] Zone kernel: Available graphics memory: 7979928 kiB Sep 14 22:36:24 localhost kernel: [ 5.846827] [TTM] Zone dma32: Available graphics memory: 2097152 kiB Sep 14 22:36:24 localhost kernel: [ 5.846828] [TTM] Initializing pool allocator Sep 14 22:36:24 localhost kernel: [ 5.846840] [TTM] Initializing DMA pool allocator Sep 14 22:36:24 localhost kernel: [ 5.846976] [drm] radeon: 3072M of VRAM memory ready Sep 14 22:36:24 localhost kernel: [ 5.846979] [drm] radeon: 1024M of GTT memory ready. Sep 14 22:36:24 localhost kernel: [ 5.847049] [drm] Loading tahiti Microcode Sep 14 22:36:24 localhost kernel: [ 5.852230] [drm] Internal thermal controller with fan control Sep 14 22:36:24 localhost kernel: [ 5.852323] [drm] probing gen 2 caps for device 1002:5a16 = 31cd02/0 Sep 14 22:36:24 localhost kernel: [ 5.858753] [drm] radeon: dpm initialized Sep 14 22:36:24 localhost kernel: [ 5.860319] [drm] GART: num cpu pages 262144, num gpu pages 262144 Sep 14 22:36:24 localhost kernel: [ 5.862145] [drm] probing gen 2 caps for device 1002:5a16 = 31cd02/0 Sep 14 22:36:24 localhost kernel: [ 5.862149] [drm] PCIE gen 2 link speeds already enabled Sep 14 22:36:24 localhost kernel: [ 5.868530] [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000). Sep 14 22:36:24 localhost kernel: [ 5.868644] radeon 0000:01:00.0: WB enabled Sep 14 22:36:24 localhost kernel: [ 5.868648] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x00000000c0000c00 and cpu addr 0xffff88041aa6ac00 Sep 14 22:36:24 localhost kernel: [ 5.868650] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x00000000c0000c04 and cpu addr 0xffff88041aa6ac04 Sep 14 22:36:24 localhost kernel: [ 5.868652] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x00000000c0000c08 and cpu addr 0xffff88041aa6ac08 Sep 14 22:36:24 localhost kernel: [ 5.868654] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x00000000c0000c0c and cpu addr 0xffff88041aa6ac0c Sep 14 22:36:24 localhost kernel: [ 5.868656] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x00000000c0000c10 and cpu addr 0xffff88041aa6ac10 Sep 14 22:36:24 localhost kernel: [ 5.871037] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90012cb5a18 Sep 14 22:36:24 localhost kernel: [ 5.871041] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). Sep 14 22:36:24 localhost kernel: [ 5.871042] [drm] Driver supports precise vblank timestamp query. Sep 14 22:36:24 localhost kernel: [ 5.871094] radeon 0000:01:00.0: radeon: using MSI. Sep 14 22:36:24 localhost kernel: [ 5.871123] [drm] radeon: irq initialized. Sep 14 22:36:24 localhost kernel: [ 6.053366] [drm] ring test on 0 succeeded in 1 usecs Sep 14 22:36:24 localhost kernel: [ 6.053372] [drm] ring test on 1 succeeded in 1 usecs Sep 14 22:36:24 localhost kernel: [ 6.053377] [drm] ring test on 2 succeeded in 1 usecs Sep 14 22:36:24 localhost kernel: [ 6.053437] [drm] ring test on 3 succeeded in 2 usecs Sep 14 22:36:24 localhost kernel: [ 6.053443] [drm] ring test on 4 succeeded in 1 usecs Sep 14 22:36:24 localhost kernel: [ 6.240608] [drm] ring test on 5 succeeded in 2 usecs Sep 14 22:36:24 localhost kernel: [ 6.240613] [drm] UVD initialized successfully. Sep 14 22:36:24 localhost kernel: [ 6.241059] [drm] ib test on ring 0 succeeded in 0 usecs Sep 14 22:36:24 localhost kernel: [ 6.241077] [drm] ib test on ring 1 succeeded in 0 usecs Sep 14 22:36:24 localhost kernel: [ 6.241094] [drm] ib test on ring 2 succeeded in 0 usecs Sep 14 22:36:24 localhost kernel: [ 6.241111] [drm] ib test on ring 3 succeeded in 0 usecs Sep 14 22:36:24 localhost kernel: [ 6.241129] [drm] ib test on ring 4 succeeded in 1 usecs Sep 14 22:36:24 localhost kernel: [ 6.412835] [drm] ib test on ring 5 succeeded Sep 14 22:36:24 localhost kernel: [ 6.413564] [drm] Radeon Display Connectors Sep 14 22:36:24 localhost kernel: [ 6.413566] [drm] Connector 0: Sep 14 22:36:24 localhost kernel: [ 6.413568] [drm] DP-1 Sep 14 22:36:24 localhost kernel: [ 6.413569] [drm] HPD5 Sep 14 22:36:24 localhost kernel: [ 6.413571] [drm] DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c Sep 14 22:36:24 localhost kernel: [ 6.413572] [drm] Encoders: Sep 14 22:36:24 localhost kernel: [ 6.413573] [drm] DFP1: INTERNAL_UNIPHY2 Sep 14 22:36:24 localhost kernel: [ 6.413574] [drm] Connector 1: Sep 14 22:36:24 localhost kernel: [ 6.413575] [drm] DP-2 Sep 14 22:36:24 localhost kernel: [ 6.413576] [drm] HPD4 Sep 14 22:36:24 localhost kernel: [ 6.413578] [drm] DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c Sep 14 22:36:24 localhost kernel: [ 6.413579] [drm] Encoders: Sep 14 22:36:24 localhost kernel: [ 6.413580] [drm] DFP2: INTERNAL_UNIPHY2 Sep 14 22:36:24 localhost kernel: [ 6.413581] [drm] Connector 2: Sep 14 22:36:24 localhost kernel: [ 6.413582] [drm] HDMI-A-1 Sep 14 22:36:24 localhost kernel: [ 6.413583] [drm] HPD1 Sep 14 22:36:24 localhost kernel: [ 6.413585] [drm] DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c Sep 14 22:36:24 localhost kernel: [ 6.413585] [drm] Encoders: Sep 14 22:36:24 localhost kernel: [ 6.413587] [drm] DFP3: INTERNAL_UNIPHY1 Sep 14 22:36:24 localhost kernel: [ 6.413588] [drm] Connector 3: Sep 14 22:36:24 localhost kernel: [ 6.413589] [drm] DVI-I-1 Sep 14 22:36:24 localhost kernel: [ 6.413590] [drm] HPD3 Sep 14 22:36:24 localhost kernel: [ 6.413591] [drm] DDC: 0x6580 0x6580 0x6584 0x6584 0x6588 0x6588 0x658c 0x658c Sep 14 22:36:24 localhost kernel: [ 6.413592] [drm] Encoders: Sep 14 22:36:24 localhost kernel: [ 6.413593] [drm] DFP4: INTERNAL_UNIPHY Sep 14 22:36:24 localhost kernel: [ 6.413594] [drm] CRT1: INTERNAL_KLDSCP_DAC1 Sep 14 22:36:24 localhost kernel: [ 6.413595] [drm] Connector 4: Sep 14 22:36:24 localhost kernel: [ 6.413596] [drm] DVI-D-1 Sep 14 22:36:24 localhost kernel: [ 6.413597] [drm] HPD6 Sep 14 22:36:24 localhost kernel: [ 6.413599] [drm] DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c Sep 14 22:36:24 localhost kernel: [ 6.413599] [drm] Encoders: Sep 14 22:36:24 localhost kernel: [ 6.413600] [drm] DFP5: INTERNAL_UNIPHY1 Sep 14 22:36:24 localhost kernel: [ 6.525557] [drm] fb mappable at 0xC0478000 Sep 14 22:36:24 localhost kernel: [ 6.525558] [drm] vram apper at 0xC0000000 Sep 14 22:36:24 localhost kernel: [ 6.525560] [drm] size 8294400 Sep 14 22:36:24 localhost kernel: [ 6.525561] [drm] fb depth is 24 Sep 14 22:36:24 localhost kernel: [ 6.525562] [drm] pitch is 7680 Sep 14 22:36:24 localhost kernel: [ 6.525637] fbcon: radeondrmfb (fb0) is primary device Sep 14 22:36:24 localhost kernel: [ 6.698204] [drm:si_dpm_set_power_state] *ERROR* si_disable_ulv failed Sep 14 22:36:24 localhost kernel: [ 6.761853] Console: switching to colour frame buffer device 160x64 Sep 14 22:36:24 localhost kernel: [ 6.772385] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device Sep 14 22:36:24 localhost kernel: [ 6.772387] radeon 0000:01:00.0: registered panic notifier Sep 14 22:36:24 localhost kernel: [ 6.776862] [drm] Initialized radeon 2.40.0 20080528 for 0000:01:00.0 on minor 0
Comment