Jump to content
funtoo forums

stamasd

Members
  • Content Count

    22
  • Joined

  • Last visited

  • Days Won

    1

stamasd last won the day on December 21 2015

stamasd had the most liked content!

About stamasd

  • Rank
    Member

Personal

  • Location
    US East coast

Recent Profile Visitors

217 profile views
  1. stamasd

    Mouse problem in X

    Okay, I've hit a bit of a snag. I've last installed a custom kernel when 2.6 was around as a new thing, and there have been many changes in between. I've tried several times, both with the vanilla 4.10.12 as well as with the 4.10.12 from sys-kernel/gentoo-sources using this as a guide: http://www.funtoo.org/Installing_Gentoo_Sources It compiles and installs, but on reboot the kernel can't find the root partition. I have compiled support for ext2 and ext4 into the kernel, made sure the boot.conf has the right parameters (/boot is /dev/sda1 which is ext2, / is /dev/sda3 and it's ext4) but it still doesn't work. The default kernel 4.8.15-1 finds the root with the same parameters without any problem. I think there may be something wrong with the initrd, but it's automatically generated by genkernel so I'm not sure why it doesn't work. FWIW I use MBR.
  2. stamasd

    Mouse problem in X

    FWIW 3 months later this problem is not resolved yet. Neither the nvidia nor the nouveau driver allow me to use the mouse in X on this machine. From posts that I've seen on other forums (mostly Ubuntu, but other distros also) the nouveau driver at least is broken in this way in kernels 4.8 and 4.9 - and affecting primarily the mobile versions of GTX1070 and 1080. Supposedly it was fixed in kernel 4.10. But of course, our kernel from debian-sources is 4.8.15-1, so no joy using that. I may end up compiling a custom kernel, since there's no sign of a fix from official sources.
  3. stamasd

    Mouse problem in X

    Suspect a video driver problem after seeing people with other distributions (Ubuntu etc) reporting the same issue with the latest nvidia driver on GTX10xx cards (this laptop has a GTX1070 video card). At a test I switched to using the nouveau driver, but the problem persists. I see other people reporting that the only way to get rid of the problem was to switch to the Intel driver and use the built-in Intel GPU. This laptop however does not use the Intel GPU or Optimus/Bumblebee (it's an Eurocom Tornado F5, http://www.eurocom.com/ec/configure(2,384,0)TornadoF5). The only video output is from the GTX1070 card. Looks like until the driver is fixed I'm SOL. :(
  4. stamasd

    Mouse problem in X

    I just installed Funtoo on my new laptop. I have installed Funtoo in the past, but never on a laptop with only USB3 ports - and I think this may be related to the problem I'm having. Installing the base system was a breeze, then I installed X. I tested it as per http://www.funtoo.org/X_Window_System; in twm the keyboard was working but the mouse pointer wouldn't move (I use a Logitech M325 mouse with USB dongle). In fact it only *apparently* wouldn't move; the pointer on the screen remained in a fixed position, but by moving the mouse I could in fact shift focus to one or the other of the xterms on the screen (even though the visible pointer wasn't over them). I then installed xfce4, and again the mouse pointer won't move even though I can select things on screen by blindly moving the mouse. The output of 'zcat /proc/config.gz | grep EVDEV' shows: CONFIG_INPUT_EVDEV=m I did emerge xf86-input-evdev, but it didn't change the mouse behavior at all.
  5. stamasd

    Can't start X as a regular user

    Oh my. I am so embarrassed. I have found the error - it was a typo. My clue was what I said above ".xinitrc set to start xfce, but it doesn't seem that it tries to do that for some reason" So, I checked and... there it was. Instead of .xinitrc, I had named the file .xinit (for thr regular user only, root had .xinitrc named properly) I fixed that, and now it works. The radeonsi driver was just a red herring. Sorry for wasting everyone's time, mark this as "solved". :)
  6. stamasd

    Can't start X as a regular user

    Well, it still doesn't work. The line about not finding the radeonsi driver is gone, but X still doesn't start. xauth: file /home/silviu/.serverauth.3699 does not exist X.Org X Server 1.16.4 Release Date: 2014-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.19.3-1~exp1 x86_64 Gentoo Current Operating System: Linux dfun 3.19.3-1~exp1 #1 SMP Mon Oct 19 12:04:59 2015 x86_64 Kernel command line: BOOT_IMAGE=/kernel-debian-sources-x86_64-3.19.3-1~exp1 rootfstype=auto real_root=/dev/sda6 rootfstype=ext4 Build Date: 19 December 2015 05:09:20PM Current version of pixman: 0.33.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 21 08:18:10 2015 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) [KMS] Kernel modesetting enabled. /etc/X11/xinit/xinitrc: line 58: twm: command not found /etc/X11/xinit/xinitrc: line 59: xclock: command not found /etc/X11/xinit/xinitrc: line 60: xterm: command not found /etc/X11/xinit/xinitrc: line 62: exec: xterm: not found /etc/X11/xinit/xinitrc: line 61: xterm: command not found xinit: connection to X server lost waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file. Again, I have .xinitrc set to start xfce, but it doesn't seem that it tries to do that for some reason. I'm out of ideas, and appeal to the collective knowledge of this forum.
  7. stamasd

    Can't start X as a regular user

    So I'm still testing. I have added "radeonsi" to make.conf VIDEO_CARDS, and tried a emerge; it now wants some USE changes as such: The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by media-libs/mesa-11.0.7::gentoo[video_cards_radeonsi] # required by x11-base/xorg-server-1.16.4-r5::gentoo[glamor] # required by @selected # required by @world (argument) >=x11-libs/libdrm-2.4.65 video_cards_amdgpu # required by net-misc/modemmanager-1.4.8::gentoo[policykit] # required by net-misc/networkmanager-1.0.8::gentoo[modemmanager] # required by @selected # required by @world (argument) >=sys-auth/polkit-0.113 introspection # required by media-libs/mesa-11.0.7::gentoo[llvm,-opencl,-video_cards_r600,video_cards_radeon,video_cards_radeonsi] # required by x11-base/xorg-server-1.16.4-r5::gentoo[glamor] # required by @selected # required by @world (argument) >=dev-libs/elfutils-0.164 abi_x86_32 I'm adding those and retry, maybe that will do it. Now waiting to emerge 42 packages. (I found some post on a Gentoo forum about cards >radeon HD7900 wanting the "radeonsi" driver in addition to "radeon") I still don't get it why X+xfce works as root though.
  8. stamasd

    Can't start X as a regular user

    dfun ~ # groups root bin daemon sys adm disk wheel floppy tape video dfun ~ # groupmems -lg video root dfun ~ # groupmems -g video -a silviu dfun ~ # groupmems -lg video root silviu Let me test and see if that helped. (edit) no, it still gives me the same error. IIRC the "video" group is for encoding and capturing video, not for X. FWIW here's my list of profiles: dfun ~ # epro === Enabled Profiles: === arch: x86-64bit build: current subarch: generic_64 flavor: desktop mix-ins: X mix-ins: xfce mix-ins: no-systemd mix-ins: print mix-ins: audio mix-ins: dvd mix-ins: media === All inherited flavors from desktop flavor: === workstation (from desktop flavor) core (from workstation flavor) minimal (from core flavor) === All inherited mix-ins from desktop flavor: === X (from workstation flavor) audio (from workstation flavor) dvd (from workstation flavor) media (from workstation flavor) mediadevice-audio-consumer (from media mix-in) mediadevice-base (from mediadevice-audio-consumer mix-in) mediadevice-video-consumer (from media mix-in) mediadevice-base (from mediadevice-video-consumer mix-in) mediaformat-audio-common (from media mix-in) mediaformat-gfx-common (from media mix-in) mediaformat-video-common (from media mix-in) console-extras (from workstation flavor) print (from desktop flavor) === All inherited mix-ins from media mix-in: === mediadevice-audio-consumer (from media mix-in) mediadevice-base (from mediadevice-audio-consumer mix-in) mediadevice-video-consumer (from media mix-in) mediadevice-base (from mediadevice-video-consumer mix-in) mediaformat-audio-common (from media mix-in) mediaformat-gfx-common (from media mix-in) mediaformat-video-common (from media mix-in)
  9. stamasd

    Can't start X as a regular user

    I am not trying to start plain X. I have installed xfce4-meta, and my .xinitrc is (for both root and regular user) exec startxfce4 --with-ck-launch I also do have in /etc/portage/make.conf: VIDEO_CARDS="radeon" INPUT_DEVICES="evdev" I don't use a display manager, just plain xfce. I think if it were a mesa issue it wouldn't work as root either. Like I said it works as root (xfce starts and runs as it should), but it crashes as regular user.
  10. Continuing the install from my other thread; I managed to get the base system installed, followed by Xorg, the radeon driver (I have a Radeon HD7970 in this desktop) and xfce. Everything works well as root, but well I'm not going to use it as root. Trying to start X as a regular user gives me this: xauth: file /home/silviu/.serverauth.15013 does not exist X.Org X Server 1.16.4 Release Date: 2014-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.19.3-1~exp1 x86_64 Gentoo Current Operating System: Linux dfun 3.19.3-1~exp1 #1 SMP Mon Oct 19 12:04:59 2015 x86_64 Kernel command line: BOOT_IMAGE=/kernel-debian-sources-x86_64-3.19.3-1~exp1 rootfstype=auto real_root=/dev/sda6 rootfstype=ext4 Build Date: 19 December 2015 05:09:20PM Current version of pixman: 0.33.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 20 16:41:51 2015 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) [KMS] Kernel modesetting enabled. gbm: failed to open any driver (search paths /usr/lib64/dri) gbm: Last dlopen error: /usr/lib64/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory failed to load driver: radeonsi EGL_MESA_drm_image required. /etc/X11/xinit/xinitrc: line 58: twm: command not found /etc/X11/xinit/xinitrc: line 62: exec: xterm: not found /etc/X11/xinit/xinitrc: line 60: xterm: command not found /etc/X11/xinit/xinitrc: line 61: xterm: command not found /etc/X11/xinit/xinitrc: line 59: xclock: command not found xinit: connection to X server lost waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file. It looks for some reason for /usr/lib64/dri/radeonsi_dri.so which indeed does not exist. Why does it work as root but not as regular user?
  11. Yes, I was chrooted. I'm following the directions on the install page exactly. For more certainty, I copy and paste the commands in the terminal. :) I think it was a problem with the downloaded stage3 tarball. I re-downloaded it, and now I got past this step. Emerge --sync is running now. Thanks for the help!
  12. Using sysrescuecd 4.5.0 to install funtoo on a desktop. All steps followed (http://www.funtoo.org/Install) until the first emerge --sync. That fails with "command not found: git" And a bit later also complains about not finding bzip2, and "invalid profile" (doesn't say which profile is invalid). I'm actually posting this while logged into the sysrescd-booted system, with installation halted by the above. Any help appreciated. (edit) forgot to mention, there actually is no git on the sysrescd; bzip2 is present however. (edit2) I'm trying to emerge t from the live CD, non-chrooted; see if that helps. It's funny that a live CD recommended and linked to on the installation page doesn't actually have all the tools needed. (edit3) I'm using http://build.funtoo.org/funtoo-current/x86-64bit/generic_64/stage3-latest.tar.xz
  13. stamasd

    Failed to emerge net-libs/gnutls-3.3.16

    Okay, it looks like the problem is missing perl modules, which for some reason are not installed even though the build depends on them. I've fixed one but now it seems that more are missing. I'll list them here as I go along: Unicode::EastAsianWidth Text::Unidecode (edit) That solved the gnutls installation issue.
  14. This is a new installation of Funtoo. I'm running into a problem where I can't update a number of packages because the first one on the list fails. Here's more info: Output of emerge --info '=net-libs/gnutls-3.3.16' emerge --info '=net-libs/gnutls-3.3.16' Portage 2.3.6-r9 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.9.2, glibc-2.20-r1, 3.19.3-1~exp1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.19.3-1~exp1-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2.0 KiB Mem: 8073124 total, 5939376 free KiB Swap: 16777212 total, 16777004 free Timestamp of tree: Unknown ld GNU ld (Funtoo 2.25) 2.25.0 app-shells/bash: 4.3_p39 dev-lang/perl: 5.22.0 dev-lang/python: 2.7.10-r1000, 3.3.6-r1000 dev-util/cmake: 3.2.3 sys-apps/baselayout: 2.2.0-r6 sys-apps/openrc: 0.12.4-r4 sys-apps/sandbox: 2.6-r2 sys-devel/autoconf: 2.13, 2.69-r1 sys-devel/automake: 1.11.6-r1, 1.14.1, 1.15 sys-devel/binutils: 2.25-r1 sys-devel/gcc: 4.9.2-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.3-r2 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 4.0 (virtual/os-headers) sys-libs/glibc: 2.20-r1 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-mtune=generic -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm gtk ico iconv icu ieee1394 ios ipod ipv6 jpeg jpeg2k lame libass libguess libmpeg2 libnotify lock mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png policykit postproc pppd python quicktime readline resolvconf session sndfile sse sse2 ssl startup-notification svg taglib tcpd theora thunar tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics 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-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK Output of emerge -pqv '=net-libs/gnutls-3.3.16': [ebuild U ] net-libs/gnutls-3.3.16 [3.3.15-r1] USE="crywrap cxx nls openssl zlib -dane -doc -examples -guile -pkcs11 -static-libs {-test}" ABI_X86="(64) -32 (-x32)" LINGUAS="-cs -de -en -fi -fr -it -ms -nl -pl -sv -uk -vi -zh_CN" I would attach the complete build log but the forum software won't allow me. (edit) I gzipped it and now I can attach it, see below. gnutls-buildlog.txt.gz
  15. stamasd

    Why does emerge want to downgrade my glibc?

    Okay I tried to update again today and it seems to be resolved, the new glibc being merged is an upgrade not a downgrade.
×