You are not logged in.

#1 2009-04-13 21:48:14

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

KMS weirdness

I followed this guide to setting up KMS and it seems to be working. Sort of. Switching between ttys and X is fast, boot text is nice and so on.

But glxgears gives a segmentation fault the instant it's started. Doing a dmesg in an xterm is rendered really slowly. And what is up with this:

[lars@laptop ~]$ dmesg | grep 915
Command line: root=/dev/sda3 ro i915.modeset=1
Kernel command line: root=/dev/sda3 ro i915.modeset=1
Unknown boot option `i915.modeset=1': ignoring   <--   THIS
[drm] Initialized i915 1.6.0 20080730 on minor 0

I have no xorg.conf. Am I doing something wrong?

Last edited by Lars Stokholm (2009-04-13 21:49:44)

Offline

#2 2009-04-13 22:18:29

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: KMS weirdness

I got rid of the glxgears segfault by adding this to xorg.conf:

Section "DRI"
    Mode 0660
EndSection

Offline

#3 2009-04-13 22:30:31

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: KMS weirdness

You can put modeset=1 into modprobe.conf, as in this howto (worked for me)
http://bbs.archlinux.org/viewtopic.php?id=69083

Offline

#4 2009-04-14 03:25:18

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: KMS weirdness

I'm in the same boat as Lars. Intel 965, no xorg.conf, glxgears segfaults, KMS seems to be working although it says option ignored.

Found my own solution:

[fp@viron ~]$ ls -l /dev/dri/card0 
crw-rw---- 1 root video 226, 0 2009-04-13 22:53 /dev/dri/card0
[fp@viron ~]$ sudo usermod -aG video fp

Now it works!

Last edited by fphillips (2009-04-14 05:20:17)

Offline

#5 2009-04-14 09:02:21

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: KMS weirdness

Thanks guys. That solved some problems and it seems to have even giving me a performance boost for some reason. Before I had permissions to /dev/dri/card0, both a dmesg in xterm and drawing in gimp was rediculously slow. It doesn't seem to be as slow anymore.

Now that I know I'm not alone on that modeset=1 part, that I know it works and that I know how to work arround it, I can safely ignore. smile

Offline

#6 2009-04-14 16:58:41

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: KMS weirdness

Should this glxgears crash be repported as a bug or has it perhaps already been thought into future updates?

Offline

Board footer

Powered by FluxBB