Sunday, July 19, 2009

X freezes when changing channel on receiver

Watching /var/log/everything. When switching channel away, this appeared. But plenty of these both in the kernel log, and I dmesg is "normal" with my setup.

Jul 19 19:23:15 [kernel] [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7fbced85b000,handle:0xd1694000
Jul 19 19:23:15 [kernel] [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7fbced85b000,handle:0xd1694000


More interesting is Xorg.0.log. When changing channel away:

(II) fglrx(0): Hot-plug event occurs on device: 1:0:0
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
DRIUnlock called when not locked


And when switching back again:

(II) fglrx(0): Hot-plug event occurs on device: 1:0:0
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) fglrx(0): Check EDID for requested display: DFP on internal TMDS
(II) fglrx(0): Display1 EDID data ---------------------------
(II) fglrx(0): Manufacturer: SNY Model: 4c01 Serial#: 16843009
(II) fglrx(0): Year: 2008 Week: 10
(II) fglrx(0): EDID Version: 1.3
(II) fglrx(0): Digital Display Input
(II) fglrx(0): Max Image Size [cm]: horiz.: 115 vert.: 65
(II) fglrx(0): Gamma: 2.20
(II) fglrx(0): DPMS capabilities: Off
(II) fglrx(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
(II) fglrx(0): First detailed timing is preferred mode
(II) fglrx(0): redX: 0.633 redY: 0.333 greenX: 0.205 greenY: 0.702
(II) fglrx(0): blueX: 0.150 blueY: 0.081 whiteX: 0.292 whiteY: 0.322
(II) fglrx(0): Supported established timings:
(II) fglrx(0): 640x480@60Hz
(II) fglrx(0): Manufacturer's mask: 0
(II) fglrx(0): Supported detailed timing:
(II) fglrx(0): clock: 27.0 MHz Image Size: 1152 x 648 mm
(II) fglrx(0): h_active: 720 h_sync: 732 h_sync_end 796 h_blank_end 864 h_border: 0
(II) fglrx(0): v_active: 576 v_sync: 581 v_sync_end 586 v_blanking: 625 v_border: 0
(II) fglrx(0): Supported detailed timing:
(II) fglrx(0): clock: 74.2 MHz Image Size: 1150 x 648 mm
(II) fglrx(0): h_active: 1280 h_sync: 1390 h_sync_end 1430 h_blank_end 1650 h_border: 0
(II) fglrx(0): v_active: 720 v_sync: 725 v_sync_end 730 v_blanking: 750 v_border: 0
(II) fglrx(0): Monitor name: SONY AVAMP
(II) fglrx(0): Ranges: V min: 49 V max: 61 Hz, H min: 15 H max: 75 kHz, PixClock max 170 MHz
(II) fglrx(0): Number of EDID sections to follow: 1
(II) fglrx(0): EDID (in hex):
(II) fglrx(0): 00ffffffffffff004dd9014c01010101
(II) fglrx(0): 0a120103807341782a1bbea25534b326
(II) fglrx(0): 144a5220000001010101010101010101
(II) fglrx(0): 0101010101018c0ad090204031200c40
(II) fglrx(0): 5500808842000018011d007251d01e20
(II) fglrx(0): 6e2855007e884200001e000000fc0053
(II) fglrx(0): 4f4e59204156414d500a2020000000fd
(II) fglrx(0): 00313d0f4b11000a202020202020012d
(II) fglrx(0): End of Display1 EDID data --------------------
(II) fglrx(0): Primary Controller - DFP on internal TMDS
(II) fglrx(0): Total of 28 modes found for primary display.
(--) fglrx(0): Virtual size is 1920x1080 (pitch 1920)
(**) fglrx(0): *Mode "1920x1080": 148.5 MHz (scaled from 0.0 MHz), 67.5 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 (67.5 kHz)
(**) fglrx(0): Default mode "1920x1080": 148.5 MHz (scaled from 0.0 MHz), 56.2 kHz, 50.0 Hz
(II) fglrx(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 (56.2 kHz)
(**) fglrx(0): Default mode "1920x1080": 74.2 MHz (scaled from 0.0 MHz), 33.8 kHz, 30.0 Hz (I)
(II) fglrx(0): Modeline "1920x1080"x30.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace (33.8 kHz)
(**) fglrx(0): Default mode "1920x1080": 74.2 MHz (scaled from 0.0 MHz), 28.1 kHz, 25.0 Hz (I)
(II) fglrx(0): Modeline "1920x1080"x25.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace (28.1 kHz)
(**) fglrx(0): *Mode "1776x1000": 147.1 MHz (scaled from 0.0 MHz), 62.1 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1776x1000"x60.0 147.05 1776 1880 2072 2368 1000 1001 1004 1035 +hsync (62.1 kHz)
(**) fglrx(0): Default mode "1776x1000": 69.2 MHz (scaled from 0.0 MHz), 31.1 kHz, 30.0 Hz (I)
(II) fglrx(0): Modeline "1776x1000"x30.0 69.18 1776 1824 2000 2224 1000 1001 1004 1037 interlace +hsync (31.1 kHz)
(**) fglrx(0): *Mode "1680x1050": 146.2 MHz (scaled from 0.0 MHz), 65.3 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync (65.3 kHz)
(**) fglrx(0): *Mode "1440x900": 106.5 MHz (scaled from 0.0 MHz), 55.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1440x900"x60.0 106.50 1440 1520 1672 1904 900 903 909 934 +hsync (55.9 kHz)
(**) fglrx(0): *Mode "1440x576": 54.0 MHz (scaled from 0.0 MHz), 31.2 kHz, 50.0 Hz
(II) fglrx(0): Modeline "1440x576"x50.0 54.00 1440 1464 1592 1728 576 581 586 625 +hsync (31.2 kHz)
(**) fglrx(0): *Mode "1440x480": 54.0 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1440x480"x60.0 54.05 1440 1472 1596 1716 480 489 495 525 +hsync +vsync (31.5 kHz)
(**) fglrx(0): *Mode "1400x1050": 121.8 MHz (scaled from 0.0 MHz), 65.3 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 +hsync (65.3 kHz)
(**) fglrx(0): *Mode "1280x1024": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 (64.0 kHz)
(**) fglrx(0): *Mode "1280x960": 108.0 MHz (scaled from 0.0 MHz), 60.0 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 (60.0 kHz)
(**) fglrx(0): *Mode "1280x768": 79.5 MHz (scaled from 0.0 MHz), 47.8 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1280x768"x60.0 79.50 1280 1344 1472 1664 768 771 778 798 +hsync (47.8 kHz)
(**) fglrx(0): *Mode "1280x720": 74.2 MHz (scaled from 0.0 MHz), 45.0 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 (45.0 kHz)
(**) fglrx(0): Default mode "1280x720": 74.2 MHz (scaled from 0.0 MHz), 37.5 kHz, 50.0 Hz
(II) fglrx(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 (37.5 kHz)
(**) fglrx(0): *Mode "1152x864": 81.6 MHz (scaled from 0.0 MHz), 53.7 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1152x864"x60.0 81.62 1152 1216 1336 1520 864 865 868 895 +hsync (53.7 kHz)
(**) fglrx(0): *Mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 +hsync +vsync (48.4 kHz)
(**) fglrx(0): *Mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "800x600"x60.0 40.00 800 840 968 1056 600 601 605 628 (37.9 kHz)
(**) fglrx(0): *Mode "720x576": 27.0 MHz (scaled from 0.0 MHz), 31.2 kHz, 50.0 Hz
(II) fglrx(0): Modeline "720x576"x50.0 27.00 720 732 796 864 576 581 586 625 +hsync +vsync (31.2 kHz)
(**) fglrx(0): *Mode "720x480": 27.0 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz
(II) fglrx(0): Modeline "720x480"x60.0 27.03 720 736 798 858 480 489 495 525 +hsync +vsync (31.5 kHz)
(**) fglrx(0): *Mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x480"x60.0 25.20 640 656 752 800 480 490 492 525 +hsync +vsync (31.5 kHz)
(**) fglrx(0): Default mode "640x432": 21.1 MHz (scaled from 0.0 MHz), 26.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x432"x60.0 21.07 640 648 712 784 432 433 436 448 +hsync (26.9 kHz)
(**) fglrx(0): Default mode "640x400": 24.9 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x400"x60.0 24.92 640 664 760 792 400 460 462 525 (31.5 kHz)
(**) fglrx(0): Default mode "512x384": 19.8 MHz (scaled from 0.0 MHz), 29.8 kHz, 60.0 Hz
(II) fglrx(0): Modeline "512x384"x60.0 19.81 512 544 624 664 384 451 453 497 (29.8 kHz)
(**) fglrx(0): Default mode "400x300": 22.3 MHz (scaled from 0.0 MHz), 45.0 kHz, 60.0 Hz (D)
(II) fglrx(0): Modeline "400x300"x60.0 22.33 400 416 480 496 300 601 605 742 doublescan (45.0 kHz)
(**) fglrx(0): Default mode "320x240": 12.6 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz (D)
(II) fglrx(0): Modeline "320x240"x60.0 12.59 320 328 376 400 240 491 493 525 doublescan (31.5 kHz)
(**) fglrx(0): Default mode "320x200": 12.6 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz (D)
(II) fglrx(0): Modeline "320x200"x60.0 12.59 320 336 384 400 200 457 459 524 doublescan (31.5 kHz)
(++) fglrx(0): DPI set to (112, 112)
(II) fglrx(0): Enabled display: DFP on internal TMDS

At this point, X has frozen.

Interestingly, switching back and forth again generates the same output in Xorg.0.log. (Not thoroughly compared) Which indicates that even though there is no visual response, not everything is locked.

Switching when in the log in-screen (kdm) poses no problems. Turning of desktop effects also makes it possible to switch. Changing virtual terminal (ctrl+alt+F1) and back works.

A manual check indicates that the logs are identical, with the only difference is that "DRIUnlock called when not locked" only appears when the screen is freezing. Google time!

To be continued ...

No comments:

Post a Comment