public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: video driver / system state question
Date: Mon, 25 Jan 2010 17:13:59 -0800	[thread overview]
Message-ID: <5bdc1c8b1001251713s19e6e142o774a35bcf48a4d1e@mail.gmail.com> (raw)
In-Reply-To: <hjlbtc$efo$1@ger.gmane.org>

On Mon, Jan 25, 2010 at 4:10 PM, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 01/26/2010 01:20 AM, Mark Knecht wrote:
>>
>> Hi,
>>    I've been working on trying to get this new machine to run X. So
>> far no luck but I'm learning so it's interesting.
>>
>>    My quick question goes like this - if I boot with no drivers I get
>> a VGA console. If I modprobe a frame buffer driver at boot time then I
>> get a nice looking but slow frame buffer console. All good so far.
>> However my graphics adapter is supposed to use the i915 driver and
>> when I modprobe that - either in auto-load or at the command like
>> after logging in - my screen goes 'black'. I'm wondering what I do -
>> other than look at what's in dmesg - to figure out what state the
>> machine is in. Is the screen turned off? Is the driver running and
>> putting out 'black'?
>
> I might be wrong, but it sounds like the driver tries to use KMS (kernel
> mode setting) which conflicts with other framebuffer drivers (KMS provides a
> fast framebuffer console on its own).
>
> So two things to try here:
>
<SNIP>
> B. Disable KMS in the i915 driver:
>   . When built as a module, use the "modeset=0" parameter

I rebooted the machine clean to the command line prompt and then typed

modprobe i915 modeset=0

and except for the first 3 lines everything below was created in
dmesg. At this point the screen s black and the light on the front is
blinking like it does when the computer is turned off.

I haven't been able to solve the MTRR thing yet. I've tried a bunch of
different settings but it doesn't change those results.

Is it typical to call the device a 'fb0: inteldrmfb frame buffer
device'? I assume that's not the i915 but rather the drm?

- Mark

