Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: video driver / system state question
Date: Tue, 26 Jan 2010 02:06:15
Message-Id: 5bdc1c8b1001251713s19e6e142o774a35bcf48a4d1e@mail.gmail.com
In Reply to: [gentoo-amd64] Re: video driver / system state question by Nikos Chantziaras
1 On Mon, Jan 25, 2010 at 4:10 PM, Nikos Chantziaras <realnc@×××××.de> wrote:
2 > On 01/26/2010 01:20 AM, Mark Knecht wrote:
3 >>
4 >> Hi,
5 >>    I've been working on trying to get this new machine to run X. So
6 >> far no luck but I'm learning so it's interesting.
7 >>
8 >>    My quick question goes like this - if I boot with no drivers I get
9 >> a VGA console. If I modprobe a frame buffer driver at boot time then I
10 >> get a nice looking but slow frame buffer console. All good so far.
11 >> However my graphics adapter is supposed to use the i915 driver and
12 >> when I modprobe that - either in auto-load or at the command like
13 >> after logging in - my screen goes 'black'. I'm wondering what I do -
14 >> other than look at what's in dmesg - to figure out what state the
15 >> machine is in. Is the screen turned off? Is the driver running and
16 >> putting out 'black'?
17 >
18 > I might be wrong, but it sounds like the driver tries to use KMS (kernel
19 > mode setting) which conflicts with other framebuffer drivers (KMS provides a
20 > fast framebuffer console on its own).
21 >
22 > So two things to try here:
23 >
24 <SNIP>
25 > B. Disable KMS in the i915 driver:
26 >   . When built as a module, use the "modeset=0" parameter
27
28 I rebooted the machine clean to the command line prompt and then typed
29
30 modprobe i915 modeset=0
31
32 and except for the first 3 lines everything below was created in
33 dmesg. At this point the screen s black and the light on the front is
34 blinking like it does when the computer is turned off.
35
36 I haven't been able to solve the MTRR thing yet. I've tried a bunch of
37 different settings but it doesn't change those results.
38
39 Is it typical to call the device a 'fb0: inteldrmfb frame buffer
40 device'? I assume that's not the i915 but rather the drm?
41
42 - Mark
43
44 e100: eth0 NIC Link is Up 10 Mbps Half Duplex
45 NET: Registered protocol family 10
46 eth0: no IPv6 routers present
47 [drm] Initialized drm 1.1.0 20060810
48 i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
49 i915 0000:00:02.0: setting latency timer to 64
50 mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combining
51 [drm] MTRR allocation failed. Graphics performance may suffer.
52 [drm] set up 31M of stolen space
53 [drm:intel_dp_i2c_init], i2c_init DPDDC-C
54 [drm:intel_dp_i2c_init], i2c_init DPDDC-D
55 [drm:drm_helper_probe_single_connector_modes], VGA-1
56 [drm:drm_helper_probe_single_connector_modes], Probed modes for VGA-1
57 [drm:drm_mode_debug_printmodeline], Modeline 39:"1280x1024" 60 108000
58 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
59 [drm:drm_mode_debug_printmodeline], Modeline 35:"1280x1024" 75 135000
60 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
61 [drm:drm_mode_debug_printmodeline], Modeline 30:"1152x864" 75 108000
62 1152 1216 1344 1600 864 865 868 900 0x40 0x5
63 [drm:drm_mode_debug_printmodeline], Modeline 24:"1024x768" 75 78800
64 1024 1040 1136 1312 768 769 772 800 0x40 0x5
65 [drm:drm_mode_debug_printmodeline], Modeline 36:"1024x768" 75 78750
66 1024 1040 1136 1312 768 769 772 800 0x40 0x5
67 [drm:drm_mode_debug_printmodeline], Modeline 25:"1024x768" 70 75000
68 1024 1048 1184 1328 768 771 777 806 0x40 0xa
69 [drm:drm_mode_debug_printmodeline], Modeline 32:"1024x768" 60 65000
70 1024 1048 1184 1344 768 771 777 806 0x40 0xa
71 [drm:drm_mode_debug_printmodeline], Modeline 27:"832x624" 75 57284 832
72 864 928 1152 624 625 628 667 0x40 0xa
73 [drm:drm_mode_debug_printmodeline], Modeline 29:"800x600" 72 50000 800
74 856 976 1040 600 637 643 666 0x40 0x5
75 [drm:drm_mode_debug_printmodeline], Modeline 37:"800x600" 75 49500 800
76 816 896 1056 600 601 604 625 0x40 0x5
77 [drm:drm_mode_debug_printmodeline], Modeline 33:"800x600" 60 40000 800
78 840 968 1056 600 601 605 628 0x40 0x5
79 [drm:drm_mode_debug_printmodeline], Modeline 17:"800x600" 56 36000 800
80 824 896 1024 600 601 603 625 0x40 0x5
81 [drm:drm_mode_debug_printmodeline], Modeline 38:"640x480" 75 31500 640
82 656 720 840 480 481 484 500 0x40 0xa
83 [drm:drm_mode_debug_printmodeline], Modeline 19:"640x480" 73 31500 640
84 664 704 832 480 489 491 520 0x40 0xa
85 [drm:drm_mode_debug_printmodeline], Modeline 20:"640x480" 67 30240 640
86 704 768 864 480 483 486 525 0x40 0xa
87 [drm:drm_mode_debug_printmodeline], Modeline 21:"640x480" 60 25200 640
88 656 752 800 480 490 492 525 0x40 0xa
89 [drm:drm_mode_debug_printmodeline], Modeline 34:"640x480" 60 25175 640
90 656 752 800 480 489 492 525 0x40 0xa
91 [drm:drm_mode_debug_printmodeline], Modeline 22:"720x400" 70 28320 720
92 738 846 900 400 412 414 449 0x40 0x6
93 [drm:drm_helper_probe_single_connector_modes], HDMI Type A-1
94 [drm:drm_helper_probe_single_connector_modes], HDMI Type A-1 is disconnected
95 [drm:drm_helper_probe_single_connector_modes], HDMI Type A-2
96 [drm:drm_helper_probe_single_connector_modes], Probed modes for HDMI Type A-2
97 [drm:drm_mode_debug_printmodeline], Modeline 54:"1680x1050" 60 119000
98 1680 1728 1760 1840 1050 1053 1059 1080 0x48 0x9
99 [drm:drm_mode_debug_printmodeline], Modeline 50:"1680x1050" 60 146250
100 1680 1784 1960 2240 1050 1053 1059 1089 0x40 0x6
101 [drm:drm_mode_debug_printmodeline], Modeline 42:"1280x1024" 75 135000
102 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
103 [drm:drm_mode_debug_printmodeline], Modeline 51:"1280x1024" 60 108000
104 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
105 [drm:drm_mode_debug_printmodeline], Modeline 52:"1280x960" 60 108000
106 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
107 [drm:drm_mode_debug_printmodeline], Modeline 53:"1152x864" 75 108000
108 1152 1216 1344 1600 864 865 868 900 0x40 0x5
109 [drm:drm_mode_debug_printmodeline], Modeline 43:"1024x768" 75 78800
110 1024 1040 1136 1312 768 769 772 800 0x40 0x5
111 [drm:drm_mode_debug_printmodeline], Modeline 44:"1024x768" 70 75000
112 1024 1048 1184 1328 768 771 777 806 0x40 0xa
113 [drm:drm_mode_debug_printmodeline], Modeline 45:"1024x768" 60 65000
114 1024 1048 1184 1344 768 771 777 806 0x40 0xa
115 [drm:drm_mode_debug_printmodeline], Modeline 46:"832x624" 75 57284 832
116 864 928 1152 624 625 628 667 0x40 0xa
117 [drm:drm_mode_debug_printmodeline], Modeline 48:"800x600" 72 50000 800
118 856 976 1040 600 637 643 666 0x40 0x5
119 [drm:drm_mode_debug_printmodeline], Modeline 47:"800x600" 75 49500 800
120 816 896 1056 600 601 604 625 0x40 0x5
121 [drm:drm_mode_debug_printmodeline], Modeline 18:"800x600" 60 40000 800
122 840 968 1056 600 601 605 628 0x40 0x5
123 [drm:drm_mode_debug_printmodeline], Modeline 23:"800x600" 56 36000 800
124 824 896 1024 600 601 603 625 0x40 0x5
125 [drm:drm_mode_debug_printmodeline], Modeline 28:"640x480" 73 31500 640
126 664 704 832 480 489 491 520 0x40 0xa
127 [drm:drm_mode_debug_printmodeline], Modeline 26:"640x480" 75 31500 640
128 656 720 840 480 481 484 500 0x40 0xa
129 [drm:drm_mode_debug_printmodeline], Modeline 31:"640x480" 67 30240 640
130 704 768 864 480 483 486 525 0x40 0xa
131 [drm:drm_mode_debug_printmodeline], Modeline 40:"640x480" 60 25200 640
132 656 752 800 480 490 492 525 0x40 0xa
133 [drm:drm_mode_debug_printmodeline], Modeline 41:"720x400" 70 28320 720
134 738 846 900 400 412 414 449 0x40 0x6
135 [drm:drm_helper_probe_single_connector_modes], DisplayPort-1
136 [drm:drm_helper_probe_single_connector_modes], DisplayPort-1 is disconnected
137 [drm:drm_helper_probe_single_connector_modes], DisplayPort-2
138 [drm:drm_helper_probe_single_connector_modes], DisplayPort-2 is disconnected
139 [drm:drm_setup_crtcs],
140 [drm:drm_enable_connectors], connector 5 enabled? yes
141 [drm:drm_enable_connectors], connector 7 enabled? no
142 [drm:drm_enable_connectors], connector 9 enabled? yes
143 [drm:drm_enable_connectors], connector 11 enabled? no
144 [drm:drm_enable_connectors], connector 13 enabled? no
145 [drm:drm_target_preferred], looking for cmdline mode on connector 5
146 [drm:drm_target_preferred], looking for preferred mode on connector 5
147 [drm:drm_target_preferred], found mode 1280x1024
148 [drm:drm_target_preferred], looking for cmdline mode on connector 9
149 [drm:drm_target_preferred], looking for preferred mode on connector 9
150 [drm:drm_target_preferred], found mode 1680x1050
151 [drm:drm_setup_crtcs], picking CRTCs for 8192x8192 config
152 [drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 3
153 [drm:drm_setup_crtcs], desired mode 1680x1050 set on crtc 4
154 fb0: inteldrmfb frame buffer device
155 registered panic notifier
156 [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
157 firefly ~ #

Replies

Subject Author
Re: [gentoo-amd64] Re: video driver / system state question Peter Humphrey <peter@××××××××××××××.org>