You are not logged in.
Pages: 1
Hello all,
I'm putting together a new computer with an oldish VGA only monitor. I used the latest installation disk. Installation went fine. I then did pacman -Syu of course. After that, whenever I boot my computer, it boots the kernel and shortly afterwards (before the login prompt) cause the monitor to go "out of range". I've tested the monitor with a Windows laptop and it seems fine. My question is: why did the VGA mode change during boot? How do I avoid that? If I can get a prompt and install X it'll be one step anyway. Thanks,
Offline
Need more info: are you using KMS? Do you boot straight to X or log into console?
Offline
Kernel mode setting? I don't think so. At least I didn't explicitly configured the system to use it.
X is not even installed so it's console only.
Offline
Kernel mode setting? I don't think so. At least I didn't explicitly configured the system to use it.
X is not even installed so it's console only.
So you don't have any graphics drivers installed?
Can you post the logs?
Offline
I'm assuming you meant kernel log. I had to enable sshd and login remotely to get it:
Offline
I'm assuming you meant kernel log. I had to enable sshd and login remotely to get it:
The problem:
[ 4.544007] [drm] Initialized drm 1.1.0 20060810
[ 4.674859] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4.674863] i915 0000:00:02.0: setting latency timer to 64
[ 4.706140] mtrr: type mismatch for e0000000,10000000 old: write-back new: write-combining
[ 4.706142] [drm] MTRR allocation failed. Graphics performance may suffer.
[ 4.706393] i915 0000:00:02.0: irq 41 for MSI/MSI-X
[ 4.706396] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 4.706397] [drm] Driver supports precise vblank timestamp query.
[ 4.736280] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 4.922865] checking generic (e0000000 fff0000) vs hw (e0000000 10000000)
[ 4.922868] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[ 4.922883] Console: switching to colour dummy device 80x25
[ 4.923077] fbcon: inteldrmfb (fb0) is primary device
[ 5.083490] Console: switching to colour frame buffer device 240x67
[ 5.195838] fb0: inteldrmfb frame buffer device
[ 5.195839] drm: registered panic notifier
[ 5.195954] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0Maybe removing the vga part would help:
[ 0.000000] Command line: root=/dev/sda3 ro vga=773but I'm basically guessing here.
Offline
hmmmm. Looks like kernel enabled fb by itself?
I added vga=773 when the default command line didn't work, hoping to forcing it to use a good VGA mode. ![]()
Is it because of the relatively new intel hd 2000 graphics core?
Offline
After googling "[drm] MTRR allocation failed. Graphics performance may suffer." I found https://bbs.archlinux.org/viewtopic.php?id=87556
Last edited by karol (2011-07-22 22:43:16)
Offline
Looks quite interesting although it's from 2009. I'll read through it carefully. Thanks very much.
Offline
Maybe try disabling KMS with i915.modeset=0 on the kernel bootline.
Another fix (from Ubuntu) https://bugs.launchpad.net/ubuntu/+sour … bug/709677 - see comment #7:
GRUB_CMDLINE_LINUX="enable_mtrr_cleanup mtrr_spare_reg_nr=1"
solves the issue...
Don't ask me where do you need to put it ;P
hmmmm. Looks like kernel enabled fb by itself?
KMS is now enabled by default in the kernel, although not every graphics driver uses it (nvidia does not).
Offline
I've got my console login prompt after i915.modeset=0!!! Thanks very much. Hopefully I'll get X working soon.
Offline
You need KMS for X. And you shouldn't be using vesafb, which means no 'vga=' on the kernel commandline. Shouldn't actually be a problem, because vesafb supports hading over control to a different (KMS in our case) driver, but you never know. Also, that MTRR message is harmless, the intel driver uses PAT instead, which is available on all modern machines (wow, I've just called the Pentium M not modern...).
What's the resolution of the display? inteldrmfb sets the console to 240x67, that seems too high to me.
Offline
The wiki on Intel drivers and X should tell OP all he needs to know.
Offline
The wiki on Intel drivers and X should tell OP all he needs to know.
No necessarily. I don't see anything in there about misbehaving VGA screens.
Offline
This is getting strange. I just tried the same Arch installation on my 32 inch LG TV and everything worked without a problem - and no tweaking. I didn't have to do anything with KMS. I also tried to install WinXP and my LCD monitor seems to be half broken: it won't go to it's optimum resolution which is 1920x1080. 1366x768 works fine though. So I don't know what it is..... My new PC is already an accident and I don't want to buy a new monitor.
Offline
karol wrote:The wiki on Intel drivers and X should tell OP all he needs to know.
No necessarily. I don't see anything in there about misbehaving VGA screens.
Sorry, I meant that, if what's in the wiki is not enough, it's either a PEBKAC or a hardware issue.
Offline
Pages: 1