Discussion:
Subject: i915/DRM bug
Saada, Mehdi
2014-09-06 14:12:33 UTC
Permalink
System : Netbsd 6.1.4
Arch : amd-4
pkgsrc: (a few days old)

I can't run properly the X client(xorg as well as modular-xorg
The screen show only the mouse; Or if I start xdm, I can't log under any user's name, like all password was false(indeed they are not).
Here's an excerpt of interesting lines of Xorg.0.log
No one outside could help me. I am new with BSD systems, and wasn't neither a power user before.
[ 187.778] drmOpenDevice: node name is /dev/dri/card0
[ 187.778] drmOpenDevice: open result is 13, (OK)
[ 187.778] drmOpenByBusid: drmOpenMinor returns 13
[ 187.778] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[...] [ 187.926] (WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
[...][ 188.686] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[...][ 188.797] (EE) AIGLX error: i915 does not export required DRI extension
[ 188.805] (EE) AIGLX: reverting to software rendering
[ 244.184] (WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
[ 256.250] (II) intel(0): [drm] Closed DRM master.

Thanks
j***@sdf.org
2014-09-06 16:20:37 UTC
Permalink
Post by Saada, Mehdi
System : Netbsd 6.1.4
Arch : amd-4
pkgsrc: (a few days old)
I can't run properly the X client(xorg as well as modular-xorg
The screen show only the mouse; Or if I start xdm, I can't log under any user's name, like all password was false(indeed they are not).
Here's an excerpt of interesting lines of Xorg.0.log
No one outside could help me. I am new with BSD systems, and wasn't neither a power user before.
[ 187.778] drmOpenDevice: node name is /dev/dri/card0
[ 187.778] drmOpenDevice: open result is 13, (OK)
[ 187.778] drmOpenByBusid: drmOpenMinor returns 13
[ 187.778] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[...] [ 187.926] (WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
[...][ 188.686] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[...][ 188.797] (EE) AIGLX error: i915 does not export required DRI extension
[ 188.805] (EE) AIGLX: reverting to software rendering
[ 244.184] (WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
[ 256.250] (II) intel(0): [drm] Closed DRM master.
I think I had a similar problem w/ an i915-based system. There were several things buggy
at the time:

- using a PS2 keyboard caused very slow Xorg startup => installed a USB keyboard
- DRM was failing => disabled DRI/acceleration in /etc/X11/xorg.conf
- PCI bus probed incorrectly => make explicit in /etc/X11/xorg.conf

I find creating a xorg.conf.new file using 'Xorg -configure' then tweaking one thing at a time
and loading it with 'Xorg -config xorg.conf.new' helps with chasing down Xorg issues.

Good luck!

jgw
mehdi saada
2014-09-07 19:03:47 UTC
Permalink
Sorry but ... How did you do this ?
How do you desactivate material accceleration ? put a diese before each
line containing "dri", and it said that my graphical card is located at
PCI:0:2:0 ... Is it an accurate pci location ?
I already use usb mouse and keyboard.
Post by Saada, Mehdi
Post by Saada, Mehdi
System : Netbsd 6.1.4
Arch : amd-4
pkgsrc: (a few days old)
I can't run properly the X client(xorg as well as modular-xorg
The screen show only the mouse; Or if I start xdm, I can't log under any
user's name, like all password was false(indeed they are not).
Post by Saada, Mehdi
Here's an excerpt of interesting lines of Xorg.0.log
No one outside could help me. I am new with BSD systems, and wasn't
neither a power user before.
Post by Saada, Mehdi
[ 187.778] drmOpenDevice: node name is /dev/dri/card0
[ 187.778] drmOpenDevice: open result is 13, (OK)
[ 187.778] drmOpenByBusid: drmOpenMinor returns 13
[ 187.778] drmOpenByBusid: Interface 1.4 failed, trying 1.1
4294967295
Post by Saada, Mehdi
[...][ 188.686] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[...][ 188.797] (EE) AIGLX error: i915 does not export required DRI
extension
Post by Saada, Mehdi
[ 188.805] (EE) AIGLX: reverting to software rendering
4294967295
Post by Saada, Mehdi
[ 256.250] (II) intel(0): [drm] Closed DRM master.
I think I had a similar problem w/ an i915-based system. There were several things buggy
- using a PS2 keyboard caused very slow Xorg startup => installed a USB keyboard
- DRM was failing => disabled DRI/acceleration in /etc/X11/xorg.conf
- PCI bus probed incorrectly => make explicit in /etc/X11/xorg.conf
I find creating a xorg.conf.new file using 'Xorg -configure' then tweaking
one thing at a time
and loading it with 'Xorg -config xorg.conf.new' helps with chasing down Xorg issues.
Good luck!
jgw
mehdi saada
2014-09-10 18:57:44 UTC
Permalink
I broadcast this message for wider help.
I changed xorg.conf.new like that :
Option "NoAccel" "True"
and nothing else then a screen appeared, but only the cursor will peep out.
Then I tried xdm -config xorg.conf.new,
and xdm appear, but do not accept a connection with a regular user nor root.
My usb mouse acceleration also was wrong.
Something elses in someone's sleeve ? How to know, once and for good, if my
graphical card
has driver available for itself or not ?
Manuel Bouyer
2014-09-10 21:03:13 UTC
Permalink
Post by mehdi saada
I broadcast this message for wider help.
Option "NoAccel" "True"
and nothing else then a screen appeared, but only the cursor will peep out.
What did you start ? If you started only the X server, that's normal.
Post by mehdi saada
Then I tried xdm -config xorg.conf.new,
and xdm appear, but do not accept a connection with a regular user nor root.
What is the error message (or what happens) ?
Post by mehdi saada
My usb mouse acceleration also was wrong.
this is something that can be fixed in xorg.conf, or with xset.
Post by mehdi saada
Something elses in someone's sleeve ? How to know, once and for good, if my
graphical card
has driver available for itself or not ?
If you did see xdm's window, then your graphic card is working.
The other problems are unrelated to graphic card drivers.
--
Manuel Bouyer <***@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
Loading...