Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

stamasd

Members
  • Posts

    41
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by stamasd

  1. I'm testing the new 1.4. My test system is an older laptop, MSI GX720, core2duo P8400 with a nvidia GT9600M video card. I started with a blank disk, installed the minimal 1.3 system from the latest stage3 (core2 subarch) and from there proceeded to upgrade to 1.4 as per instructions.

    I tried the nvidia driver first (gfxcard_nvidia) but it seems that there's no driver compatible with my video card. So then I switched to gfxcard_nouveau and I get an error emerging mesa-19.1.3. Everything else emerges fine but the last step, mesa, fails.

    I'm attaching an archive of logs.

     

    I think the issue is related to the following in build.log:

    	.
    	>>> Configuring source in /var/tmp/portage/media-libs/mesa-19.1.3-r1/work/mesa-19.1.3 ...
    meson /var/tmp/portage/media-libs/mesa-19.1.3-r1/work/mesa-19.1.3 /var/tmp/portage/media-libs/mesa-19.1.3-r1/work/mesa-19.1.3-build --buildtype release -Db_ndebug=if-release --libdir lib64 --localstatedir /var/lib --sharedstatedir /usr/share/mesa-19.1.3 --prefix /usr --wrap-mode nodownload --prefix=/usr --libdir=lib64 -Dplatforms=x11,drm,surfaceless -Ddri3=false -Ddri-drivers=swrast,nouveau -Dgallium-drivers=gallium-nouveau -Dgallium-extra-hud=false -Dgallium-vdpau=auto -Dgallium-xvmc=auto -Dgallium-omx=disabled -Dgallium-va=auto -Dgallium-xa=auto -Dgallium-nine=false -Dgallium-opencl=disabled -Dvulkan-drivers= -Dshader-cache=auto -Dshared-glapi=true -Dgles1=auto -Dgles2=auto -Dopengl=true -Dgbm=auto -Dglx=auto -Degl=auto -Dglvnd=true -Dasm=true -Dglx-read-only-text=false -Dllvm=true -Dvalgrind=false -Dlibunwind=false -Dlmsensors=false -Dbuild-tests=false -Dselinux=false -Dosmesa=classic -Dosmesa-bits=8 -Dswr-arches= -Dtools=glsl,nir,nouveau -Dxlib-lease=auto
    	.
    	.
    	
    meson.build:21:0: [1;31mERROR:[0m Options "gallium-nouveau" are not in allowed choices: ", auto, kmsro, radeonsi, r300, r600, nouveau, freedreno, swrast, v3d, vc4, etnaviv, tegra, i915, svga, virgl, swr, panfrost, iris, lima"

     

    mesaerror.tar.bz2

  2. The linked article "why hard drives fail" from the above fails to mention one of the most frequent failure modes that I have observed with my usage: the SATA connectors breaking after only 2-3 uses due to poor plastics used. Sometimes they can be repaired (on one drive I cut the end of a SATA cable and soldered the wires directly to the drive's PCB) but sometimes they're not.

  3. Now with 1.4 up, how long will 1.3 be supported?

    Here is the reason for my question. Yesterday I started experimenting with upgrading from 1.3 to 1.4. On a test machine (Core2Duo, 2 cores at 2.53GHz, -j2) I first installed a minimal 1.3 system, basically just the stage3 and a couple extra packages (firmware for wifi card etc). Then I started upgrading it to 1.4 as per instructions. The first part of the process, up to and including gcc, took over 9h. I stopped there for now as the day was running out, I'll continue later to get a total time for this minimal system.

    Now, my main system that I'm looking at upgrading isn't that much more powerful; it's a laptop with dual-core Ivy Bridge CPU at 2.6GHz. Yes it is hyperthreaded so I can expect 1.5 to 2x the performance maybe. But it's not a minimal system so I'll have to budget a couple of days at least to upgrade it to 1.4, and I'd like to plan that in advance a few months. I'm hoping thus that 1.3 will continue to be supported at least through the end of the year.

     

  4. Thanks for your answer. I'm not familiar with using custom patches with portage. Which part of the message you linked to is the actual patch? I see the output of 2 diff commands, neither of which is an actual patch. I don't know what format portage expects the patch to be in.

  5. I need to install the allegro library to work with an older piece of code. However allegro fails to emerge. I'm attaching the output of "emerge media-libs/allegro" as allegro.log, the output of "emerge --info '=media-libs/allegro-5.2.4.0::media-kit'" as info.log and the output of "emerge -pqv '=media-libs/allegro-5.2.4.0::media-kit'" as pqv.log

    allegro.log info.log pqv.log

  6. 15 hours ago, cardinal said:

    Default setting is disabled:

    
    # cat /proc/sys/kernel/unprivileged_userns_clone 
    0

    Enable on reboot:

    
    # echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/unprivileged_userns_clone.conf

    Verify enabled:

    
    # cat  /proc/sys/kernel/unprivileged_userns_clone 
    1

    Thank you, that worked. Steam started after reboot, updating now.

    (edit) Yes it works fine.

  7. Current up-to-date installation of Funtoo (1.3), trying to have Steam installed via flatpak.

    The installation of flatpak was successful, then I added the Steam flatpak repo. Now trying to run Steam with flatpak.

    As regular user, the output of "flatpak run com.valvesoftware.Steam" is

    	bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
    error: ldconfig failed, exit status 256

    I looked around and the only mention of a similar problem was

     

    The solution there was to run as root. However trying to run the above as root fails because Steam cannot run as root.

     

    All help appreciated.

  8. Background info: new install of Win7 and Funtoo on a laptop (HP Elitebook 8470p, core i7-3720, 16GB RAM, 500GB SSD).

    Partitioned as follows. The partition scheme is classic BIOS/MBR, not UEFI.

    /dev/sda1  *         2048     206847    204800   100M  7 HPFS/NTFS/exFAT
    /dev/sda2          206848  747522047 747315200 356.4G  7 HPFS/NTFS/exFAT
    /dev/sda3       747522048  957237247 209715200   100G 83 Linux
    /dev/sda4       957237248 1000215215  42977968  20.5G 82 Linux swap / Solaris

    Win7 installed first, Funtoo second in the unpartitioned space that was divided into sda3 and sda4. No separate boot and home partitions. Used sysrescd 4.9.0 for the install. No problems until setting grub for dual boot.

    I do have os-prober installed.

     

    The same issue occurs with both grub-legacy and grub2. Installed grub on /dev/sda. I want to dual boot Funtoo and Win7 with Funtoo being the default, and a timeout of 10s.

    1. Using either 'ego boot update' or just boot-update, a /boot/grub/grub.cfg is installed that allows me to boot Funtoo only, no entry for Windows. os-prober when run separately does find the Windows installation but apparently that doesn't get funneled into boot-update. Adding an entry for Windows in /etc/grub.d/40_custom with chainloading also gets ignored.

    With that I can boot Funtoo, but not WIndows

     

    2. Using grub or grub2's 'grub-mkconfig -o /boot/grub/grub.cfg' results in a config that has entries for Funtoo and Win7 but only Windows can be booted from it. Attempting to boot Funtoo results in a kernel panic because sda3 cannot be mounted as root partition.

     

    I'm pasting below the two grub.cfg files; notice that the root partitions are defined differently in the files. I don't want to edit grub.cfg manually if I can help it.

    Any ideas appreciated.

     

    1. grub.cfg generated by boot-update (boots Funtoo correctly but no entry for Windows)

    	set timeout=10
    	if [ -s $prefix/grubenv ]; then
        load_env
    fi
    	function savedefault {
        if [ -z "{boot_once}" ]; then
            saved_entry="${chosen}"
            save_env saved_entry
        fi
    }
    	  insmod part_msdos
      insmod ext2
      set root=(hostdisk//dev/sda,msdos3)
      search --no-floppy --fs-uuid --set 38c0a8f9-0e12-462c-92f6-650e5748eba3
    if loadfont /boot/grub/fonts/unicode.pf2; then
       set gfxmode=text
       insmod all_video
       terminal_output gfxterm
    fi
    	set menu_color_normal=cyan/blue
    set menu_color_highlight=blue/cyan
    	menuentry "Funtoo Linux genkernel - kernel-debian-sources-lts-x86_64-4.9.161_p1" {
      insmod part_msdos
      insmod ext2
      set root=(hostdisk//dev/sda,msdos3)
      search --no-floppy --fs-uuid --set 38c0a8f9-0e12-462c-92f6-650e5748eba3
      linux /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 real_root=/dev/sda3 rootfstype=ext4 rand_id=L0AGZ8KL
      initrd /boot/early_ucode.cpio /boot/initramfs-debian-sources-lts-x86_64-4.9.161_p1
      set gfxpayload=keep
    }
    	menuentry "Funtoo Linux genkernel - kernel-debian-sources-lts-x86_64-4.9.130-2" {
      insmod part_msdos
      insmod ext2
      set root=(hostdisk//dev/sda,msdos3)
      search --no-floppy --fs-uuid --set 38c0a8f9-0e12-462c-92f6-650e5748eba3
      linux /boot/kernel-debian-sources-lts-x86_64-4.9.130-2 real_root=/dev/sda3 rootfstype=ext4 rand_id=AFRCNQ3V
      initrd /boot/early_ucode.cpio /boot/initramfs-debian-sources-lts-x86_64-4.9.130-2
      set gfxpayload=keep
    }
    	if [ ! "${next_entry}" = "" ] ; then
        set default="${next_entry}"
        set next_entry=
        save_env next_entry
        set boot_once=true
    elif [ ! "${saved_entry}" = "" ]; then
        set default="${saved_entry}"
    else
        set default=0
    fi

     

    2. grub.cfg generated by grub-mkconfig (boots windows but kernel panic on booting Funtoo because it can't mount /dev/sda3)

    	#
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    	### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    if [ "${next_entry}" ] ; then
       set default="${next_entry}"
       set next_entry=
       save_env next_entry
       set boot_once=true
    else
       set default="0"
    fi
    	if [ x"${feature_menuentry_id}" = xy ]; then
      menuentry_id_option="--id"
    else
      menuentry_id_option=""
    fi
    	export menuentry_id_option
    	if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    	function savedefault {
      if [ -z "${boot_once}" ]; then
        saved_entry="${chosen}"
        save_env saved_entry
      fi
    }
    	function load_video {
      if [ x$feature_all_video_module = xy ]; then
        insmod all_video
      else
        insmod efi_gop
        insmod efi_uga
        insmod ieee1275_fb
        insmod vbe
        insmod vga
        insmod video_bochs
        insmod video_cirrus
      fi
    }
    	if [ x$feature_default_font_path = xy ] ; then
       font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos3'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  38c0a8f9-0e12-462c-92f6-650e5748eba3
    else
      search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3
    fi
        font="/usr/share/grub/unicode.pf2"
    fi
    	if loadfont $font ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      set locale_dir=$prefix/locale
      set lang=en_US
      insmod gettext
    fi
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
      set timeout_style=menu
      set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
      set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    	### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-38c0a8f9-0e12-462c-92f6-650e5748eba3' {
        load_video
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  38c0a8f9-0e12-462c-92f6-650e5748eba3
        else
          search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3
        fi
        echo    'Loading Linux x86_64-4.9.161_p1 ...'
        linux    /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 root=/dev/sda3 ro  
        echo    'Loading initial ramdisk ...'
        initrd    /boot/early_ucode.cpio
    }
    submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-38c0a8f9-0e12-462c-92f6-650e5748eba3' {
        menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.161_p1' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.161_p1-advanced-38c0a8f9-0e12-462c-92f6-650e5748eba3' {
            load_video
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos3'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  38c0a8f9-0e12-462c-92f6-650e5748eba3
            else
              search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3
            fi
            echo    'Loading Linux x86_64-4.9.161_p1 ...'
            linux    /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 root=/dev/sda3 ro  
            echo    'Loading initial ramdisk ...'
            initrd    /boot/early_ucode.cpio
        }
        menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.161_p1 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.161_p1-recovery-38c0a8f9-0e12-462c-92f6-650e5748eba3' {
            load_video
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos3'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  38c0a8f9-0e12-462c-92f6-650e5748eba3
            else
              search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3
            fi
            echo    'Loading Linux x86_64-4.9.161_p1 ...'
            linux    /boot/kernel-debian-sources-lts-x86_64-4.9.161_p1 root=/dev/sda3 ro single
            echo    'Loading initial ramdisk ...'
            initrd    /boot/early_ucode.cpio
        }
        menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.130-2' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.130-2-advanced-38c0a8f9-0e12-462c-92f6-650e5748eba3' {
            load_video
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos3'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  38c0a8f9-0e12-462c-92f6-650e5748eba3
            else
              search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3
            fi
            echo    'Loading Linux x86_64-4.9.130-2 ...'
            linux    /boot/kernel-debian-sources-lts-x86_64-4.9.130-2 root=/dev/sda3 ro  
            echo    'Loading initial ramdisk ...'
            initrd    /boot/early_ucode.cpio
        }
        menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.130-2 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.130-2-recovery-38c0a8f9-0e12-462c-92f6-650e5748eba3' {
            load_video
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos3'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  38c0a8f9-0e12-462c-92f6-650e5748eba3
            else
              search --no-floppy --fs-uuid --set=root 38c0a8f9-0e12-462c-92f6-650e5748eba3
            fi
            echo    'Loading Linux x86_64-4.9.130-2 ...'
            linux    /boot/kernel-debian-sources-lts-x86_64-4.9.130-2 root=/dev/sda3 ro single
            echo    'Loading initial ramdisk ...'
            initrd    /boot/early_ucode.cpio
        }
    }
    	### END /etc/grub.d/10_linux ###
    	### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    	### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-704278994278662E' {
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  704278994278662E
        else
          search --no-floppy --fs-uuid --set=root 704278994278662E
        fi
        parttool ${root} hidden-
        chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    	### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    #menuentry "Win7" {
    #    root (hd0,msdos1)
    #    chainloader +1
    #    boot
    #    }
    	### END /etc/grub.d/40_custom ###
    	### BEGIN /etc/grub.d/41_custom ###
    if [ -f  ${config_directory}/custom.cfg ]; then
      source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    	
    

     

  9. 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.

  10. 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.

  11. 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. :(

  12. 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.

  13. 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". :)

  14. 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.

  15. 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.

  16. I looked and looked, but I can't find documentation on the group 'video' or any documentation on a list of groups with descriptions. Rather maddening. This possible solution will at least be easy to try.

     

    List your groups with the command: groups

     

    Maybe one of them is 'video'. If not, maybe you need to make that group, but I am not sure.

     

    List the members of the video group: groupmems -lg video

     

    If the username w/o root privileges is not there, maybe it needs to be there?

     

    To add to test  it out: groupmems -g video -a <username>

     

    For further info, if you did not know, try running 'dmesg' and also 'less /var/log/Xorg.0.log'.

    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)
  17. If you're trying to stat plain X, you must install twm, xterm, and xclock. If you're not trying to start plain X, edit /etc/init.d/xdm and put your preferred display mananger in there.

     

    The error about radeonsi_dri.so could be that you don't have that file. Did you enable the radeon use flag when compiling Mesa? Do you have VIDEO_CARDS="radeon" in /etc/portage/make.conf ?

     

    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.

  18. 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?

     

     

  19. 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

  20. 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.

  21. 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

×
×
  • Create New...