e100: eth0 NIC Link is Up 10 Mbps Half Duplex
NET: Registered protocol family 10
eth0: no IPv6 routers present
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combining
[drm] MTRR allocation failed.  Graphics performance may suffer.
[drm] set up 31M of stolen space
[drm:intel_dp_i2c_init], i2c_init DPDDC-C
[drm:intel_dp_i2c_init], i2c_init DPDDC-D
[drm:drm_helper_probe_single_connector_modes], VGA-1
[drm:drm_helper_probe_single_connector_modes], Probed modes for VGA-1
[drm:drm_mode_debug_printmodeline], Modeline 39:"1280x1024" 60 108000
1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[drm:drm_mode_debug_printmodeline], Modeline 35:"1280x1024" 75 135000
1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 30:"1152x864" 75 108000
1152 1216 1344 1600 864 865 868 900 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 24:"1024x768" 75 78800
1024 1040 1136 1312 768 769 772 800 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 36:"1024x768" 75 78750
1024 1040 1136 1312 768 769 772 800 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 25:"1024x768" 70 75000
1024 1048 1184 1328 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 32:"1024x768" 60 65000
1024 1048 1184 1344 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 27:"832x624" 75 57284 832
864 928 1152 624 625 628 667 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 29:"800x600" 72 50000 800
856 976 1040 600 637 643 666 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 37:"800x600" 75 49500 800
816 896 1056 600 601 604 625 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 33:"800x600" 60 40000 800
840 968 1056 600 601 605 628 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 17:"800x600" 56 36000 800
824 896 1024 600 601 603 625 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 38:"640x480" 75 31500 640
656 720 840 480 481 484 500 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 19:"640x480" 73 31500 640
664 704 832 480 489 491 520 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 20:"640x480" 67 30240 640
704 768 864 480 483 486 525 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 21:"640x480" 60 25200 640
656 752 800 480 490 492 525 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 34:"640x480" 60 25175 640
656 752 800 480 489 492 525 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 22:"720x400" 70 28320 720
738 846 900 400 412 414 449 0x40 0x6
[drm:drm_helper_probe_single_connector_modes], HDMI Type A-1
[drm:drm_helper_probe_single_connector_modes], HDMI Type A-1 is disconnected
[drm:drm_helper_probe_single_connector_modes], HDMI Type A-2
[drm:drm_helper_probe_single_connector_modes], Probed modes for HDMI Type A-2
[drm:drm_mode_debug_printmodeline], Modeline 54:"1680x1050" 60 119000
1680 1728 1760 1840 1050 1053 1059 1080 0x48 0x9
[drm:drm_mode_debug_printmodeline], Modeline 50:"1680x1050" 60 146250
1680 1784 1960 2240 1050 1053 1059 1089 0x40 0x6
[drm:drm_mode_debug_printmodeline], Modeline 42:"1280x1024" 75 135000
1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 51:"1280x1024" 60 108000
1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 52:"1280x960" 60 108000
1280 1376 1488 1800 960 961 964 1000 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 53:"1152x864" 75 108000
1152 1216 1344 1600 864 865 868 900 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 43:"1024x768" 75 78800
1024 1040 1136 1312 768 769 772 800 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 44:"1024x768" 70 75000
1024 1048 1184 1328 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 45:"1024x768" 60 65000
1024 1048 1184 1344 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 46:"832x624" 75 57284 832
864 928 1152 624 625 628 667 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 48:"800x600" 72 50000 800
856 976 1040 600 637 643 666 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 47:"800x600" 75 49500 800
816 896 1056 600 601 604 625 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 18:"800x600" 60 40000 800
840 968 1056 600 601 605 628 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 23:"800x600" 56 36000 800
824 896 1024 600 601 603 625 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 28:"640x480" 73 31500 640
664 704 832 480 489 491 520 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 26:"640x480" 75 31500 640
656 720 840 480 481 484 500 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 31:"640x480" 67 30240 640
704 768 864 480 483 486 525 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 40:"640x480" 60 25200 640
656 752 800 480 490 492 525 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 41:"720x400" 70 28320 720
738 846 900 400 412 414 449 0x40 0x6
[drm:drm_helper_probe_single_connector_modes], DisplayPort-1
[drm:drm_helper_probe_single_connector_modes], DisplayPort-1 is disconnected
[drm:drm_helper_probe_single_connector_modes], DisplayPort-2
[drm:drm_helper_probe_single_connector_modes], DisplayPort-2 is disconnected
[drm:drm_setup_crtcs],
[drm:drm_enable_connectors], connector 5 enabled? yes
[drm:drm_enable_connectors], connector 7 enabled? no
[drm:drm_enable_connectors], connector 9 enabled? yes
[drm:drm_enable_connectors], connector 11 enabled? no
[drm:drm_enable_connectors], connector 13 enabled? no
[drm:drm_target_preferred], looking for cmdline mode on connector 5
[drm:drm_target_preferred], looking for preferred mode on connector 5
[drm:drm_target_preferred], found mode 1280x1024
[drm:drm_target_preferred], looking for cmdline mode on connector 9
[drm:drm_target_preferred], looking for preferred mode on connector 9
[drm:drm_target_preferred], found mode 1680x1050
[drm:drm_setup_crtcs], picking CRTCs for 8192x8192 config
[drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 3
[drm:drm_setup_crtcs], desired mode 1680x1050 set on crtc 4
fb0: inteldrmfb frame buffer device
registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
firefly ~ #



  parent reply	other threads:[~2010-01-26  2:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-25 23:20 [gentoo-amd64] video driver / system state question Mark Knecht
2010-01-26  0:09 ` Bob Sanders
2010-01-26  0:23   ` Drake Donahue
2010-01-26  3:09     ` Mark Knecht
2010-01-26  5:05       ` Drake Donahue
2010-01-26 15:16         ` Richard Freeman
2010-01-26 15:19         ` Richard Freeman
2010-01-26  0:10 ` [gentoo-amd64] " Nikos Chantziaras
2010-01-26  1:03   ` Mark Knecht
2010-01-26  1:04   ` Duncan
2010-01-26  1:13   ` Mark Knecht [this message]
2010-01-26 10:59     ` Peter Humphrey
2010-01-26 17:30       ` Mark Knecht
2010-01-26 18:37         ` Nikos Chantziaras
2010-01-26 21:04           ` Mark Knecht
2010-01-26 19:37         ` Drake Donahue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b1001251713s19e6e142o774a35bcf48a4d1e@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox