Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-server upgrade 1.12 > 1.13 yields "no screens found"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
leeps
n00b
n00b


Joined: 06 Sep 2006
Posts: 4

PostPosted: Thu Jan 31, 2013 5:38 pm    Post subject: xorg-server upgrade 1.12 > 1.13 yields "no screens f Reply with quote

Hey everyone.

I'm one of those cases where xorg-server upgraded from 1.12.4 to 1.13.1 fails to start with "no screens found".
1.12.4 runs fine, but 1.13.1 does not - and this is without changing anything else.

I use the "intel" drivers for the HD4000. I don't use any xorg.conf, and xorg.conf.d has only "30-keyboard.conf" setting keyboard layout and enabling ctrl-alt-bkspc.

emerge --info: http://pastebin.ca/2309379

Logfile of 1.13.1 failing: http://pastebin.ca/2309363
Relevant sections:
Code:
[    42.546] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    42.546] (II) Loader magic: 0x809c00
[    42.546] (II) Module ABI versions:
[    42.546]    X.Org ANSI C Emulation: 0.4
[    42.546]    X.Org Video Driver: 13.1
[    42.546]    X.Org XInput driver : 18.0
[    42.546]    X.Org Server Extension : 7.0
[    42.546] (II) config/udev: Adding drm device (/dev/dri/card0)
[    42.547] (--) PCI:*(0:0:2:0) 8086:0162:1462:2111 rev 9, Mem @ 0xf7800000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    42.547] (--) PCI: (0:1:0:0) 1002:6819:1682:3260 rev 0, Mem @ 0xe0000000/268435456, 0xf7c00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072

[    42.850] (==) Matched intel as autoconfigured driver 0
[    42.850] (==) Matched intel as autoconfigured driver 1
[    42.850] (==) Matched vesa as autoconfigured driver 2
[    42.850] (==) Matched modesetting as autoconfigured driver 3
[    42.850] (==) Matched fbdev as autoconfigured driver 4
[    42.850] (==) Assigned the driver to the xf86ConfigLayout
[    42.850] (II) LoadModule: "intel"
[    42.850] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    42.888] (II) Module intel: vendor="X.Org Foundation"
[    42.888]    compiled for 1.13.1, module version = 2.20.19
[    42.888]    Module class: X.Org Video Driver
[    42.888]    ABI class: X.Org Video Driver, version 13.1

[    42.911] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        [... some devices cut ...]
        Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
        ValleyView PO board
[    42.911] (++) using VT number 7

[    42.937] (EE) No devices detected.


Logfile of 1.12.4 starting: http://pastebin.ca/2309364
Relevant sections:
Code:
[    34.565] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    34.566] (II) Loader magic: 0x7d3ae0
[    34.566] (II) Module ABI versions:
[    34.566]    X.Org ANSI C Emulation: 0.4
[    34.566]    X.Org Video Driver: 12.1
[    34.566]    X.Org XInput driver : 16.0
[    34.566]    X.Org Server Extension : 6.0
[    34.566] (--) PCI:*(0:0:2:0) 8086:0162:1462:2111 rev 9, Mem @ 0xf7800000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    34.566] (--) PCI: (0:1:0:0) 1002:6819:1682:3260 rev 0, Mem @ 0xe0000000/268435456, 0xf7c00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072

[    34.884] (II) LoadModule: "intel"
[    34.884] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    34.935] (II) Module intel: vendor="X.Org Foundation"
[    34.935]    compiled for 1.12.4, module version = 2.20.19
[    34.935]    Module class: X.Org Video Driver
[    34.935]    ABI class: X.Org Video Driver, version 12.1

[    34.959] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        [... some devices cut ...]
        Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
        ValleyView PO board
[    34.959] (++) using VT number 7
 
[    34.964] drmOpenDevice: node name is /dev/dri/card0
[    34.964] drmOpenDevice: open result is 7, (OK)
[    34.964] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    34.964] drmOpenDevice: node name is /dev/dri/card0
[    34.964] drmOpenDevice: open result is 7, (OK)
[    34.964] drmOpenByBusid: drmOpenMinor returns 7
[    34.964] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    34.965] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    34.965] drmOpenDevice: node name is /dev/dri/card0
[    34.965] drmOpenDevice: open result is 7, (OK)
[    34.965] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    34.966] drmOpenDevice: node name is /dev/dri/card0
[    34.966] drmOpenDevice: open result is 7, (OK)
[    34.966] drmOpenByBusid: drmOpenMinor returns 7
[    34.966] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    34.966] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    34.966] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    34.966] (==) intel(0): RGB weight 888
[    34.966] (==) intel(0): Default visual is TrueColor
[    34.966] (--) intel(0): Integrated Graphics Chipset: Intel(R) Ivybridge Desktop (GT2)


