* [gentoo-user] Xorg broken?
@ 2018-03-07 14:52 Christoph Böhmwalder
2018-03-07 14:57 ` Ian Bloss
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Christoph Böhmwalder @ 2018-03-07 14:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1905 bytes --]
I think I broke something once again...
Rebooting after a recent update caused my X Server to completely die. I
faintly remember some x11-related packages being blocked on that
particular update, but because I was short on time I decided just to
ignore those at the time (note to self: bad idea, apparently).
Now when I run startx, it complains about a bunch of permissions being
borked:
$ cat Xorg.0.log
---- 8< ----
[ 11.763] (--) using VT number 7
[ 11.763] (EE)
Fatal server error:
[ 11.766] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
[ 11.767] (EE)
[ 11.768] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 11.773] (EE) Please also check the log file at "/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
[ 11.774] (EE)
[ 11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 11.775] (EE) Server terminated with error (1). Closing log file.
(I'll attach the full log)
I don't fully understand what's going on there, but I figured maybe
someone more experienced on here might have an idea as to what I did
wrong this time.
FWIW, I already tried setting the permissions of /dev/tty7 to 664,
causing the X server to work, albeit with inputs not working (the log
reveiled that it couldn't access /dev/input/event7 or something, so
probably the same issue).
My user's groups are:
$ groups christoph
tty wheel audio video usb users input davfs2 plugdev christoph kvm
(Note tty, audio, video, and input. That's all X should really need,
right?)
My VIDEO_CARDS contains "intel i915" (for an Intel HD 4000(?) chip in a
Lenovo X1 Carbon 1st gen).
Has this broken for anyone else? Anyone who could point me in the right
direction? Thanks in advance!
--
Regards,
Christoph
[-- Attachment #2: Xorg.0.log --]
[-- Type: text/plain, Size: 4899 bytes --]
[ 11.677]
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[ 11.678]
X.Org X Server 1.19.99.901 (1.20.0 RC 1)
Release Date: 2018-02-28
[ 11.681] X Protocol Version 11, Revision 0
[ 11.682] Build Operating System: Linux 4.15.3-gentoo x86_64 Gentoo
[ 11.683] Current Operating System: Linux christoph-lap 4.16.0-rc4+ #11 SMP Tue Mar 6 13:10:04 CET 2018 x86_64
[ 11.683] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.0-rc4+ root=/dev/sda2 ro
[ 11.685] Build Date: 06 March 2018 12:44:28PM
[ 11.686]
[ 11.687] Current version of pixman: 0.34.0
[ 11.689] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 11.689] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11.693] (==) Log file: "/home/christoph/.local/share/xorg/Xorg.0.log", Time: Wed Mar 7 15:40:37 2018
[ 11.706] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 11.707] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 11.709] (==) No Layout section. Using the first Screen section.
[ 11.709] (==) No screen section available. Using defaults.
[ 11.709] (**) |-->Screen "Default Screen Section" (0)
[ 11.709] (**) | |-->Monitor "<default monitor>"
[ 11.709] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 11.709] (**) | |-->Device "Intel Graphics"
[ 11.709] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 11.709] (==) Automatically adding devices
[ 11.709] (==) Automatically enabling devices
[ 11.709] (==) Automatically adding GPU devices
[ 11.709] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 11.722] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 11.723] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 11.723] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 11.723] (II) Loader magic: 0x55a513135c60
[ 11.723] (II) Module ABI versions:
[ 11.723] X.Org ANSI C Emulation: 0.4
[ 11.723] X.Org Video Driver: 24.0
[ 11.723] X.Org XInput driver : 24.1
[ 11.723] X.Org Server Extension : 10.0
[ 11.723] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 11.739] (--) PCI:*(0@0:2:0) 8086:0166:17aa:21f9 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 11.739] (II) LoadModule: "glx"
[ 11.746] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 11.760] (II) Module glx: vendor="X.Org Foundation"
[ 11.760] compiled for 1.19.99.901, module version = 1.0.0
[ 11.760] ABI class: X.Org Server Extension, version 10.0
[ 11.760] (II) LoadModule: "intel"
[ 11.760] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 11.763] (II) Module intel: vendor="X.Org Foundation"
[ 11.763] compiled for 1.19.99.901, module version = 2.99.917
[ 11.763] Module class: X.Org Video Driver
[ 11.763] ABI class: X.Org Video Driver, version 24.0
[ 11.763] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 11.763] (II) intel: Driver for Intel(R) HD Graphics
[ 11.763] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 11.763] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 11.763] (--) using VT number 7
[ 11.763] (EE)
Fatal server error:
[ 11.766] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
[ 11.767] (EE)
[ 11.768] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 11.773] (EE) Please also check the log file at "/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
[ 11.774] (EE)
[ 11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 11.775] (EE) Server terminated with error (1). Closing log file.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Xorg broken?
2018-03-07 14:52 [gentoo-user] Xorg broken? Christoph Böhmwalder
@ 2018-03-07 14:57 ` Ian Bloss
2018-03-07 15:02 ` Christoph Böhmwalder
2018-03-07 15:16 ` Helmut Jarausch
2018-03-07 16:41 ` Floyd Anderson
2 siblings, 1 reply; 7+ messages in thread
From: Ian Bloss @ 2018-03-07 14:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2193 bytes --]
Do you have an initramfs?
On Wed, Mar 7, 2018, 6:52 AM Christoph Böhmwalder <christoph@boehmwalder.at>
wrote:
> I think I broke something once again...
>
> Rebooting after a recent update caused my X Server to completely die. I
> faintly remember some x11-related packages being blocked on that
> particular update, but because I was short on time I decided just to
> ignore those at the time (note to self: bad idea, apparently).
>
> Now when I run startx, it complains about a bunch of permissions being
> borked:
>
> $ cat Xorg.0.log
> ---- 8< ----
> [ 11.763] (--) using VT number 7
>
> [ 11.763] (EE)
> Fatal server error:
> [ 11.766] (EE) xf86OpenConsole: Cannot open virtual console 7
> (Permission denied)
> [ 11.767] (EE)
> [ 11.768] (EE)
> Please consult the The X.Org Foundation support
> at http://wiki.x.org
> for help.
> [ 11.773] (EE) Please also check the log file at
> "/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
> [ 11.774] (EE)
> [ 11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
> [ 11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
> [ 11.775] (EE) Server terminated with error (1). Closing log file.
>
> (I'll attach the full log)
>
> I don't fully understand what's going on there, but I figured maybe
> someone more experienced on here might have an idea as to what I did
> wrong this time.
>
>
> FWIW, I already tried setting the permissions of /dev/tty7 to 664,
> causing the X server to work, albeit with inputs not working (the log
> reveiled that it couldn't access /dev/input/event7 or something, so
> probably the same issue).
>
>
> My user's groups are:
>
> $ groups christoph
> tty wheel audio video usb users input davfs2 plugdev christoph kvm
>
> (Note tty, audio, video, and input. That's all X should really need,
> right?)
>
> My VIDEO_CARDS contains "intel i915" (for an Intel HD 4000(?) chip in a
> Lenovo X1 Carbon 1st gen).
>
>
> Has this broken for anyone else? Anyone who could point me in the right
> direction? Thanks in advance!
>
> --
> Regards,
> Christoph
>
[-- Attachment #2: Type: text/html, Size: 2683 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Xorg broken?
2018-03-07 14:57 ` Ian Bloss
@ 2018-03-07 15:02 ` Christoph Böhmwalder
2018-03-07 15:14 ` Daniel Frey
0 siblings, 1 reply; 7+ messages in thread
From: Christoph Böhmwalder @ 2018-03-07 15:02 UTC (permalink / raw
To: gentoo-user
On Wed, Mar 07, 2018 at 02:57:26PM +0000, Ian Bloss wrote:
> Do you have an initramfs?
I don't, though I just realized an unstable version of xorg-server
somehow got pulled in and merged (along with a bunch of unstable
drivers). I'll try to downgrade the drivers and server and maybe
that'll fix it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Xorg broken?
2018-03-07 15:02 ` Christoph Böhmwalder
@ 2018-03-07 15:14 ` Daniel Frey
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Frey @ 2018-03-07 15:14 UTC (permalink / raw
To: gentoo-user
On 03/07/18 07:02, Christoph Böhmwalder wrote:
> On Wed, Mar 07, 2018 at 02:57:26PM +0000, Ian Bloss wrote:
>> Do you have an initramfs?
>
> I don't, though I just realized an unstable version of xorg-server
> somehow got pulled in and merged (along with a bunch of unstable
> drivers). I'll try to downgrade the drivers and server and maybe
> that'll fix it.
>
When you do make sure you do a
`emerge @x11-module-rebuild @module-rebuild`
to rebuild all the changed drivers.
Dan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Xorg broken?
2018-03-07 14:52 [gentoo-user] Xorg broken? Christoph Böhmwalder
2018-03-07 14:57 ` Ian Bloss
@ 2018-03-07 15:16 ` Helmut Jarausch
2018-03-07 15:35 ` Christoph Böhmwalder
2018-03-07 16:41 ` Floyd Anderson
2 siblings, 1 reply; 7+ messages in thread
From: Helmut Jarausch @ 2018-03-07 15:16 UTC (permalink / raw
To: gentoo-user
On 03/07/2018 03:52:24 PM, Christoph Böhmwalder wrote:
> I think I broke something once again...
>
> Rebooting after a recent update caused my X Server to completely
> die. I
> faintly remember some x11-related packages being blocked on that
> particular update, but because I was short on time I decided just to
> ignore those at the time (note to self: bad idea, apparently).
>
> Now when I run startx, it complains about a bunch of permissions being
> borked:
>
Do you have xorg-server-1.19.99.901 or xorg-server-1.19.99.901-r1
installed?
That's just broken!
Downgrade to version 1.19.5-r1 .
Several people have problems with the above versions.
Helmut
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Xorg broken?
2018-03-07 15:16 ` Helmut Jarausch
@ 2018-03-07 15:35 ` Christoph Böhmwalder
0 siblings, 0 replies; 7+ messages in thread
From: Christoph Böhmwalder @ 2018-03-07 15:35 UTC (permalink / raw
To: gentoo-user
On Wed, Mar 07, 2018 at 04:16:47PM +0100, Helmut Jarausch wrote:
> Do you have xorg-server-1.19.99.901 or xorg-server-1.19.99.901-r1 installed?
>
> That's just broken!
>
> Downgrade to version 1.19.5-r1 .
> Several people have problems with the above versions.
Typing this from my fixed laptop :)
I masked >=x11-base/xorg-server-1.19.99.901-r1 and re-emerged, and now
it works again (for the time being).
Thanks for the efforts everybody!
--
Regards,
Christoph
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Xorg broken?
2018-03-07 14:52 [gentoo-user] Xorg broken? Christoph Böhmwalder
2018-03-07 14:57 ` Ian Bloss
2018-03-07 15:16 ` Helmut Jarausch
@ 2018-03-07 16:41 ` Floyd Anderson
2 siblings, 0 replies; 7+ messages in thread
From: Floyd Anderson @ 2018-03-07 16:41 UTC (permalink / raw
To: gentoo-user
On Wed, 07 Mar 2018 15:52:24 +0100
Christoph Böhmwalder <christoph@boehmwalder.at> wrote:
>I think I broke something once again...
>
>Rebooting after a recent update caused my X Server to completely die. I
>faintly remember some x11-related packages being blocked on that
>particular update, but because I was short on time I decided just to
>ignore those at the time (note to self: bad idea, apparently).
>
>Now when I run startx, it complains about a bunch of permissions being
>borked:
>
>$ cat Xorg.0.log
>---- 8< ----
>[ 11.763] (--) using VT number 7
>
>[ 11.763] (EE)
>Fatal server error:
>[ 11.766] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
>[ 11.767] (EE)
>[ 11.768] (EE)
>Please consult the The X.Org Foundation support
> at http://wiki.x.org
> for help.
>[ 11.773] (EE) Please also check the log file at "/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
>[ 11.774] (EE)
>[ 11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
>[ 11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
>[ 11.775] (EE) Server terminated with error (1). Closing log file.
>
>(I'll attach the full log)
>
>I don't fully understand what's going on there, but I figured maybe
>someone more experienced on here might have an idea as to what I did
>wrong this time.
>
>
>FWIW, I already tried setting the permissions of /dev/tty7 to 664,
>causing the X server to work, albeit with inputs not working (the log
>reveiled that it couldn't access /dev/input/event7 or something, so
>probably the same issue).
>
>
>My user's groups are:
>
>$ groups christoph
>tty wheel audio video usb users input davfs2 plugdev christoph kvm
>
>(Note tty, audio, video, and input. That's all X should really need,
>right?)
>
>My VIDEO_CARDS contains "intel i915" (for an Intel HD 4000(?) chip in a
>Lenovo X1 Carbon 1st gen).
>
>
>Has this broken for anyone else? Anyone who could point me in the right
>direction? Thanks in advance!
I got the same (again) but x11-base/xorg-server-1.19.99.901 runs just
fine here when, and only when, I re-implement the +suid USE-flag
(--enable-install-setuid) and remove --enable-suid-wrapper from the
ebuild.
Remove your user from tty group and you’ll probably get:
“parse_vt_settings: Cannot open /dev/tty0 (Permission denied)”
that is discussed at [1]. So downgrading to:
x11-base/xorg-server-1.19.5-r1[+suid]
may be a quick but cannot be a permanent solution in my opinion.
References:
- [1] <https://bugs.gentoo.org/show_bug.cgi?id=635102>
--
Regards,
floyd
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-03-07 16:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-07 14:52 [gentoo-user] Xorg broken? Christoph Böhmwalder
2018-03-07 14:57 ` Ian Bloss
2018-03-07 15:02 ` Christoph Böhmwalder
2018-03-07 15:14 ` Daniel Frey
2018-03-07 15:16 ` Helmut Jarausch
2018-03-07 15:35 ` Christoph Böhmwalder
2018-03-07 16:41 ` Floyd Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox