Jump to content
funtoo forums

biocyberman

Members
  • Content count

    15
  • Joined

  • Last visited

  • Days Won

    1

biocyberman last won the day on June 27

biocyberman had the most liked content!

About biocyberman

  • Rank
    Member
  1. ERROR: USE flag <flag> does not exist

    I am baffled. This happens after I switch to "meta-repo" from "ports-2012". I tried several packages, euse can't see packages flag. For example, the following is for xorg-server: # euse -p "x11-base/xorg-server" -E "xephyr" ERROR: USE flag "xephyr" does not exist # equery u xorg-server [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for x11-base/xorg-server-1.17.4-r2: U I - - dmx : Build the Distributed Multiheaded X server - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - glamor : Enable Glamor OpenGL 2D acceleration + + ipv6 : Add support for IP version 6 - - kdrive : Build the kdrive X servers - - libressl : Use dev-libs/libressl as SSL provider (might need ssl USE flag), packages should not depend on this USE flag - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features) + + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually) - - static-libs : Build static versions of dynamic libraries as well + + suid : Enable setuid root program, with potential security risks - - systemd : Enable use of systemd-specific libraries and features like socket activation or session tracking - - tslib : Build with tslib support for touchscreen devices + + udev : Enable virtual/udev integration (device discovery, power and storage device support, etc) - - unwind : Enable libunwind usage for backtraces - - wayland : Enable dev-libs/wayland backend - - xephyr : Build the Xephyr server - - xnest : Build the Xnest server + + xorg : Build the Xorg X server (HIGHLY RECOMMENDED) + + xvfb : Build the Xvfb server
  2. Found it! The trick is "# emerge -auDN --newrepo @world". The '--newrepo' option is crucial. Update 19 Oct 2017: The command above works for more than 1000 packages I have installed, except the qt* packages. For these stubborn qt* packages I had to do the following: emerge -Cav "dev-qt/qt*" * This action can remove important packages! In order to be safer, use * `emerge -pv --depclean <atom>` to check for reverse dependencies before * removing packages. >>> These are the packages that would be unmerged: dev-qt/qtsql selected: 5.9.2 protected: none omitted: none dev-qt/qtx11extras selected: 5.7.1 protected: none omitted: none ... truncated for clarity ... dev-qt/qtprintsupport selected: 5.7.1 protected: none omitted: none All selected packages: =dev-qt/qtwidgets-5.7.1 =dev-qt/qtgui-4.8.7 =dev-qt/qtcore-5.9.2 =dev-qt/qtwebchannel-5.7.1 =dev-qt/qtpositioning-5.9.2 =dev-qt/qtopengl-4.8.7 =dev-qt/qtcore-4.8.7-r2 =dev-qt/qtwebengine-5.7.1-r2 =dev-qt/qtgui-5.7.1 =dev-qt/qtsql-5.9.2 =dev-qt/qtprintsupport-5.7.1 =dev-qt/qtdeclarative-5.7.1 = dev-qt/qtxmlpatterns-5.9.2 =dev-qt/qtdbus-5.9.2 =dev-qt/qtsvg-4.8.7 =dev-qt/qtopengl-5.7.1 =dev-qt/qtxml-5.9.2 =dev-qt/qttranslations-4.8.7 =dev-qt/qtdbus-4.8.7 =dev-qt/qtchooser-0_p20170803 =dev-qt/qtwebkit-5.7.1 =dev-qt/qttest-5.9.2 =dev-qt/qtnetwork-5.9.2 =dev-qt/qtsvg-5.7.1 =dev-qt/qtscript-4.8.7 =dev-qt/qtconcu rrent-5.9.2 =dev-qt/qtx11extras-5.7.1 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Would you like to unmerge these packages? [Yes/No] Yes Next, run this command: # Here I have renamed the /usr/portage directory for backup emerge -av @preserved-rebuild
  3. I asked about a problem with upgrade to meta repo here: I got most of the things to work now, but the following issue of ebuild source conflicts keeps bugging me: # emerge -av "=dev-qt/qtwebengine-5.9.2:5/5.9::kde-kit" "=dev-qt/qtgui-5.9.2:5/5.9::kde-kit" "=dev-qt/qtwidgets-5.9.2:5/5.9::kde-kit" !3940 Password: !!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf' !!! Set 'masters = core-kit' in this file for future compatibility * IMPORTANT: config file '/etc/portage/package.use' needs updating. * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS * sections of the emerge man page to learn how to update config files. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-qt/qtgui-5.9.2:5/5.9::kde-kit [5.7.1:5/5.7::gentoo] USE="dbus gif jpeg libinput* png udev xcb -accessibility -debug -egl -eglfs -evdev -gles2 -ibus {-test} -tslib -tuio -vnc% (-gtk%)" 0 KiB [ebuild U ] dev-qt/qtwidgets-5.9.2:5/5.9::kde-kit [5.7.1:5/5.7::gentoo] USE="png xcb -debug -gles2 -gtk% {-test}" 0 KiB [ebuild U ] dev-qt/qtdeclarative-5.9.2:5/5.9::kde-kit [5.7.1:5/5.7::gentoo] USE="widgets xml -debug -gles2 -jit -localstorage {-test}" 0 KiB [ebuild U ] dev-qt/qtwebchannel-5.9.2:5/5.9::kde-kit [5.7.1:5/5.7::gentoo] USE="qml -debug {-test}" 0 KiB [ebuild U ] dev-qt/qtwebengine-5.9.2:5/5.9::kde-kit [5.7.1-r2:5/5.7::kde-kit] USE="alsa pax_kernel pulseaudio system-ffmpeg system-icu widgets -bindist -debug -geolocation {-test}" 0 KiB Total: 5 packages (5 upgrades), Size of downloads: 0 KiB Oops! Conflicts have been encountered: >>> =dev-qt/qtgui-5.9.2:5/5.9::kde-kit, wants =dev-qt/qtgui-5.9.2:5/5.9::kde-kit >>> dev-qt/qtwidgets-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge, wants ~dev-qt/qtgui-5.9.2[gles2=,png=,xcb?] >>> dev-qt/qtwebengine-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge, wants ~dev-qt/qtgui-5.9.2 >>> dev-qt/qtdeclarative-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge, wants ~dev-qt/qtgui-5.9.2[gles2=] >>> dev-qt/qtsvg-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtgui-5.7.1 >>> dev-qt/qtwebkit-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtgui-5.7.1 >>> dev-qt/qtopengl-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtgui-5.7.1[-gles2] >>> dev-qt/qtwidgets-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtgui-5.7.1[-gles2,png,xcb] >>> dev-qt/qtprintsupport-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtgui-5.7.1[-gles2] My candidates are: >>> dev-qt/qtgui-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge has SLOT 5/5.9 >>> dev-qt/qtgui-5.7.1:5/5.7::gentoo, installed has SLOT 5/5.7 >>> dev-qt/qtdeclarative-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge, wants ~dev-qt/qtwidgets-5.9.2[gles2=] >>> =dev-qt/qtwidgets-5.9.2:5/5.9::kde-kit, wants =dev-qt/qtwidgets-5.9.2:5/5.9::kde-kit >>> dev-qt/qtwebengine-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge, wants ~dev-qt/qtwidgets-5.9.2 >>> dev-qt/qtsvg-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtwidgets-5.7.1 >>> dev-qt/qtprintsupport-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtwidgets-5.7.1[-gles2] >>> dev-qt/qtopengl-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtwidgets-5.7.1[-gles2] >>> dev-qt/qtwebkit-5.7.1:5/5.7::gentoo, installed, wants ~dev-qt/qtwidgets-5.7.1 My candidates are: >>> dev-qt/qtwidgets-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge has SLOT 5/5.9 >>> dev-qt/qtwidgets-5.7.1:5/5.7::gentoo, installed has SLOT 5/5.7 We hope this informational output has been useful in identifying the problem. We are continually working to reduce conflicts. Do not hesitate to report a bug at https://bugs.funtoo.org. Thank you! :) How do I force reinstallation of all packages that were installed from the old repo?
  4. can't sync with emerge

    Holy cow, I have a local version of dev-libs/glib-2.50.3-r1. Moved that out of place and the update could start. Wonder why I created the most challenging upgrade for myself. Lesson learned: When there is a conflict, check , really check where it comes from. I was assuming that both gdbus-codegen and dev-libs/glib come from the same repo, but later found out that dev-libs/glib comes from another repo.
  5. can't sync with emerge

    @Oleg: Thanks for the pointer. It solved the problem with pythong_tagrgets. However, I came to another problem: version conflict between dev-util/gdbus-codegen-2.50.3 and dev-libs/glib-2.50.3-r1: # emerge -av "dev-libs/glib" These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-libs/glib-2.50.3-r1:2::x-portage [2.48.2:2::gentoo] USE="dbus* mime xattr -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 9,298 KiB [blocks B ] <dev-util/gdbus-codegen-2.50.3 ("<dev-util/gdbus-codegen-2.50.3" is blocking dev-libs/glib-2.50.3-r1) Total: 1 package (1 upgrade), Size of downloads: 9,298 KiB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. dev-util/gdbus-codegen-2.48.2:0/0::gentoo, installed pulled in by >=dev-util/gdbus-codegen-2.32 required by sys-fs/udisks-2.6.5:2/2::gentoo, installed dev-util/gdbus-codegen required by net-print/cups-filters-1.14.1:0/0::gentoo, installed dev-util/gdbus-codegen required by app-crypt/gcr-3.20.0:0/1::gentoo, installed dev-util/gdbus-codegen required by net-libs/webkit-gtk-2.4.11-r1:3/25::gentoo, installed dev-util/gdbus-codegen required by net-misc/modemmanager-1.6.4:0/1::gentoo, installed >=dev-util/gdbus-codegen-2.38.2 required by x11-libs/gtk+-3.20.9:3/3::gentoo, installed dev-util/gdbus-codegen required by gnome-base/gnome-desktop-3.20.2:3/12::gentoo, installed dev-util/gdbus-codegen required by gnome-base/gvfs-1.28.3-r1:0/0::gentoo, installed dev-util/gdbus-codegen required by gnome-extra/evolution-data-server-3.20.5:0/57::gentoo, installed dev-util/gdbus-codegen required by app-misc/geoclue-2.4.4:2.0/2.0::gentoo, installed >=dev-util/gdbus-codegen-2.30.0 required by net-libs/gnome-online-accounts-3.20.4:0/1::gentoo, installed dev-util/gdbus-codegen required by net-libs/webkit-gtk-2.16.3:4/37::gentoo, installed dev-util/gdbus-codegen required by gnome-base/dconf-0.26.0:0/0::gentoo, installed dev-util/gdbus-codegen required by app-crypt/libsecret-0.18.5:0/0::gentoo, installed dev-libs/glib-2.50.3-r1:2/2::x-portage, ebuild scheduled for merge pulled in by >=dev-libs/glib-2.34:2 required by sci-geosciences/geocode-glib-3.20.1:0/0::gentoo, installed >=dev-libs/glib-2.40:2 required by gnome-extra/evolution-ews-3.20.5:0/0::gentoo, installed >=dev-libs/glib-2.40:2=[dbus] required by sys-auth/consolekit-1.0.1:0/0::gentoo, installed >=dev-libs/glib-2.40:2 required by gnome-extra/evolution-data-server-3.20.5:0/57::gentoo, installed >=dev-libs/glib-2.46.2:2 required by gnome-base/gvfs-1.28.3-r1:0/0::gentoo, installed dev-libs/glib:2 required by net-misc/remmina-1.2.0_rc18:0/0::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_64(-)] required by net-libs/libsoup-2.54.1-r1:2.4/2.4::gentoo, installed >=dev-libs/glib-2.45.8:2[abi_x86_64(-)] required by x11-libs/gtk+-3.20.9:3/3::gentoo, installed >=dev-libs/glib-2.37.6:2[abi_x86_64(-)] required by dev-libs/json-glib-1.2.2:0/0::gentoo, installed dev-libs/glib:2 required by dev-qt/qtgui-5.7.1:5/5.7::gentoo, installed >=dev-libs/glib-2.32:2[abi_x86_64(-)] required by app-accessibility/at-spi2-atk-2.20.1:2/2::gentoo, installed >=dev-libs/glib-2.34:2 required by app-misc/geoclue-2.4.4:2.0/2.0::gentoo, installed >=dev-libs/glib-2.32:2 required by dev-lang/vala-0.32.1:0.32/0.32::gentoo, installed >=dev-libs/glib-2.28:2[abi_x86_64(-)] required by net-wireless/bluez-5.45:0/3::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_32(-),abi_x86_64(-)] required by x11-libs/pango-1.40.3:0/0::gentoo, installed >=dev-libs/glib-2.35.1:2 required by dev-libs/libgweather-3.20.3:2/3-6::gentoo, installed >=dev-libs/glib-2.48.0:2[abi_x86_64(-)] required by dev-cpp/glibmm-2.48.1:2/2::gentoo, installed dev-libs/glib required by app-emulation/virtualbox-bin-5.1.22.115126:0/0::gentoo, installed >=dev-libs/glib-2.4.0:2[abi_x86_64(-)] required by media-sound/pulseaudio-10.0:0/0::gentoo, installed >=dev-libs/glib-2.45.8:2 required by dev-util/gtk-update-icon-cache-3.20.9:0/0::gentoo, installed >=dev-libs/glib-2.40:2 required by x11-libs/vte-0.44.2:2.91/2.91::gentoo, installed dev-libs/glib:2 required by net-misc/icaclient-13.5.0.10185126:0/0::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_64(-)] required by dev-libs/fribidi-0.19.7:0/0::gentoo, installed >=dev-libs/glib-2.36:2 required by mate-base/mate-desktop-1.18.0:0/0::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_32(-),abi_x86_64(-)] required by dev-libs/libcroco-0.6.11:0.6/0.6::gentoo, installed dev-libs/glib:2 required by app-text/poppler-0.51.0:0/66::gentoo, installed >=dev-libs/glib-2.16.0:2[abi_x86_64(-)] required by gnome-base/libgnome-keyring-3.12.0-r1:0/0::gentoo, installed dev-libs/glib:2 required by net-print/cups-filters-1.14.1:0/0::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_64(-)] required by media-libs/gstreamer-0.10.36-r2:0.10/0.10::gentoo, installed >=dev-libs/glib-2.48:2 required by dev-libs/gobject-introspection-1.48.0:0/0::gentoo, installed >=dev-libs/glib-2.6:2 required by dev-util/gtk-doc-1.25-r1:0/0::gentoo, installed >=dev-libs/glib-2.32 required by net-libs/libqmi-1.18.0:0/5.1::gentoo, installed >=dev-libs/glib-2.24:2[abi_x86_64(-)] required by net-libs/rest-0.8.0:0.7/0.7::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_32(-),abi_x86_64(-)] required by dev-libs/atk-2.20.0:0/0::gentoo, installed >=dev-libs/glib-2:2 required by app-admin/system-config-printer-1.4.8:0/0::gentoo, installed >=dev-libs/glib-2.44.0:2[dbus] required by gnome-base/gnome-desktop-3.20.2:3/12::gentoo, installed dev-libs/glib:2 required by net-im/slack-bin-2.5.2:0/0::gentoo, installed >=dev-libs/glib-2.36:2 required by net-libs/webkit-gtk-2.4.11-r1:3/25::gentoo, installed >=dev-libs/glib-2.32:2 required by net-libs/libmbim-1.14.0:0/0::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_32(-),abi_x86_64(-)] required by media-libs/harfbuzz-9999:0/0.9.18::gentoo, installed >=dev-libs/glib-2.40.0:2[abi_x86_64(-)] required by media-libs/gst-plugins-bad-1.10.3:1.0/1.0::gentoo, installed >=dev-libs/glib-2.40.0:2[abi_x86_64(-)] required by media-libs/gst-plugins-base-1.10.4:1.0/1.0::gentoo, installed >=dev-libs/glib-2.30.0:2[abi_x86_64(-)] required by dev-libs/libgudev-231:0/0::gentoo, installed >=dev-libs/glib-2.38:2 required by gnome-base/gnome-keyring-3.20.0:0/0::gentoo, installed dev-libs/glib:2 required by x11-misc/rofi-1.3.1:0/0::gentoo, installed dev-libs/glib:2[abi_x86_64(-)] required by dev-qt/qtcore-4.8.7-r2:4/4::gentoo, installed >=dev-libs/glib-2.46:2 required by net-im/telepathy-mission-control-5.16.4:0/0::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_64(-)] required by dev-libs/dbus-glib-0.108:0/0::gentoo, installed >=dev-libs/glib-2.34.3:2[abi_x86_32(-),abi_x86_64(-)] required by gnome-base/librsvg-2.40.16:2/2::gentoo, installed
  6. can't sync with emerge

    Ok found this one and reading: http://forums.funtoo.org/topic/1176-how-to-migrate-from-ports-2012-to-meta-repo/ Still can't find the answer to "what should I do with stage3 files?" Running this: emerge -auDN @world --with-bdeps=y --verbose-conflicts --backtrack=30 gives error messages for one package after another: These are the packages that would be merged, in order: Calculating dependencies / !!! Problem resolving dependencies for sys-apps/file from @system ... done! !!! The ebuild selected to satisfy "sys-apps/file" has unmet requirements. - sys-apps/file-5.30::core-kit USE="python zlib -static-libs" ABI_X86="64 -32 -x32" PYTHON_TARGETS="-pypy -python2_7 -python3_4 -python3_5 -python3_6" The following REQUIRED_USE flag constraints are unsatisfied: python? ( any-of ( python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 ) ) I editted the package.use and added: >=sys-apps/file-5.30 python_targets_python2_7 And similar error appeared for another package, and another package, ... There must be something not right here. Should I download stage3 file and overwrite before proceed further? I installed Funtoo with this stage3 file: stage3-intel64-sandybridge-funtoo-current-hardened-2017-06-09.tar.xz
  7. can't sync with emerge

    I could not sync with emerge. Manually sync'ing did not help. I guess it has something to do with the funtoo repo changes. Could not find any relevant document about this. emerge --sync >> Syncing repository 'gentoo' into '/usr/portage'... usr/bin/git pull atal: remote error: Repository not found. !! git pull error in /usr/portage : Updating ebuild cache in /usr/portage ... : Finished 39471 entries in 0.138483 seconds cd /usr/portage git remote -v origin git://github.com/funtoo/ports-2012.git (fetch origin git://github.com/funtoo/ports-2012.git (push) git clean -f -d git pull fatal: remote error: Repository not found. Update: Editting /etc/portage/repos.conf/gentoo did not help: sync-uri = git://github.com/funtoo/ports-2017.git I am reading README on this repo https://github.com/funtoo/meta-repo but not sure how to proceed
  8. How do I capture kernel customization flags, visualize them and post on line as it appears in the "kernel" snippet in this page: https://wiki.gentoo.org/wiki/Docker In other words, I made some changes previously to say /usr/src/linux/.config. How do I show ONLY these changes via, say, "make menuconfig", and copy the text with markings?
  9. dual monitor with imac + apple thunderbolt display?

    I achieved partial success with this so far, after reading everywhere I can find about xorg.conf. Most notably, these threads: https://forums.gentoo.org/viewtopic-t-942924-start-0.html http://us.download.nvidia.com/XFree86/Linux-x86/173.14.12/README/chapter-15.html https://wiki.archlinux.org/index.php/multihead And of course `man xorg.conf` My current config: Section "Files" ModulePath "/usr/lib64/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF/" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection Section "Module" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Device" Identifier "nvidia0" Driver "nouveau" BusID "PCI:1:0:0" Option "Monitor-DP-1" "DP-1" Screen 0 EndSection Section "Device" Identifier "nvidia1" Driver "nouveau" BusID "PCI:1:0:0" Option "Monitor-DP-2" "DP-2" Screen 0 EndSection # Section "Monitor" Identifier "DP-1" Option "PreferredMode" "2560x1440_59.95" Option "DPMS" "on" Option "Enable" "on" Option "Primary" "true" EndSection Section "Monitor" Identifier "DP-2" Option "PreferredMode" "2560x1440_59.95" Option "DPMS" "on" Option "Enable" "on" Option "RightOf" "DP-1" EndSection Section "Screen" Identifier "screen0" Device "nvidia1" Device "nvidia0" Monitor "DP-1" Monitor "DP-2" DefaultDepth 24 EndSection Section "ServerLayout" Identifier "layout1" Screen 0 "screen0" 0 0 #Screen 1 "screen1" rightOf "screen0" Option "Xinerama" "0" Option "RandR" "1" EndSection Some crucial points: Must have two `device` sections, one for each monitor, even though they share the same BusID. Otherwise the thunderbolt display has less chance to be detected. Must have screen number in the device section. Wanted to switch on Xinerama but xdm could not start. Monitor identifier (i.e. DP-1) should match outputname (as in `Option "Monitor-DP-1" "DP-1"`). Without this, Xorg log shows errors something like this: Cannot position output DP-2 relative to unknown output iMacMinitor. Where, iMacMonitor is my self-choosen identifier for the iMac's monitor section. Current problems: The thunderbolt display does not always work correctly (still black screen haft of the times). I have to login in to console (Ctrl + Alt + F1) and restart xdm serveral times until I see the second screen is working. The cursor and many dialog boxes are put right at the edge between the two monitors, so that they split up on two monitors and look ugly. All in all, still feel like shooting in the dark.
  10. I have following modules compiled and loaded cat /etc/conf.d/modules modules="thunderbolt appledisplay facetimehd binfmt_misc" The thunderbolt display would turns on during boot before lightdm greeter (login screen) and sometimes keep working after I log on, but most of the times it turns off right before the greeter appears and becomes black. Sometimes log out and login repeatedly helps to activate the thunderbolt display. I can, however, always select and use the speakers on the thunderbolt display. xrandr output: Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384 DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm 2560x1440 59.95*+ 1280x720 59.86 DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) The thunderbolt display is actually connected physically to DP-2. Xorg log about display handling: [ 3991.897] X.Org X Server 1.19.1 Release Date: 2017-01-11 [ 3991.897] X Protocol Version 11, Revision 0 [ 3991.897] Build Operating System: Linux 4.8.15-1 x86_64 Gentoo [ 3991.897] Current Operating System: Linux im 4.8.15-1 #1 SMP Sun Dec 25 08:13:42 -00 2016 x86_64 [ 3991.897] Kernel command line: \boot\kernel-debian-sources-x86_64-4.8.15-1 ro root=/dev/sda5 initrd=boot\initramfs-debian-sources-x86_64-4.8.15-1 [ 3991.897] Build Date: 20 June 2017 12:09:23AM [ 3991.897] [ 3991.897] Current version of pixman: 0.34.0 [ 3991.897] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 3991.897] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 3991.897] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 28 09:23:47 2017 [ 3991.897] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 3991.897] (==) No Layout section. Using the first Screen section. [ 3991.897] (==) No screen section available. Using defaults. [ 3991.897] (**) |-->Screen "Default Screen Section" (0) [ 3991.897] (**) | |-->Monitor "<default monitor>" [ 3991.897] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 3991.897] (==) Automatically adding devices [ 3991.897] (==) Automatically enabling devices [ 3991.897] (==) Automatically adding GPU devices [ 3991.897] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 3991.897] (==) 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/ [ 3991.897] (==) ModulePath set to "/usr/lib64/xorg/modules" [ 3991.897] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 3991.897] (II) Loader magic: 0x55b7b9badcc0 [ 3991.897] (II) Module ABI versions: [ 3991.897] X.Org ANSI C Emulation: 0.4 [ 3991.897] X.Org Video Driver: 23.0 [ 3991.897] X.Org XInput driver : 24.1 [ 3991.897] X.Org Server Extension : 10.0 [ 3991.897] (II) xfree86: Adding drm device (/dev/dri/card0) [ 3991.900] (--) PCI:*(0:1:0:0) 10de:119d:106b:0120 rev 161, Mem @ 0xb0000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/524288 [ 3991.900] (II) LoadModule: "glx" [ 3991.900] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 3991.902] (II) Module glx: vendor="X.Org Foundation" [ 3991.902] compiled for 1.19.1, module version = 1.0.0 [ 3991.902] ABI class: X.Org Server Extension, version 10.0 [ 3991.902] (==) Matched nouveau as autoconfigured driver 0 [ 3991.902] (==) Matched nv as autoconfigured driver 1 [ 3991.902] (==) Matched nouveau as autoconfigured driver 2 [ 3991.902] (==) Matched nv as autoconfigured driver 3 [ 3991.902] (==) Matched modesetting as autoconfigured driver 4 [ 3991.902] (==) Matched fbdev as autoconfigured driver 5 [ 3991.902] (==) Matched vesa as autoconfigured driver 6 [ 3991.902] (==) Assigned the driver to the xf86ConfigLayout [ 3991.902] (II) LoadModule: "nouveau" [ 3991.902] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so [ 3991.903] (II) Module nouveau: vendor="X.Org Foundation" [ 3991.903] compiled for 1.19.1, module version = 1.0.13 [ 3991.903] Module class: X.Org Video Driver [ 3991.903] ABI class: X.Org Video Driver, version 23.0 [ 3991.903] (II) LoadModule: "nv" [ 3991.903] (WW) Warning, couldn't open module nv [ 3991.903] (II) UnloadModule: "nv" [ 3991.903] (II) Unloading nv [ 3991.903] (EE) Failed to load module "nv" (module does not exist, 0) [ 3991.903] (II) LoadModule: "modesetting" [ 3991.903] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 3991.903] (II) Module modesetting: vendor="X.Org Foundation" [ 3991.903] compiled for 1.19.1, module version = 1.19.1 [ 3991.903] Module class: X.Org Video Driver [ 3991.903] ABI class: X.Org Video Driver, version 23.0 [ 3991.903] (II) LoadModule: "fbdev" [ 3991.903] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so [ 3991.903] (II) Module fbdev: vendor="X.Org Foundation" [ 3991.903] compiled for 1.19.1, module version = 0.4.4 [ 3991.903] Module class: X.Org Video Driver [ 3991.903] ABI class: X.Org Video Driver, version 23.0 [ 3991.903] (II) LoadModule: "vesa" [ 3991.903] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so [ 3991.903] (II) Module vesa: vendor="X.Org Foundation" [ 3991.903] compiled for 1.19.1, module version = 2.3.4 [ 3991.903] Module class: X.Org Video Driver [ 3991.903] ABI class: X.Org Video Driver, version 23.0 [ 3991.903] (II) NOUVEAU driver [ 3991.903] (II) NOUVEAU driver for NVIDIA chipset families : [ 3991.903] RIVA TNT (NV04) [ 3991.903] RIVA TNT2 (NV05) [ 3991.903] GeForce 256 (NV10) [ 3991.903] GeForce 2 (NV11, NV15) [ 3991.903] GeForce 4MX (NV17, NV18) [ 3991.903] GeForce 3 (NV20) [ 3991.903] GeForce 4Ti (NV25, NV28) [ 3991.903] GeForce FX (NV3x) [ 3991.903] GeForce 6 (NV4x) [ 3991.903] GeForce 7 (G7x) [ 3991.903] GeForce 8 (G8x) [ 3991.903] GeForce GTX 200 (NVA0) [ 3991.903] GeForce GTX 400 (NVC0) [ 3991.903] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 3991.903] (II) FBDEV: driver for framebuffer: fbdev [ 3991.903] (II) VESA: driver for VESA chipsets: vesa [ 3991.903] (++) using VT number 7 [ 3991.903] (II) [drm] nouveau interface version: 1.3.1 [ 3991.903] (WW) Falling back to old probe method for modesetting [ 3991.903] (WW) Falling back to old probe method for fbdev [ 3991.903] (II) Loading sub module "fbdevhw" [ 3991.903] (II) LoadModule: "fbdevhw" [ 3991.903] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so [ 3991.903] (II) Module fbdevhw: vendor="X.Org Foundation" [ 3991.903] compiled for 1.19.1, module version = 0.0.2 [ 3991.903] ABI class: X.Org Video Driver, version 23.0 [ 3991.903] (WW) Falling back to old probe method for vesa [ 3991.903] (II) Loading sub module "dri2" [ 3991.903] (II) LoadModule: "dri2" [ 3991.903] (II) Module "dri2" already built-in [ 3991.903] (--) NOUVEAU(0): Chipset: "NVIDIA NVE4" [ 3991.903] (II) NOUVEAU(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 3991.903] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32 [ 3991.903] (==) NOUVEAU(0): RGB weight 888 [ 3991.903] (==) NOUVEAU(0): Default visual is TrueColor [ 3991.903] (==) NOUVEAU(0): Using HW cursor [ 3991.903] (==) NOUVEAU(0): Allowed maximum DRI level 2. [ 3991.903] (==) NOUVEAU(0): GLX sync to VBlank enabled. [ 3991.903] (==) NOUVEAU(0): Page flipping enabled [ 3991.903] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2] [ 3991.903] (==) NOUVEAU(0): Page flipping synced to vblank by kernel. [ 3991.903] (II) NOUVEAU(0): Initializing outputs ... [ 3991.923] (II) NOUVEAU(0): Output DP-1 has no monitor section [ 3991.984] (II) NOUVEAU(0): Output DP-2 has no monitor section [ 3992.048] (II) NOUVEAU(0): Output DP-3 has no monitor section [ 3992.048] (II) NOUVEAU(0): 3 crtcs needed for screen. [ 3992.061] (II) NOUVEAU(0): Allocated crtc nr. 0 to this screen. [ 3992.061] (II) NOUVEAU(0): Allocated crtc nr. 1 to this screen. [ 3992.061] (II) NOUVEAU(0): Allocated crtc nr. 2 to this screen. [ 3992.061] (II) NOUVEAU(0): Allocated crtc nr. 3 to this screen. [ 3992.080] (II) NOUVEAU(0): EDID for output DP-1 [ 3992.080] (II) NOUVEAU(0): Manufacturer: APP Model: b005 Serial#: 0 [ 3992.080] (II) NOUVEAU(0): Year: 2012 Week: 28 [ 3992.080] (II) NOUVEAU(0): EDID Version: 1.4 [ 3992.080] (II) NOUVEAU(0): Digital Display Input [ 3992.080] (II) NOUVEAU(0): 10 bits per channel [ 3992.080] (II) NOUVEAU(0): Digital interface is DisplayPort [ 3992.080] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 60 vert.: 34 [ 3992.080] (II) NOUVEAU(0): Gamma: 2.20 [ 3992.080] (II) NOUVEAU(0): DPMS capabilities: Off [ 3992.080] (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4 [ 3992.080] (II) NOUVEAU(0): First detailed timing is preferred mode [ 3992.080] (II) NOUVEAU(0): Preferred mode is native pixel format and refresh rate [ 3992.080] (II) NOUVEAU(0): redX: 0.653 redY: 0.334 greenX: 0.300 greenY: 0.620 [ 3992.080] (II) NOUVEAU(0): blueX: 0.146 blueY: 0.050 whiteX: 0.312 whiteY: 0.329 [ 3992.080] (II) NOUVEAU(0): Manufacturer's mask: 0 [ 3992.080] (II) NOUVEAU(0): Supported detailed timing: [ 3992.080] (II) NOUVEAU(0): clock: 241.5 MHz Image Size: 597 x 336 mm [ 3992.080] (II) NOUVEAU(0): h_active: 2560 h_sync: 2608 h_sync_end 2640 h_blank_end 2720 h_border: 0 [ 3992.080] (II) NOUVEAU(0): v_active: 1440 v_sync: 1443 v_sync_end 1448 v_blanking: 1481 v_border: 0 [ 3992.080] (II) NOUVEAU(0): Supported detailed timing: [ 3992.080] (II) NOUVEAU(0): clock: 74.5 MHz Image Size: 597 x 336 mm [ 3992.080] (II) NOUVEAU(0): h_active: 1280 h_sync: 1344 h_sync_end 1472 h_blank_end 1664 h_border: 0 [ 3992.080] (II) NOUVEAU(0): v_active: 720 v_sync: 723 v_sync_end 728 v_blanking: 748 v_border: 0 [ 3992.080] (II) NOUVEAU(0): Monitor name: iMac [ 3992.080] (II) NOUVEAU(0): Supported detailed timing: [ 3992.080] (II) NOUVEAU(0): clock: 241.5 MHz Image Size: 597 x 336 mm [ 3992.080] (II) NOUVEAU(0): h_active: 2560 h_sync: 2608 h_sync_end 2640 h_blank_end 2720 h_border: 0 [ 3992.080] (II) NOUVEAU(0): v_active: 1440 v_sync: 1443 v_sync_end 1448 v_blanking: 1481 v_border: 0 [ 3992.080] (II) NOUVEAU(0): Supported detailed timing: [ 3992.080] (II) NOUVEAU(0): clock: 74.5 MHz Image Size: 597 x 336 mm [ 3992.080] (II) NOUVEAU(0): h_active: 1280 h_sync: 1344 h_sync_end 1472 h_blank_end 1664 h_border: 0 [ 3992.080] (II) NOUVEAU(0): v_active: 720 v_sync: 723 v_sync_end 728 v_blanking: 748 v_border: 0 [ 3992.080] (II) NOUVEAU(0): Number of EDID sections to follow: 1 [ 3992.080] (II) NOUVEAU(0): EDID (in hex): [ 3992.080] (II) NOUVEAU(0): 00ffffffffffff00061005b000000000 [ 3992.080] (II) NOUVEAU(0): 1c160104b53c227822612337554c9e25 [ 3992.080] (II) NOUVEAU(0): 0c505400000001010101010101010101 [ 3992.080] (II) NOUVEAU(0): 010101010101565e00a0a0a029503020 [ 3992.080] (II) NOUVEAU(0): 350055502100001a1a1d008051d01c20 [ 3992.080] (II) NOUVEAU(0): 4080350055502100001c000000fc0069 [ 3992.080] (II) NOUVEAU(0): 4d61630a452020202020202000000000 [ 3992.080] (II) NOUVEAU(0): 0000000000000000000000000000018e [ 3992.080] (II) NOUVEAU(0): 020328c1230913078301000070fa1000 [ 3992.080] (II) NOUVEAU(0): 00127a31fc78bdb202108874e56afa10 [ 3992.080] (II) NOUVEAU(0): 00dbeef5f023feff565e00a0a0a02950 [ 3992.080] (II) NOUVEAU(0): 3020350055502100001a1a1d008051d0 [ 3992.080] (II) NOUVEAU(0): 1c204080350055502100001c00000000 [ 3992.080] (II) NOUVEAU(0): 00000000000000000000000000000000 [ 3992.080] (II) NOUVEAU(0): 00000000000000000000000000000000 [ 3992.080] (II) NOUVEAU(0): 000000000000000000000000000000cc [ 3992.080] (II) NOUVEAU(0): Printing probed modes for output DP-1 [ 3992.080] (II) NOUVEAU(0): Modeline "2560x1440"x60.0 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync (88.8 kHz eP) [ 3992.080] (II) NOUVEAU(0): Modeline "1280x720"x59.9 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.8 kHz e) [ 3992.144] (II) NOUVEAU(0): EDID for output DP-2 [ 3992.208] (II) NOUVEAU(0): EDID for output DP-3 [ 3992.208] (II) NOUVEAU(0): Output DP-1 connected [ 3992.208] (II) NOUVEAU(0): Output DP-2 disconnected [ 3992.208] (II) NOUVEAU(0): Output DP-3 disconnected [ 3992.208] (II) NOUVEAU(0): Using exact sizes for initial modes [ 3992.208] (II) NOUVEAU(0): Output DP-1 using initial mode 2560x1440 +0+0 [ 3992.208] (==) NOUVEAU(0): Using gamma correction (1.0, 1.0, 1.0) [ 3992.208] (--) NOUVEAU(0): Virtual size is 2560x1440 (pitch 0) [ 3992.208] (**) NOUVEAU(0): Driver mode "2560x1440": 241.5 MHz (scaled from 0.0 MHz), 88.8 kHz, 60.0 Hz [ 3992.208] (II) NOUVEAU(0): Modeline "2560x1440"x60.0 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync (88.8 kHz eP) [ 3992.208] (**) NOUVEAU(0): Driver mode "1280x720": 74.5 MHz (scaled from 0.0 MHz), 44.8 kHz, 59.9 Hz [ 3992.208] (II) NOUVEAU(0): Modeline "1280x720"x59.9 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.8 kHz e) [ 3992.208] (==) NOUVEAU(0): DPI set to (96, 96) [ 3992.208] (II) Loading sub module "fb" [ 3992.208] (II) LoadModule: "fb" [ 3992.208] (II) Loading /usr/lib64/xorg/modules/libfb.so [ 3992.208] (II) Module fb: vendor="X.Org Foundation" [ 3992.208] compiled for 1.19.1, module version = 1.0.0 [ 3992.208] ABI class: X.Org ANSI C Emulation, version 0.4 [ 3992.208] (II) Loading sub module "shadowfb" [ 3992.208] (II) LoadModule: "shadowfb" [ 3992.208] (II) Loading /usr/lib64/xorg/modules/libshadowfb.so [ 3992.208] (II) Module shadowfb: vendor="X.Org Foundation" [ 3992.208] compiled for 1.19.1, module version = 1.0.0 [ 3992.208] ABI class: X.Org ANSI C Emulation, version 0.4 [ 3992.208] (II) UnloadModule: "modesetting" [ 3992.208] (II) Unloading modesetting [ 3992.208] (II) UnloadModule: "fbdev" [ 3992.208] (II) Unloading fbdev [ 3992.208] (II) UnloadSubModule: "fbdevhw" [ 3992.208] (II) Unloading fbdevhw [ 3992.208] (II) UnloadModule: "vesa" [ 3992.208] (II) Unloading vesa [ 3992.208] (--) Depth 24 pixmap format is 32 bpp [ 3992.234] (II) NOUVEAU(0): Channel setup complete. [ 3992.258] (II) NOUVEAU(0): [COPY] async initialised. [ 3992.258] (II) NOUVEAU(0): Hardware support for Present enabled [ 3992.258] (II) NOUVEAU(0): [DRI2] Setup complete [ 3992.258] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau [ 3992.258] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau [ 3992.258] (II) Loading sub module "exa" [ 3992.258] (II) LoadModule: "exa" [ 3992.258] (II) Loading /usr/lib64/xorg/modules/libexa.so [ 3992.258] (II) Module exa: vendor="X.Org Foundation" [ 3992.258] compiled for 1.19.1, module version = 2.6.0 [ 3992.258] ABI class: X.Org Video Driver, version 23.0 [ 3992.258] (II) EXA(0): Driver allocated offscreen pixmaps [ 3992.258] (II) EXA(0): Driver registered support for the following operations: [ 3992.258] (II) Solid [ 3992.258] (II) Copy [ 3992.258] (II) Composite (RENDER acceleration) [ 3992.258] (II) UploadToScreen [ 3992.258] (II) DownloadFromScreen [ 3992.258] (==) NOUVEAU(0): Backing store enabled [ 3992.258] (==) NOUVEAU(0): Silken mouse enabled [ 3992.258] (II) NOUVEAU(0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video. [ 3992.258] (II) NOUVEAU(0): [XvMC] Extension initialized. [ 3992.258] (==) NOUVEAU(0): DPMS enabled [ 3992.258] (II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 3992.258] (--) RandR disabled [ 3992.368] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 3992.368] (II) AIGLX: enabled GLX_ARB_create_context [ 3992.368] (II) AIGLX: enabled GLX_ARB_create_context_profile [ 3992.368] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile [ 3992.368] (II) AIGLX: enabled GLX_INTEL_swap_event [ 3992.368] (II) AIGLX: enabled GLX_SGI_swap_control [ 3992.368] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB [ 3992.368] (II) AIGLX: enabled GLX_ARB_fbconfig_float [ 3992.368] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float [ 3992.368] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 3992.369] (II) AIGLX: Loaded and initialized nouveau [ 3992.369] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 3992.371] (II) NOUVEAU(0): NVEnterVT is called. [ 3992.392] (II) NOUVEAU(0): Setting screen physical size to 677 x 381 [ 3992.392] resize called 2560 1440 [ 3992.433] (II) config/udev: Adding input device Power Button (/dev/input/event2) [ 3992.433] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 3992.433] (II) LoadModule: "evdev" [ 3992.433] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so [ 3992.433] (II) Module evdev: vendor="X.Org Foundation" [ 3992.433] compiled for 1.19.1, module version = 2.10.5 [ 3992.433] Module class: X.Org XInput Driver [ 3992.433] ABI class: X.Org XInput driver, version 24.1 [ 3992.433] (II) Using input driver 'evdev' for 'Power Button' [ 3992.433] (**) Power Button: always reports core events [ 3992.433] (**) evdev: Power Button: Device: "/dev/input/event2" [ 3992.433] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 3992.433] (--) evdev: Power Button: Found keys [ 3992.433] (II) evdev: Power Button: Configuring as keyboard [ 3992.433] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2" [ 3992.433] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ 3992.433] (**) Option "xkb_rules" "evdev" [ 3992.433] (II) config/udev: Adding input device Video Bus (/dev/input/event3) [ 3992.433] (**) Video Bus: Applying InputClass "evdev keyboard catchall" [ 3992.433] (II) Using input driver 'evdev' for 'Video Bus' [ 3992.433] (**) Video Bus: always reports core events [ 3992.433] (**) evdev: Video Bus: Device: "/dev/input/event3" [ 3992.433] (--) evdev: Video Bus: Vendor 0 Product 0x6 [ 3992.433] (--) evdev: Video Bus: Found keys [ 3992.433] (II) evdev: Video Bus: Configuring as keyboard [ 3992.433] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input4/event3" [ 3992.433] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7) [ 3992.433] (**) Option "xkb_rules" "evdev" [ 3992.434] (II) config/udev: Adding input device Power Button (/dev/input/event0) [ 3992.434] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 3992.434] (II) Using input driver 'evdev' for 'Power Button' [ 3992.434] (**) Power Button: always reports core events [ 3992.434] (**) evdev: Power Button: Device: "/dev/input/event0" [ 3992.434] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 3992.434] (--) evdev: Power Button: Found keys [ 3992.434] (II) evdev: Power Button: Configuring as keyboard [ 3992.434] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0" [ 3992.434] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8) [ 3992.434] (**) Option "xkb_rules" "evdev" [ 3992.434] (II) config/udev: Adding input device Sleep Button (/dev/input/event1) [ 3992.434] (**) Sleep Button: Applying InputClass "evdev keyboard catchall" [ 3992.434] (II) Using input driver 'evdev' for 'Sleep Button' [ 3992.434] (**) Sleep Button: always reports core events [ 3992.434] (**) evdev: Sleep Button: Device: "/dev/input/event1" [ 3992.434] (--) evdev: Sleep Button: Vendor 0 Product 0x3 [ 3992.434] (--) evdev: Sleep Button: Found keys [ 3992.434] (II) evdev: Sleep Button: Configuring as keyboard [ 3992.434] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1" [ 3992.434] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9) [ 3992.434] (**) Option "xkb_rules" "evdev" [ 3992.434] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event6) [ 3992.434] (II) No input driver specified, ignoring this device. [ 3992.434] (II) This device may have been added with another device file. [ 3992.434] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event7) [ 3992.434] (II) No input driver specified, ignoring this device. [ 3992.434] (II) This device may have been added with another device file. I tried running `X -configure` but it fails to configure X. The ouput of xrandr and xorg's log above were produced with the empty /etc/X11/xorg.conf.d/ and empty /etc/X11/xorg.conf. All in all, I still have no clues how to fix this. Help is much appreciated.
  11. Built-in sound card does not work on iMac

    This does the trick: euse -E pulseaudio # enable pulseaudio feature globally # to be sure I also installed alsa-oss. Don't have time to check if it is really necessary. emerge -auDN @world # update and recompile all packages that uses pulseaudio # reboot and run alsamixer to make sure pulseaudio is unmuted. Case closed.
  12. Built-in sound card does not work on iMac

    @cardinal: Thanks for the pointer. I was looking for something like the script you pointed out so I don't have to manually collect information. Here is the script output: http://www.alsa-project.org/db/?f=9db8f45f7d5965eba70dec6fdcdf6a7e529dcef8 Regarding the muted status of the alsamixer screen, I toggled them but nothing changes. I think the problem is with pulseaudio setup. I haven't configured anything for pulseaudio, and actually don't know how to do it. The PulseAudio page on gentoo is outdated, and the one on Funtoo is empty: https://wiki.gentoo.org/wiki/PulseAudio http://www.funtoo.org/PulseAudio
  13. Funtoo on an imac that has an AppleDisplay with it. I can't get the built-in sound card on the iMac to work. Oddly enought, output sound device on the AppleDisplay works, but not the screen itself (black screen). This is alsamixer current state: ?????????????????????????????? AlsaMixer v1.1.3 ??????????????????????????????? ? Card: HDA Intel PCH F1: Help ? ? Chip: Cirrus Logic CS4206 F2: System information ? ? View: F3:[Playback] F4: Capture F5: All F6: Select sound card ? ? Item: PCM [dB gain: -4.40, -4.40] Esc: Exit ? ? ? ? ???? ???? ???? ???? ???? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ???? ? ? ???? ???? ? ? ? ? ???? ? ? ???? ???? ? ? ? ? ???? ? ? ???? ???? ? ? ? ? ???? ? ? ???? ???? ???? ? ? ???? ? ? ???? ???? ???? ? ? ???? ? ? ???? ???? ???? ? ? ???? ? ? ???? ???? ???? ? ? ???? ? ? ???? ???? ???? ? ? ???? ???? ???? ???? ???? ???? ???? Enabled ? ? ?MM? ?MM? ?MM? ?OO? ?OO? ? ? ???? ???? ???? ???? ???? ? ? 83 0<>0 83<>83 82<>82 50<>50 ? ? Master Headphon Speaker < PCM >Mic Boos S/PDIF S/PDIF D Auto-Mut ? ??????????????????????????????????????????????????????????????????????????????? Current sound modules ~ ? lsmod|grep snd snd_usb_audio 184320 1 snd_usbmidi_lib 28672 1 snd_usb_audio snd_rawmidi 32768 1 snd_usbmidi_lib snd_seq_device 16384 1 snd_rawmidi snd_hda_codec_hdmi 49152 1 snd_hda_codec_cirrus 20480 1 snd_hda_codec_generic 73728 1 snd_hda_codec_cirrus snd_hda_intel 36864 6 snd_hda_codec 131072 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_cirrus snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_cirrus snd_hwdep 16384 2 snd_hda_codec,snd_usb_audio snd_pcm 114688 5 snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core,snd_hda_codec_hdmi snd_timer 32768 1 snd_pcm snd 86016 26 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec_cirrus,snd_seq_device,snd_pcm soundcore 16384 1 snd usbcore 249856 15 uvcvideo,usbhid,sl811_hcd,snd_usb_audio,usb_storage,ehci_hcd,ohci_pci,uhci_hcd,xhci_pci,snd_usbmidi_lib,btusb,ohci_hcd,appledisplay,xhci_hcd,ehci_pci And hadware information: ~ ? lspci|grep -i audio 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05) 01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1) ~ ? lsusb|grep -i audio Bus 003 Device 003: ID 05ac:1107 Apple, Inc. Thunderbolt Display Audio Stop and start pulseaudio mannually do not help. Content of /etc/conf.d/modules: modules="thunderbolt appledisplay facetimehd binfmt_misc" content of /etc/modprobe.d/alsa.conf (only the last line got modified manually) ~ ? cat /etc/modprobe.d/alsa.conf # Alsa kernel modules' configuration file. # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion ## alias snd-card-0 snd-interwave ## alias snd-card-1 snd-ens1371 ## OSS/Free portion ## alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. options snd cards_limit=3
  14. Getting Rid of Forums and Moving to Reddit?

    This seems to be settled, but I still would like to say something anyway because of my experience with reddit. I find reddit interface visually messy, and I don't know how forums structure would be translated into reddit's one. Therefore I support to keep both the forums and reddit page, even though I don't know what requires from administration point of view.
  15. Cleanly switching stage3 ?

    To find out I may make a virtualbox image and try it myself, but just curious if someone already tried switching. This need may appear if someone wants to switch from the generic to a processor specific subarch. I would like to know if it is possible to do a clean switch, i.e. without leaving remnants and effecting system stability. One way I can think of is: 1. boot with SystemRescueCD 2. get the list of files contains in the original stage3 file and use that to delete files on the system. One question here: how can I find out the correct stage3 file's subarch and version if I don't have the original tar.xz file? 3. unpack the new stage3 file 3. something else? Update1: Reading this gave me an idea that I will have to recompile all the installed package over again.
×