These are some other packages on my system:
Quote:
x11-drivers/xf86-video-intel-2.20.19 USE="dri sna udev xvmc -glamor -uxa"
sys-fs/udev-197-r4 USE="acl gudev hwdb keymap kmod openrc static-libs -doc -introspection (-selinux)"
x11-libs/libdrm-2.4.40 USE="libkms -static-libs" VIDEO_CARDS="intel (-exynos) -nouveau (-omap) -radeon -vmware"
media-libs/mesa-9.0.1 USE="classic egl g3dvl gallium llvm nptl openvg shared-glapi xa xvmc -bindist -debug -gbm -gles1 -gles2 -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau (-wayland) -xorg" VIDEO_CARDS="intel -i915 -i965 -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"

Any other relevant packages?

zgrep -E '(DRM|_FB|AGP|DEVTMPFS).*=' /proc/config.gz (pastebin of full config)
Quote:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y



I've seen so many other users with a similar problem, who all had different solutions work for them. I've tried tons, but must have missed something. Any ideas are greatly appreciated.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1148

PostPosted: Thu Jan 31, 2013 6:12 pm    Post subject: Reply with quote

I use AMD. But in principle it is the same with intel.
If a program from the xorg circuit is changed, you must recompile all programs.
And xorg-server and xorg-driver must have the same number. In this case -1.13

Try:
tux ~ # emerge x11-libs/libdrm media-libs/mesa x11-apps/mesa-progs x11-base/xorg-server x11-base/xorg-drivers $(qlist -IC x11-drivers/) -pv wrote:


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] x11-drivers/radeon-ucode-20120320 0 kB
[ebuild R ] x11-libs/libdrm-2.4.40 USE="libkms -static-libs" VIDEO_CARDS="radeon (-exynos) -intel -nouveau (-omap) -vmware" 0 kB
[ebuild R ] media-libs/mesa-9.0.1 USE="classic egl g3dvl gallium gbm llvm nptl openvg osmesa pic shared-glapi xvmc -bindist -debug -gles1 -gles2 -pax_kernel -r600-llvm-compiler (-selinux) -vdpau (-wayland) -xa -xorg" VIDEO_CARDS="r600 radeon -i915 -i965 -intel -nouveau -r100 -r200 -r300 -radeonsi -vmware" 0 kB
[ebuild R ] x11-apps/mesa-progs-8.0.1 0 kB
[ebuild R ] x11-base/xorg-server-1.13.1 USE="kdrive nptl suid udev xorg xvfb -dmx -doc -ipv6 -minimal (-selinux) -static-libs -tslib -xnest" 0 kB
[ebuild R ] x11-drivers/xf86-input-evdev-2.7.3 0 kB
[ebuild R ] x11-drivers/xf86-video-ati-7.0.0 USE="udev (-glamor)" 0 kB
[ebuild R ] x11-drivers/xf86-video-fbdev-0.4.3 0 kB
[ebuild R ] x11-drivers/xf86-video-vesa-2.3.2 0 kB
[ebuild R ] x11-drivers/xf86-video-v4l-0.2.0 USE="-debug" 0 kB
[ebuild R ] x11-base/xorg-drivers-1.13 INPUT_DEVICES="evdev -acecad -aiptek -elographics -fpit -hyperpen -joystick -keyboard -mouse -mutouch -penmount -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="fbdev radeon vesa -apm -ark -ast -chips -cirrus -dummy -epson -fglrx (-geode) -glint -i128 (-i740) -intel -mach64 -mga -modesetting -neomagic (-newport) -nouveau -nv -nvidia (-omap) (-omapfb) -qxl -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -via -virtualbox -vmware (-voodoo)" 0 kB

Total: 11 packages (11 reinstalls), Size of downloads: 0 kB


regards
Ma
_________________
Test Adobe Flash Player
The Indian Shankar Drum Ganesh Machine
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5623

PostPosted: Thu Jan 31, 2013 8:03 pm    Post subject: Reply with quote

Neither of x11-drivers/xf86-video-fbdev, x11-drivers/xf86-video-vesa, x11-drivers/xf86-video-v4l or x11-drivers/radeon-ucode would be needed.
But generally, pastebin whole log, not some random greps.
Back to top
View user's profile Send private message
leeps
n00b
n00b


Joined: 06 Sep 2006
Posts: 4

PostPosted: Fri Feb 01, 2013 12:59 am    Post subject: Reply with quote

Thanks for the input so far. Of course I repeatedly recompiled all relevant packages (including libdrm, mesa, all xorg-drivers), sometimes even glu, glew, libx* und libX*. I even tried different mesa and libdrm versions, also different versions of xf86-video-intel.

