You are not logged in.

#1 2009-08-06 23:24:35

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

KMS on Intel Mobile GM45 gives blank screen

Hi there,
I'v been using my Arch-system for quite some time now, but I haven't gotten to get kms to work.

Here's some info:
dmesg:

agpgart-intel 0000:00:00.0: Intel Mobile Intel GM45 Express Chipset

Xorg.0.log:

...(II) intel(0): [DRI2] Setup complete
(**) intel(0): Kernel mode setting active, disabling FBC.
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): No memory allocations
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): direct rendering: DRI2 Enabled
(--) RandR disabled...

I'm using xf86-video-intel-git-20090807-1-i686 from AUR, added intel_agp and i915 to the modules section of my mkinitcpio.conf, added "options i915 modeset=1" to the modprobe.conf and rebuilt my initrd.
Everything boots up and seems to work, but the screen stays blank/black. Only way to get the system back is rebooting blindly.
Did I miss something or is it my hardware not supported? Couldn't find out anything about this specific chipset. I'm using an Asus X5DIJ laptop, pretty new model afaik.

thanks,
didi2002

Offline

#2 2009-08-07 12:35:06

traaf
Member
Registered: 2009-08-06
Posts: 10

Re: KMS on Intel Mobile GM45 gives blank screen

xf86-video-intel-git-20090807-1-i686

did you try the extra/xf86-video-intel ?
i have no issue with same video chipset and kms active

DIDI2002 wrote:

added intel_agp and i915 to the modules section of my mkinitcpio.conf, added "options i915 modeset=1" to the modprobe.conf and rebuilt my initrd.

i did the same

lspci -v
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])

Last edited by traaf (2009-08-07 12:35:31)

Offline

#3 2009-08-08 15:27:22

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: KMS on Intel Mobile GM45 gives blank screen

DIDI2002 wrote:

added intel_agp and i915 to the modules section of my mkinitcpio.conf, added "options i915 modeset=1" to the modprobe.conf and rebuilt my initrd.

I have the desktop version of the chip and it works ok. However, I also have "drm" in the modules section of /etc/mkinitcpio.conf, though I'm not sure it's necessary (the wiki doesn't mention it). Also, i boot with i915.modeset=1 added to my kernel line in /boot/grub/menu.lst, not with the modprobe.conf option (by the way, make sure you have no vga= or video= lines in /boot/grub/menu.lst).

Offline

#4 2009-08-08 20:33:50

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Re: KMS on Intel Mobile GM45 gives blank screen

Thanks for your replies, it seems to me as if the problem is related to the Laptop's display not being adressed correctly. I can view the Xorg logs and even browse the web "blind", I'll try to use my external screen to see if that works. Do you know of any parameters I could possibly pass to i915 instead of just "modeset=1" to narrow down the problem?
Of course, if I use VGA=9 arch boots fine with 1024*786 or something, but without KMS of course.
Thanks for your ideas anyways, I'll try using the kernel-option and report back.
btw: there's no difference between extra/xf86-video-intel and the git-package from AUR, UXA is working fine too, referring to the Xorg.log.old posted before.

Offline

#5 2009-08-08 23:51:30

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Re: KMS on Intel Mobile GM45 gives blank screen

Ok, using an external monitor via VGA works.
dmesg gives me some i915-related error-messages:

[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
i2c-adapter i2c-2: unable to read EDID block.
i915 0000:00:02.0: DVI-D-1: no EDID data

The problem should be the built-in display's incorrect EDID data, right?
Does anyone have a clue how this could be fixed/hotfixed/worked around?
btw: the kernel option results in "Unknown boot option `i915.modeset=1': ignoring", using 2.6.30-ARCH

Last edited by DIDI2002 (2009-08-08 23:53:34)

Offline

#6 2009-08-09 14:33:46

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: KMS on Intel Mobile GM45 gives blank screen

Strange. So how do you normally set the screen resolution when not using KMS? Do you need to provide an /etc/X11/xorg.conf with the right parameters? If you try to boot without /etc/X11/xorg.conf does it also results in a black screen (I mean without KMS)?

What does "xrandr -q" say?

Also strange the boot parameter gives that error, it works here (maybe because of drm being included in the initrd image?).

Last edited by Bogart (2009-08-09 14:34:12)

Offline

#7 2009-08-09 16:42:09

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Re: KMS on Intel Mobile GM45 gives blank screen

I believe the kernel-option only works if you have i915 compiled into the kernel, not if it's loaded as a module.
xrand -q returns

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 4096 x 4096
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768       59.6*+
   1024x768       85.0     75.0     70.1     60.0  
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
HDMI-2 disconnected (normal left inverted right x axis y axis)

Apears to be correct to me.
I'm not using a xorg.conf at all, though I do use vga=9 to set my ttys to 1024*768, but I removed that to enable KMS.
I also tried an initrd with/without the drm module. The screen always turns black during bootup, when drm/i915 is loaded. The backlight stays on and can be adjusted using the fn-keys...
It's not like this is a showstopper, but afair using kms increases the overall performance/smoothness of UXA.

Offline

#8 2009-11-25 14:21:11

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: KMS on Intel Mobile GM45 gives blank screen

I realize the thread is a bit old, but for the record:

Same problem bugged me too, found this bug (ubuntu/fedora). Seems like it got submitted upstream, KMS now works like it should with 2.6.32 rc.

Offline

Board footer

Powered by FluxBB