You are not logged in.

#1 2009-06-29 02:55:28

patrickthebold
Member
Registered: 2008-12-15
Posts: 55

xrandr problems with custom kernel

Hi,

I installed kernel26-one-dev from AUR as it is custom designed from my laptop.  Everything works great except for xrandr, which doesn't work at all.  I *think* the problem might be with Kernel Mode Setting being enabled.  There might be some relation to the inteldrmfb.  This is compiled into the kernel and I was wondering if there is an option to disable it when booting.  Since I'm just guessing I'd rather not have to recompile every time I think I know the problem. 

Anyone else have problems with xrandr and KMS?  Can anyone think how changing the kernel would break xrandr?

Offline

#2 2009-06-29 16:01:29

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Re: xrandr problems with custom kernel

I can't change the resolution to other than the native one with Kernel Mode Setting enabled.

the output of my xrandr is :

[hades@tebe ~]$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 2048 x 2048
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x 129mm
   1024x600       60.0*+
[hades@tebe ~]$

Seems like it detects only the native resolution.

Offline

#3 2009-06-29 16:08:57

Malstrond
Member
From: Germany
Registered: 2009-06-03
Posts: 98

Re: xrandr problems with custom kernel

I have i915 in KMS mode and agpgart compiled in statically. I can't use any other resolution than the native one on the internal monitor when I don't use a xorg.conf too. As I don't use HAL and hotplugging, I defined my modelines there and I can switch to these resolutions with xrandr.

I don't know if that works if i915 isn't a module, but you could try booting your kernel with the i915.modeset=0 parameter to disable KMS.

Offline

#4 2009-07-01 00:40:39

patrickthebold
Member
Registered: 2008-12-15
Posts: 55

Re: xrandr problems with custom kernel

Malstrond wrote:

I have i915 in KMS mode and agpgart compiled in statically. I can't use any other resolution than the native one on the internal monitor when I don't use a xorg.conf too. As I don't use HAL and hotplugging, I defined my modelines there and I can switch to these resolutions with xrandr.

I don't know if that works if i915 isn't a module, but you could try booting your kernel with the i915.modeset=0 parameter to disable KMS.

So that kernel option worked and that caused xrandr to start working (no KMS=> xrandr works).  My main use for xrandr is to switch between my laptop screen and an externel monitor.   I'm not sure how HAL fits into this, or where you need to define your modelines, but do you think I can get KMS working with xrandr?

Offline

Board footer

Powered by FluxBB