Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Problems with getting X to work
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jaglover
Watchman
Watchman


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

PostPosted: Tue Aug 21, 2018 2:53 am    Post subject: Reply with quote

Code:
[    4.083676] [drm] The driver support for your hardware in this kernel version is alpha quality
               See CONFIG_DRM_I915_ALPHA_SUPPORT or i915.alpha_support module parameter
               to enable support in this kernel version, or check for kernel updates.

You may want a newer kernel.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
LIsLinuxIsSogood
l33t
l33t


Joined: 13 Feb 2016
Posts: 968

PostPosted: Tue Aug 21, 2018 4:46 am    Post subject: Reply with quote

Also which kernel modules have you tried building...i would suspect if you did some research about the difference between answering M or Y for different configuration settings within the kernel you would find that one reason modules exist could be in case of conflicting drivers, which could be the case here as well. As an added benefit it you build i915 as a module then it will be exactly the way that Neddy demonstrated it, which does not guarantee it being correct.

Also read over Jaglover's comment it is important. In terms of knowing which kernel you are on, and also having something that shows which branch of software you are on etc. I think it would be more helpful if you could run emerge --info from system once booted into and not through the chroot process you described earlier. Can you do this or is there some issue that is preventing that?

Please post back with emerge --info from the target system that will show the branch you are using and whether or not in order to change kernels, which is not a bad idea is really going to make a difference or not. Not sure about that last thing.
Back to top
View user's profile Send private message
Garbanzo
n00b
n00b


Joined: 06 Aug 2018
Posts: 12

PostPosted: Tue Aug 21, 2018 6:13 am    Post subject: Reply with quote

How do I know which kernel version to get? I looked at sys-kernel/gentoo-sources and there are quite a few to choose from. Should I try the newest 14.18.3?

The emerge --info from the new system:
Code:

Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.26-r7, 4.14.61-gentoo x86_64)
=================================================================
System uname: Linux-4.14.61-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:    16271788 total,  15958284 free
KiB Swap:  125975548 total, 125975548 free
Timestamp of repository gentoo: Thu, 16 Aug 2018 01:00:01 +0000
Head commit of repository gentoo: a9a2d6463641b2c60b82521bf2e33be87fcefdd2
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/ http://mirror.lug.udel.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://gentoo.cs.utah.edu/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 480
Location: Estonia

PostPosted: Tue Aug 21, 2018 6:15 am    Post subject: Reply with quote

Looks like your Intel chip is rather new. I suggest using a 4.18.x kernel instead, to get all the latest improvements for your GPU. For new hardware these days it usually boots at hardware release time, but has various improvements the next couple of kernel cycles and then settles down. If you want to use the 4.14 LTS kernels, then it seems like (from the logs) that you need to enable alpha (experimental) support via kernel command line or an extra config knob, as the log you posted clearly tells:

Code:
[drm] The driver support for your hardware in this kernel version is alpha quality
See CONFIG_DRM_I915_ALPHA_SUPPORT or i915.alpha_support module parameter
to enable support in this kernel version, or check for kernel updates.

My suggestion is to use ~arch (~amd64) kernels until the next LTS series (AFTER 4.14) comes along, and then consider sticking with that if stable packages is your thing -- meanwhile upgrading to newer series at a moderate pace, not necessarily rushing to next, but upgrading to next at least once it doesn't receive point releases anymore and thus isn't maintained upstream anymore; kernel.org shows what series are still kept alive.
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
LIsLinuxIsSogood
l33t
l33t


Joined: 13 Feb 2016
Posts: 968

PostPosted: Tue Aug 21, 2018 8:23 am    Post subject: Reply with quote

Another way of saying the same thing is pretty much you have to test out kernels, to see which ones work and don't work. A good guide is use what's in the portage tree those are patches sources, but you need to specify maybe during install what version and slot the packages should be installed.

In terms of upgrading I couldn't agree more with the previous post and especially with something sort of sensitive on a Gentoo host which is a working kernel for the system, what definitely makes sense there could be to lock in the working version by masking the more recent in package.mask until you are ready to continue moving to a new kernel.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42587
Location: 56N 3W

PostPosted: Tue Aug 21, 2018 8:28 am    Post subject: Reply with quote

Garbanzo,

The newest 4.18 is a good choice for now.

If that gives the same message, you will need to enable that alpha support.
4.19.0-rc* series kernel will appear soon. Only try those, if 4.18 won't work for you.

There is a section in the handbook about mixing stable and testing.

-- edit --

There is the fallback of not using the Intel driver too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
l33t
l33t


Joined: 13 Feb 2016
Posts: 968

PostPosted: Tue Aug 21, 2018 8:41 am    Post subject: Reply with quote

On the more specific topic of utilizing graphics what I might also recommend rather than spend time recompiling the kernel is to edit the boot configuration entry within grub, using 'e' to edit at boot time, and then add the recommended portion to the line that begins with 'linux' as the first word that specifies the location and some simple boot parameters, and then press the key to boot. If it works then later you can recompile the kernel and if it does not then I'm pretty sure that fixing it in the kernel is not going to change anything either. But you gotta start somewhere.

By the way thanks Garbanzo for including the dmesg output and that definitely helped catch more of what could be contributing to this mess!
Back to top
View user's profile Send private message
Garbanzo
n00b
n00b


Joined: 06 Aug 2018
Posts: 12

PostPosted: Tue Aug 21, 2018 2:35 pm    Post subject: Reply with quote

Just an update. Upgrading to kernel 14.18.5 fixed the problem, twm runs fine. Next I'll try a DE.

Thanks for the help everyone.
Back to top
View user's profile Send private message
MikeNigh
n00b
n00b


Joined: 03 Dec 2018
Posts: 3

PostPosted: Fri Jan 04, 2019 3:48 am    Post subject: Reply with quote

Thanks!!!!!

This got the intel graphics card working on my 9600k with asrock Z390M-ITX/ac !! (upgrading the kernel to 4.20.0 from 4.14.78 ) 8)

Also followed this -

https://wiki.gentoo.org/wiki/Intel

Didn't do any specific kernel passing parameters into grub etc.
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
Goto page Previous  1, 2
Page 2 of 2

 
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