You are not logged in.

#1 2014-08-05 08:44:26

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

[Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Hi everyone,

since the upgrade to xorg-server 1.16 i can't get X to work again on my thinkpad R50e with an old intel integrated chip (Intel Extreme Graphics 2).


I first encountered the error "cannot open /dev/tty0": http://okraits.de/upload/xorg/Xorg.0.log


Then i created /etc/X11/Xwrapper.config: http://okraits.de/upload/xorg/Xwrapper.config

Then i got the error "failed to set mode": http://okraits.de/upload/xorg/Xorg.1.log


My xorg.conf looks like this: http://okraits.de/upload/xorg/xorg.conf

I start X with startx and this .xinitrc: http://okraits.de/upload/xorg/.xinitrc


I have no clue how to fix this. Any help would be much appreciated!

Greetings,

Oliver

Last edited by okraits (2014-08-08 06:33:09)

Offline

#2 2014-08-06 07:00:57

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Any ideas anybody?

Offline

#3 2014-08-06 07:14:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Not really; but you don't need that dbus line anymore, an active session takes care of that (but you have to add the lines from the skeleton xinitrc)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-08-06 20:14:04

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Thanks jason, but that doesn't help either. I don't have a special setup or configuration so i'm rather helpless with this issue...

Offline

#5 2014-08-06 20:42:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Re{moving,naming} your Xorg conf doesn't make any difference? How do you login and start X?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-08-07 05:58:37

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

No, it doesn't. I login at the first tty and start X from that via startx and my .xinitrc. I already asked in #intel-gfx and they didn't have a solution either.

Offline

#7 2014-08-07 06:56:24

guidob
Member
Registered: 2007-05-28
Posts: 10

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

I had a similar issue and had to replace intel-dri-git with intel-dri on my macbook to get it to work again.

Offline

#8 2014-08-07 07:23:30

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

guidob wrote:

I had a similar issue and had to replace intel-dri-git with intel-dri on my macbook to get it to work again.

I'm not using intel-dri-git, i'm using intel-dri.

Offline

#9 2014-08-07 08:21:26

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

How do you start X? Note you must start X from the same VT where you login, if you use Xorg.bin (no setuid). From your log there're mentions of /dev/tty0 and "Using VT number 2", so I suppose that might be the problem.

If you simply use `startx`, the actual process running will be something like

/usr/bin/Xorg.bin -nolisten tcp :0 -auth /tmp/serverauth.XXXXXXXXXX vt1

Note the `vt1` in the line must be specified, where 1 is the value of $XDG_VTNR in the VT where you login.

Edit

In my log there's something yours are missing

[    45.465] (++) using VT number 1

[    45.465] (--) controlling tty is VT number 1, auto-enabling KeepTty

Last edited by lolilolicon (2014-08-07 08:27:55)


This silver ladybug at line 28...

Offline

#10 2014-08-07 12:35:06

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

lolilolicon wrote:

How do you start X? Note you must start X from the same VT where you login, if you use Xorg.bin (no setuid). From your log there're mentions of /dev/tty0 and "Using VT number 2", so I suppose that might be the problem.

If you simply use `startx`, the actual process running will be something like

/usr/bin/Xorg.bin -nolisten tcp :0 -auth /tmp/serverauth.XXXXXXXXXX vt1

Note the `vt1` in the line must be specified, where 1 is the value of $XDG_VTNR in the VT where you login.

Edit

In my log there's something yours are missing

[    45.465] (++) using VT number 1

[    45.465] (--) controlling tty is VT number 1, auto-enabling KeepTty

I login at tty1 (which is the first one visible after boot) and run startx from there.

I added the following to my .xinitrc:

echo "vt: $XDG_VTNR"

The output was:

vt: 1

That would be ok, right? Or is it $XDG_VTNR + 1?

So i am wondering what is forcing X to use vt 2. Or how i can tell X to use vt 1.

Last edited by okraits (2014-08-07 12:37:17)

Offline

#11 2014-08-07 12:53:36

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

okraits wrote:

So i am wondering what is forcing X to use vt 2. Or how i can tell X to use vt 1.

Looks like something's up with your serverrc?

What if you ran:

xinit ~/.xinitrc -- /usr/bin/Xorg.bin -nolisten tcp :0 vt$XDG_VTNR

This silver ladybug at line 28...

Offline

#12 2014-08-07 13:13:31

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

lolilolicon wrote:

Looks like something's up with your serverrc?

What if you ran:

xinit ~/.xinitrc -- /usr/bin/Xorg.bin -nolisten tcp :0 vt$XDG_VTNR

That works! My xserverrc is default:

#!/bin/sh
if [ -z "$XDG_VTNR" ]; then
  exec /usr/bin/X -nolisten tcp "$@"
else
  exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
fi

I think the rights are ok, too:

root@idefix ~]# ls -l /etc/X11/xinit/
insgesamt 12
-rw-r--r-- 1 root root  738  9. Dez 2013  xinitrc
drwxr-xr-x 2 root root 4096 14. Jul 20:08 xinitrc.d
-rw-r--r-- 1 root root  132 31. Okt 2012  xserverrc

Offline

#13 2014-08-07 13:18:24

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

I guess it's your Xwrapper.config then. I don't use one, and I have this as ~/.xserverrc

#!/bin/sh
exec /usr/bin/Xorg.bin -nolisten tcp "$@" vt$XDG_VTNR

bypassing Xorg.wrap entirely since I don't need root rights or a second X server.

Last edited by lolilolicon (2014-08-07 13:18:57)


This silver ladybug at line 28...

Offline

#14 2014-08-07 13:20:21

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Ok, i will try and find out the issue. Thank you very much, now i know what is causing this. I'll report the final cause here.

Last edited by okraits (2014-08-07 13:20:52)

Offline

#15 2014-08-07 21:11:15

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

I have the cause: i had the following line in my .bashrc:

alias startx="startx -- -dpi 90"

That broke X with the update.

To fix that, i removed that line from my .bashrc and added a .xserverrc with the following content:

#!/bin/sh
exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR -dpi 90

Offline

#16 2014-08-07 21:42:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Or, set your DPI in an xorg.conf.d file...


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#17 2014-08-08 06:30:54

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: [Solved] Problem with xf86-video-intel after upgrade to xorg 1.16

Yeah, that would be the obvious way. I don't remember why i set the DPI value in my .bashrc in the first place smile

Offline

Board footer

Powered by FluxBB