Bug 745316 - [Pineview] Gnome goes into fallback mode
Summary: [Pineview] Gnome goes into fallback mode
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: [cat:modesetting]
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-12 01:31 UTC by Horst H. von Brand
Modified: 2018-04-11 16:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-25 18:07:32 UTC
Type: ---


Attachments (Terms of Use)
dmesg output (94.83 KB, text/plain)
2011-10-12 15:04 UTC, Horst H. von Brand
no flags Details
/var/log/messages for today (only boot for the requested test) (146.81 KB, text/plain)
2011-10-12 15:05 UTC, Horst H. von Brand
no flags Details
Xorg.0.log (29.99 KB, text/plain)
2011-10-12 15:05 UTC, Horst H. von Brand
no flags Details
Xorg.2.log (14.76 KB, text/plain)
2011-10-12 15:05 UTC, Horst H. von Brand
no flags Details
Xorg.2.log.old (14.75 KB, text/plain)
2011-10-12 15:06 UTC, Horst H. von Brand
no flags Details
Xorg.3.log (14.76 KB, text/plain)
2011-10-12 15:06 UTC, Horst H. von Brand
no flags Details
Xorg.3.log.old (14.76 KB, text/plain)
2011-10-12 15:07 UTC, Horst H. von Brand
no flags Details
Xorg.4.log (14.75 KB, text/plain)
2011-10-12 15:07 UTC, Horst H. von Brand
no flags Details
Xorg.4.log.old (14.75 KB, text/plain)
2011-10-12 15:08 UTC, Horst H. von Brand
no flags Details
Xorg.5.log (14.76 KB, text/plain)
2011-10-12 15:08 UTC, Horst H. von Brand
no flags Details
Xorg.5.log.old (14.75 KB, text/plain)
2011-10-12 15:08 UTC, Horst H. von Brand
no flags Details
Output from glxinfo as root (11.63 KB, application/octet-stream)
2011-10-13 14:31 UTC, Horst H. von Brand
no flags Details

Description Horst H. von Brand 2011-10-12 01:31:31 UTC
Description of problem:
On this Samsung N210 netbook, gnome shell used to work fine, now it goes into fallback mode.

Version-Release number of selected component (if applicable):
xorg-x11-drv-intel-2.16.0-2.fc17.x86_64
kernel-3.1.0-0.rc9.git0.0.fc17.x86_64

How reproducible:
Booted once after updating today, gdm is broken so I went to runlevel 3, logged in and ran startx

Steps to Reproduce:
1. Start Gnome session
2.
3.
  
Actual results:
Fallback mode

Expected results:
Gnome shell

Additional info:
# lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (prog-if 00 [VGA controller])
	Subsystem: Samsung Electronics Co Ltd Device c072
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at f0300000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at 18d0 [size=8]
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Memory at f0000000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Kernel driver in use: i915
	Kernel modules: i915

Comment 1 Matěj Cepl 2011-10-12 14:28:25 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log*; check with grep Backtrace /var/log/Xorg* which logs might be the most interesting ones, send us at least Xorg.0.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Horst H. von Brand 2011-10-12 15:03:03 UTC
OK, restarted as asked. gdm doesn't ever show up, went for tty2 and logged in as root.

- No /etc/X11/xorg.conf (<http://xkcd.com/963> might be relevant here ;-)

Comment 3 Horst H. von Brand 2011-10-12 15:04:18 UTC
Created attachment 527713 [details]
dmesg output

Comment 4 Horst H. von Brand 2011-10-12 15:05:01 UTC
Created attachment 527714 [details]
/var/log/messages for today (only boot for the requested test)

Comment 5 Horst H. von Brand 2011-10-12 15:05:27 UTC
Created attachment 527715 [details]
Xorg.0.log

Comment 6 Horst H. von Brand 2011-10-12 15:05:58 UTC
Created attachment 527716 [details]
Xorg.2.log

Comment 7 Horst H. von Brand 2011-10-12 15:06:26 UTC
Created attachment 527718 [details]
Xorg.2.log.old

Comment 8 Horst H. von Brand 2011-10-12 15:06:48 UTC
Created attachment 527719 [details]
Xorg.3.log

Comment 9 Horst H. von Brand 2011-10-12 15:07:12 UTC
Created attachment 527720 [details]
Xorg.3.log.old

Comment 10 Horst H. von Brand 2011-10-12 15:07:40 UTC
Created attachment 527721 [details]
Xorg.4.log

Comment 11 Horst H. von Brand 2011-10-12 15:08:05 UTC
Created attachment 527722 [details]
Xorg.4.log.old

Comment 12 Horst H. von Brand 2011-10-12 15:08:28 UTC
Created attachment 527723 [details]
Xorg.5.log

Comment 13 Horst H. von Brand 2011-10-12 15:08:54 UTC
Created attachment 527725 [details]
Xorg.5.log.old

Comment 14 Horst H. von Brand 2011-10-12 15:11:23 UTC
Attached the asked items.

Went "telinit 3", then logged in and "startx", fallback mode again.

Comment 15 Matěj Cepl 2011-10-12 16:57:29 UTC
(In reply to comment #2)
> OK, restarted as asked. gdm doesn't ever show up, went for tty2 and logged in
> as root.
> 
> - No /etc/X11/xorg.conf (<http://xkcd.com/963> might be relevant here ;-)

That's one of the reasons why xorg.conf has been deprecated since FC6 ;).

Those other Xorg.*.log* files are quite old so I hide them.

Otherwise, passing to the developer for further analysis.

Comment 16 Adam Jackson 2011-10-13 14:09:23 UTC
Please attach the output of

% LIBGL_DEBUG=verbose glxinfo

Comment 17 Horst H. von Brand 2011-10-13 14:31:01 UTC
Created attachment 528036 [details]
Output from glxinfo as root

Running it as myself I just get:

$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: OpenDriver: trying /usr/lib64/dri/i915_dri.so
libGL error: failed to open drm device: Permission denied
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/vonbrand/.drirc: No such file or directory.
LLVM ERROR: Allocation failed when allocating new memory in the JIT
Can't allocate RWX Memory: Permission denied

SELinux is enforcing.

Comment 18 Adam Jackson 2011-10-13 16:00:11 UTC
Well the "permission denied" thing is the problem.  In a normal gdm session you'd get something like:

~% getfacl /dev/dri/card0
getfacl: Removing leading '/' from absolute path names
# file: dev/dri/card0
# owner: root
# group: video
user::rw-
user:ajax:rw-
group::rw-
mask::rw-
other::---

Presumably startx doesn't trigger the necessary magic to get you acl'd onto the device.

Comment 19 Horst H. von Brand 2011-10-25 18:07:32 UTC
The machine was going ever flakier, and my attempts of cleanup didn' do much good. So I installed Fedora 16 (nightly compose) and updated. Now it works fine.

Please file under "User is probably an idiot."


Note You need to log in before you can comment on or make changes to this bug.