I have linked complete pastebins. I included relevant sections for search engines and reference. pastebins don't last forever. If you think something missing, please let me know - I'm not a veteran at issue reporting :)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5623

PostPosted: Fri Feb 01, 2013 2:04 am    Post subject: Reply with quote

Well, usually, there's something after 'Kernel command line:', but lets assume there really was nothing.

Post 'lspci -k'. It might be that 1.13 server supports something, it didn't before and it skews the result.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2372
Location: Dallas area

PostPosted: Fri Feb 01, 2013 10:19 am    Post subject: Reply with quote

Code:
[    34.935] (II) Module intel: vendor="X.Org Foundation"
[    34.935]    compiled for 1.12.4, module version = 2.20.19
[    34.935]    Module class: X.Org Video Driver
[    34.935]    ABI class: X.Org Video Driver, version 12.1

[    34.959] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        [... some devices cut ...]
        Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
        ValleyView PO board
[    34.959] (++) using VT number 7


I don't see an re-emerge for the intel driver listed in your snippets,
as it looks like it was originally trying to use the one for 12.4


As VoidMage said, post the whole Xorg log from the latest try.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
leeps
n00b
n00b


Joined: 06 Sep 2006
Posts: 4

PostPosted: Fri Feb 01, 2013 10:32 am    Post subject: Reply with quote

@Anon-E-moose: Well, I posted two logs (entire logs - check the pastebin links), and one of those is from successfully starting xorg-server 1.12.4. Your quote is from that log.

@VoidMage: I don't use genkernel, have my initramfs-image compiled into the kernel and use a minimal /init without parameter support.

# lspci -k
Code:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
        Subsystem: Micro-Star International Co., Ltd. Device 2111
        Kernel driver in use: i915
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci-hcd
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
        Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
        Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device d751
        Kernel driver in use: snd_hda_intel
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
        Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
        Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
        Subsystem: Micro-Star International Co., Ltd. Device 7751
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Pitcairn PRO [Radeon HD 7800]
        Subsystem: XFX Pine Group Inc. Device 3260
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cape Verde HDMI Audio [Radeon HD 7700 Series]
        Subsystem: XFX Pine Group Inc. Device aab0
        Kernel driver in use: snd_hda_intel



You know, I wondered about this "new" udev detection thing, how would X know which driver to use. But it tries to load every driver, so it's up to the driver to find its device, right?
Since the detected devices show in the log, and the Intel device has a '*' in front of it, this one would be the preferred device, right? The intel driver will know this, right?
On a previous system I've used a Nvidia graphics board, and the binary driver had a script that generated a xorg.conf file with some driver options and -if I remember correctly- also the PCI bus address of the card. Do you think the intel driver might need this too?
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2372
Location: Dallas area

PostPosted: Fri Feb 01, 2013 11:03 am    Post subject: Reply with quote

leeps wrote:
You know, I wondered about this "new" udev detection thing, how would X know which driver to use. But it tries to load every driver, so it's up to the driver to find its device, right?


The xorg config file tells X which ones to search for, or it does a generic (vesa, fbdev, etc) search

It seems to be finding the intel module, but it isn't getting past trying to load the drm module (difference between 12.4 and 13.1)
Not sure if that's the intel part or the drm part.

My guess is some entry in the /dev directory is not being created.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.15.9-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5623

PostPosted: Fri Feb 01, 2013 1:06 pm    Post subject: Reply with quote

Two questions:
- 'ls -l /dev/dri'
- would you mind adding the bits for radeon to your kernel config/mesa/VIDEO_CARDS/libdrm ?
Back to top
View user's profile Send private message
jmarcetl
n00b
n00b


Joined: 02 Apr 2013
Posts: 2

PostPosted: Fri Apr 05, 2013 4:58 am    Post subject: Reply with quote

Hi,

I'm having this exact same problem. I have just switched from sys-fs/eudev to sys-fs/udev in a last attempt to make it work. It works without any issue until xorg-server 1.12.4, from 1.13 on it does not.

If you tell me exactly what radeon bits you want enabled, I'll do it ASAP.

You can check my:
emerge --info
lspci
Xorg.0.log
kernel config

# ls -l /dev/dri/
total 0
crw-rw---- 1 root video 226, 0 Apr 5 06:38 card0
crw-rw---- 1 root video 226, 64 Apr 5 06:38 controlD64

BTW, I'm not a Gentoo newbie, but somehow I did lost my (old) original account so this is my first new message :)
Back to top
View user's profile Send private message
jmarcetl
n00b
n00b


Joined: 02 Apr 2013
Posts: 2

PostPosted: Tue Apr 16, 2013 11:33 am    Post subject: Reply with quote

Solved (although the bug remains).

Adding the BusID to the xorg.conf makes it work again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum