Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
STARTX Failure :(
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
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 7:39 am    Post subject: STARTX Failure :( Reply with quote

So, for the past 5 hours now I've tried getting everything too work with startx, originally it was due too me not having the intel driver, which I soon fixed. Now startx /will not/ find my monitor, and refuses too start.

~# lspci | grep VGA
Quote:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)


Xorg.log
Code:

[   153.279]
X.Org X Server 1.15.2
Release Date: 2014-06-27
[   153.280] X Protocol Version 11, Revision 0
[   153.280] Build Operating System: Linux 3.17.7-gentoo x86_64 Gentoo
[   153.280] Current Operating System: Linux rylor 3.17.7-gentoo #2 SMP Sat Jan 10 14:15:17 PST 2015 x86_64
[   153.280] Kernel command line: root=/dev/ram0 crypt_root=/dev/disk/by-partuuid/dc218661-5389-481f-88da-1ca44b20c411 dolvm real_root=/dev/mapper/vg1-root rootfstype=ext4 real_init=/usr/lib/systemd/systemd root_keydev=/dev/disk/by-partuuid/10a074b2-f59b-4df5-bd12-60f5022e7673 root_key=luks-key.gpg real_resume=/dev/mapper/vg1-swap keymap=us
[   153.280] Build Date: 10 January 2015  05:10:50PM
[   153.280]
[   153.280] Current version of pixman: 0.32.4
[   153.280]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   153.280] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   153.280] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 10 23:29:03 2015
[   153.280] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   153.280] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   153.280] (==) No Layout section.  Using the first Screen section.
[   153.280] (==) No screen section available. Using defaults.
[   153.280] (**) |-->Screen "Default Screen Section" (0)
[   153.280] (**) |   |-->Monitor "<default monitor>"
[   153.280] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   153.280] (**) |   |-->Device "Device0"
[   153.280] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   153.280] (==) Automatically adding devices
[   153.280] (==) Automatically enabling devices
[   153.280] (==) Automatically adding GPU devices
[   153.280] (==) 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/
[   153.280] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   153.280] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   153.280] (II) Loader magic: 0x801c60
[   153.280] (II) Module ABI versions:
[   153.280]    X.Org ANSI C Emulation: 0.4
[   153.280]    X.Org Video Driver: 15.0
[   153.280]    X.Org XInput driver : 20.0
[   153.280]    X.Org Server Extension : 8.0
[   153.281] (--) PCI:*(0:0:2:0) 8086:0a16:103c:227f rev 11, Mem @ 0xb2000000/4194304, 0xa0000000/268435456, I/O @ 0x00006000/64
[   153.281] Initializing built-in extension Generic Event Extension
[   153.281] Initializing built-in extension SHAPE
[   153.281] Initializing built-in extension MIT-SHM
[   153.281] Initializing built-in extension XInputExtension
[   153.281] Initializing built-in extension XTEST
[   153.281] Initializing built-in extension BIG-REQUESTS
[   153.281] Initializing built-in extension SYNC
[   153.281] Initializing built-in extension XKEYBOARD
[   153.281] Initializing built-in extension XC-MISC
[   153.281] Initializing built-in extension XINERAMA
[   153.281] Initializing built-in extension XFIXES
[   153.281] Initializing built-in extension RENDER
[   153.281] Initializing built-in extension RANDR
[   153.281] Initializing built-in extension COMPOSITE
[   153.281] Initializing built-in extension DAMAGE
[   153.281] Initializing built-in extension MIT-SCREEN-SAVER
[   153.281] Initializing built-in extension DOUBLE-BUFFER
[   153.281] Initializing built-in extension RECORD
[   153.281] Initializing built-in extension DPMS
[   153.281] Initializing built-in extension Present
[   153.281] Initializing built-in extension DRI3
[   153.281] Initializing built-in extension X-Resource
[   153.281] Initializing built-in extension XVideo
[   153.281] Initializing built-in extension XVideo-MotionCompensation
[   153.281] Initializing built-in extension XFree86-VidModeExtension
[   153.281] Initializing built-in extension XFree86-DGA
[   153.281] Initializing built-in extension XFree86-DRI
[   153.281] Initializing built-in extension DRI2
[   153.281] (II) LoadModule: "glx"
[   153.281] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   153.282] (II) Module glx: vendor="X.Org Foundation"
[   153.282]    compiled for 1.15.2, module version = 1.0.0
[   153.282]    ABI class: X.Org Server Extension, version 8.0
[   153.282] (==) AIGLX enabled
[   153.282] Loading extension GLX
[   153.282] (II) LoadModule: "intel"
[   153.282] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   153.282] (II) Module intel: vendor="X.Org Foundation"
[   153.282]    compiled for 1.15.2, module version = 2.21.15
[   153.282]    Module class: X.Org Video Driver
[   153.282]    ABI class: X.Org Video Driver, version 15.0
[   153.282] (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, HD Graphics,
        HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
        HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
        HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
        HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[   153.282] (--) using VT number 2

[   153.286] (EE) No devices detected.
[   153.286] (EE)
Fatal server error:
[   153.286] (EE) no screens found(EE)
[   153.286] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   153.286] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   153.286] (EE)


cat /proc/fb
Quote:

0 EFI VGA


/etc/portage/make.conf
Code:

cat /etc/portage/make.conf
# Build setup as of <add current date>

# C and C++ compiler options for GCC.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"

# Note: MAKEOPTS and EMERGE_DEFAULT_OPTS are set in .bashrc

# Only free software, please.
ACCEPT_LICENSE="-* @FREE"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

# Use the 'stable' branch - 'testing' no longer required for Gnome 3.
ACCEPT_KEYWORDS="--amd64"

# Additional USE flags in addition to those specified by the current profile.
USE="sse3 ssse3 sse4 avx avx2"

# Important Portage directories.
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

# Turn on logging - see http://gentoo-en.vfose.ru/wiki/Gentoo_maintenance.
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="save"
# Logs go to /var/log/portage/elog by default - view them with elogviewer.

# Settings for X11
VIDEO_CARDS="intel i915"
INPUT_DEVICES="evdev synaptics"

GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
source "/var/lib/layman/make.conf"


~# uname -a
Quote:

Linux rylor 3.17.7-gentoo #2 SMP Sat Jan 10 14:15:17 PST 2015 x86_64 Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz GenuineIntel GNU/Linux


I can provide anything else needed! I *really* need to get his up and running as soon as possible, and any help is appreciated. I've looked into it for hours and am just lost at this point!
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Jan 11, 2015 9:29 am    Post subject: Re: STARTX Failure :( Reply with quote

RainbowDashDC wrote:
Code:
cat /proc/fb
0 EFI VGA

RainbowDashDC ... it looks to me as though you are missing inteldrmfb in the kernel ...

Code:
cat /proc/fb
0 inteldrmfb

So, enable CONFIG_AGP, CONFIG_AGP_INTEL, CONFIG_DRM, CONFIG_DRM_I915, CONFIG_DRM_I915_KMS, CONFIG_DRM_I915_FBDEV ... you should also disable any other framebuffer, though CONFIG_FB_EFI shouldn't cause any harm (it is safe to disable it however).

best ... khay
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7093

PostPosted: Sun Jan 11, 2015 9:40 am    Post subject: Reply with quote

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

http://wiki.gentoo.org/wiki/Intel#Feature_support
Gen7 Ivy Bridge, Valley View, Haswell 3.3 3.0 1.11 Yes intel i965

http://wiki.gentoo.org/wiki/Intel#Driver
FILE /etc/portage/make.conf Gen 4-7

VIDEO_CARDS="intel i965"
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Jan 11, 2015 10:22 am    Post subject: Reply with quote

krinn wrote:
VIDEO_CARDS="intel i965"

krinn ... good call, missed that.

best ... khay
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 4:29 pm    Post subject: Reply with quote

I've done both of those, but it doesn't work still :s
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7195
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 11, 2015 4:44 pm    Post subject: Reply with quote

Do you have KMS enabled in your kernel. As you can see below your X exits where my X goes KMS.

Code:
[1070569.956] (--) using VT number 7

[1070569.970] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20140725
[1070569.972] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview G

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 5:35 pm    Post subject: Reply with quote

Jaglover wrote:
Do you have KMS enabled in your kernel. As you can see below your X exits where my X goes KMS.

Code:
[1070569.956] (--) using VT number 7

[1070569.970] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20140725
[1070569.972] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview G


I believe so, but could you clarify the steps to do so if they differ from what people told me to enable in the kernel already?

I already had the KMS intel one enabled and the framebuffer devices, so really confused why it wouldn't be at this point
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7195
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 11, 2015 5:46 pm    Post subject: Reply with quote

Can you post the link from output of below command
Code:
zcat /proc/config.gz | wgetpaste

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 5:51 pm    Post subject: Reply with quote

Jaglover wrote:
Can you post the link from output of below command
Code:
zcat /proc/config.gz | wgetpaste


/proc/config.gz
https://bpaste.net/show/b3ecffd7d33c

/usr/src/linux/.config
https://bpaste.net/show/78f229834909
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7195
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 11, 2015 5:55 pm    Post subject: Reply with quote

You are not running the kernel you think you are, DRM is disabled in your running kernel.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 6:13 pm    Post subject: Reply with quote

Jaglover wrote:
You are not running the kernel you think you are, DRM is disabled in your running kernel.


This is odd then.. I'm using http://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide and I feel like this may be part of the problem
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7195
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 11, 2015 6:22 pm    Post subject: Reply with quote

Can't help here, there are several ways to set up UEFI boot, you have to do what is needed to update/upgrade the kernel image for your setup.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 6:26 pm    Post subject: Reply with quote

Jaglover wrote:
Can't help here, there are several ways to set up UEFI boot, you have to do what is needed to update/upgrade the kernel image for your setup.


It's not the EFI issue, it seems to be the buildkernel script I'm using to work it, or... Wait, no, it's an old kernel being on the USB I am 50% sure this is because of me leaving an old kernel on it
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 6:40 pm    Post subject: Reply with quote

Haha, It was. I was bootin my old kernel I used at first w/o intel drivers.

/proc/fb
0 inteldrmfb

/var/log/Xorg.log
https://bpaste.net/show/5be96461299e

lspci -k
Quote:
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Hewlett-Packard Company Device 227f
Kernel driver in use: i915


However, x still fails too start.


Last edited by RainbowDashDC on Sun Jan 11, 2015 6:43 pm; edited 2 times in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7195
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 11, 2015 6:41 pm    Post subject: Reply with quote

Pastebin your new Xorg log?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 6:42 pm    Post subject: Reply with quote

Jaglover wrote:
Pastebin your new Xorg log?


See edit
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 6:45 pm    Post subject: Reply with quote

Fixed!

devices_no_vesa.conf from the intel page which I used earlier was causing modules to not be used on x, but now they are and evyerthing seems too be work!
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7195
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 11, 2015 6:46 pm    Post subject: Reply with quote

Glad you got it going! :) And thanks for posting the solution.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
RainbowDashDC
n00b
n00b


Joined: 11 Jan 2015
Posts: 10

PostPosted: Sun Jan 11, 2015 7:00 pm    Post subject: Reply with quote

To overal recap, incase someone else has this:

When using buildkernel by the guide it says too use bootx64.efi at first which will most likely not have the intel drivers yet, then it switches to gentoo.efi later on. On my machine it did NOT update to use the gentoo.efi file later on, make sure you change your system too use the gentoo.efi instead of bootx64.efi.

Also, with my GPU devices_no_vesa.conf breaks x to not use fbdev and vesa.

Regardless, thank you all for the help!
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