Re: [gentoo-user] Gentoo on an odroidH2 using eMMC
On 17/12/19 6:31 am, Bill Kenworthy wrote: Hi, has anyone successfully set up Gentoo on an odroidH2 using an eMMC? I have got as far as the pivot-root (so it loads and executes the intramfs) but fails to find the /dev/mmcblk0p[01] devices. The sting is I copied the files it to a USB key and that boots fine! It appears that the eMMC initramfs is not loading the modules for the eMMC where as the USB version is (and they are using the same file!). I have tried manually loading the modules from the efi shell I think are involved but no mmc devices appear. The eMMC runs uefi from GPT partitions using refind but as the bios finds and loads the ramdisk I think thats working ok (I did a working ubuntu install first, then reused those partitions.) I can use usb early boot to pivot to the root on the USB key but so far cant pivot from the eMMC initramfs to real_root. Ubuntu uses grub, which I tried first but had even less success with that. Hints anyone? BillK One further point, I cant boot off the usb and pivotroot to the eMMC root - again no eMMC modules loaded. But once the usb root is running, the eMMC modules are loaded. Its looking like the kernel device detection needs real root which is ... odd! BillK
[gentoo-user] Gentoo on an odroidH2 using eMMC
Hi, has anyone successfully set up Gentoo on an odroidH2 using an eMMC? I have got as far as the pivot-root (so it loads and executes the intramfs) but fails to find the /dev/mmcblk0p[01] devices. The sting is I copied the files it to a USB key and that boots fine! It appears that the eMMC initramfs is not loading the modules for the eMMC where as the USB version is (and they are using the same file!). I have tried manually loading the modules from the efi shell I think are involved but no mmc devices appear. The eMMC runs uefi from GPT partitions using refind but as the bios finds and loads the ramdisk I think thats working ok (I did a working ubuntu install first, then reused those partitions.) I can use usb early boot to pivot to the root on the USB key but so far cant pivot from the eMMC initramfs to real_root. Ubuntu uses grub, which I tried first but had even less success with that. Hints anyone? BillK
Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
On 12/16/19 20:52, Rich Freeman wrote: On Mon, Dec 16, 2019 at 2:25 PM n952162 wrote: It's strange ... on coming home, I see that my machine here can display all the usual filetypes and has *no* use flags: media-gfx/imagemagick-7.0.8.11 I'm still curious what that "USE flags" section in the package document represents. Without fetching an out-of-date repo I have no idea what 7.0.8.11 supported as it is no longer in the repo. However, 7.0.9.8 supports: equery uses '=media-gfx/imagemagick-7.0.9.8' [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for media-gfx/imagemagick-7.0.9.8: U I + + X : Add support for X11 + + bzip2 : Use the bzlib compression library + + corefonts : Use media-fonts/corefonts which is required by some commands + + cxx : Build support for C++ (bindings, extra libraries, code generation, ...) - - djvu: Support DjVu, a PDF-like document format esp. suited for scanned documents - - fftw: Use FFTW library for computing Fourier transforms - - fontconfig : Support for configuring and customizing font access via media-libs/fontconfig - - fpx : Enable media-libs/libfpx support - - graphviz: Add support for the Graphviz library - - hdri: Enable High Dynamic Range Images formats - - heif: Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format using media-libs/libheif - - jbig: Enable jbig-kit support for tiff, Hylafax, ImageMagick, etc + + jpeg: Add JPEG image support + + jpeg2k : Support for JPEG 2000, a wavelet-based image compression format + + lcms: Add lcms support (color management engine) - - lqr : Enable experimental liquid rescale support using media-libs/liblqr + + lzma: Support for LZMA (de)compression algorithm - - openexr : Support for the OpenEXR graphics file format + + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp" + + pango : Enable Pango support using x11-libs/pango - - perl: Add optional support/bindings for the Perl language + + png : Add support for libpng (PNG images) - - postscript : Enable support for the PostScript language (often with ghostscript-gpl or libspectre) - - q32 : Set quantum depth value to 32 - - q8 : Set quantum depth value to 8 - - raw : Add support for raw image formats - - static-libs : Build static versions of dynamic libraries as well + + svg : Add support for SVG (Scalable Vector Graphics) - - test: Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) + + tiff: Add support for the TIFF image format + + truetype: Add support for FreeType and/or FreeType2 fonts - - webp: Add support for the WebP image format - - wmf : Add support for the Windows Metafile vector image format + + xml : Add support for XML files + + zlib: Add support for zlib (de)compression I'm pretty skeptical that the older version supported no USE flags. How are you coming to this conclusion? $ cat /etc/portage/package.use/* >=dev-lang/python-3.6.5 sqlite >=sys-apps/util-linux-2.32-r4 static-libs app-misc/jq oniguruma >=net-analyzer/rrdtool-1.6.0-r1 graph perl mail-client/mutt imap =dev-libs/openssl-1.1.1 ~x86 >=dev-lang/python-2.7.15:2.7 sqlite >=sys-libs/zlib-1.2.11-r2 minizip $ ls /etc/portage/package.use/* /etc/portage/package.use/firefox /etc/portage/package.use/mutt /etc/portage/package.use/genkernel /etc/portage/package.use/nfs /etc/portage/package.use/hwinfo /etc/portage/package.use/thunderbird /etc/portage/package.use/jq /etc/portage/package.use/vlc /etc/portage/package.use/munin That's good, the equery example.
Re: [gentoo-user] Re: what does the "USE flags" section of the packages.gentoo.org/package page mean?
On Mon, 16 Dec 2019 21:09:27 - (UTC), Martin Vaeth wrote: > > eix reports USE flags for all versions in the tree > > Try eix -l Nice one! -- Neil Bothwick Everything should be made as simple as possible, but no simpler. pgp4BKMqb3_Ei.pgp Description: OpenPGP digital signature
[gentoo-user] Re: what does the "USE flags" section of the packages.gentoo.org/package page mean?
Neil Bothwick wrote: > > eix reports USE flags for all versions in the tree Try eix -l
Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
On Mon, 16 Dec 2019 12:33:21 -0500, Jack wrote: > > Am I going to have to rebuild imagemagick for every file type I > > encounter? > Probably yes. As far as I can tell, the only safe way to see what USE > flags apply to a package is to either look in the ebuild, or do "eix > package." (Mick beat me to it on finding that.) eix reports USE flags for all versions in the tree, so this is only useful for a specific version if that version is already installed. Looking at IUSE in the ebuild does work, as does "emerge -pv package". -- Neil Bothwick Genius is 99% inspiration and 2% arithmetic pgpUq6TwXB2pD.pgp Description: OpenPGP digital signature
Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
On Mon, Dec 16, 2019 at 2:25 PM n952162 wrote: > > It's strange ... on coming home, I see that my machine here can display > all the usual filetypes and has *no* use flags: > > media-gfx/imagemagick-7.0.8.11 > > I'm still curious what that "USE flags" section in the package document > represents. > Without fetching an out-of-date repo I have no idea what 7.0.8.11 supported as it is no longer in the repo. However, 7.0.9.8 supports: equery uses '=media-gfx/imagemagick-7.0.9.8' [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for media-gfx/imagemagick-7.0.9.8: U I + + X : Add support for X11 + + bzip2 : Use the bzlib compression library + + corefonts : Use media-fonts/corefonts which is required by some commands + + cxx : Build support for C++ (bindings, extra libraries, code generation, ...) - - djvu: Support DjVu, a PDF-like document format esp. suited for scanned documents - - fftw: Use FFTW library for computing Fourier transforms - - fontconfig : Support for configuring and customizing font access via media-libs/fontconfig - - fpx : Enable media-libs/libfpx support - - graphviz: Add support for the Graphviz library - - hdri: Enable High Dynamic Range Images formats - - heif: Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format using media-libs/libheif - - jbig: Enable jbig-kit support for tiff, Hylafax, ImageMagick, etc + + jpeg: Add JPEG image support + + jpeg2k : Support for JPEG 2000, a wavelet-based image compression format + + lcms: Add lcms support (color management engine) - - lqr : Enable experimental liquid rescale support using media-libs/liblqr + + lzma: Support for LZMA (de)compression algorithm - - openexr : Support for the OpenEXR graphics file format + + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp" + + pango : Enable Pango support using x11-libs/pango - - perl: Add optional support/bindings for the Perl language + + png : Add support for libpng (PNG images) - - postscript : Enable support for the PostScript language (often with ghostscript-gpl or libspectre) - - q32 : Set quantum depth value to 32 - - q8 : Set quantum depth value to 8 - - raw : Add support for raw image formats - - static-libs : Build static versions of dynamic libraries as well + + svg : Add support for SVG (Scalable Vector Graphics) - - test: Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) + + tiff: Add support for the TIFF image format + + truetype: Add support for FreeType and/or FreeType2 fonts - - webp: Add support for the WebP image format - - wmf : Add support for the Windows Metafile vector image format + + xml : Add support for XML files + + zlib: Add support for zlib (de)compression I'm pretty skeptical that the older version supported no USE flags. How are you coming to this conclusion? -- Rich
Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
It's strange ... on coming home, I see that my machine here can display all the usual filetypes and has *no* use flags: media-gfx/imagemagick-7.0.8.11 I'm still curious what that "USE flags" section in the package document represents. On 12/16/19 18:33, Jack wrote: On 2019.12.16 12:10, n952162 wrote: I tried using imagemagick's display, and it gave me: display: delegate library support not built-in '' (X11) There's no X on the media-gfx/imagemagick web page. On a guess, I created a use file for imagemagick with X and now I get: display: no decode delegate for this image format `JPG' Am I going to have to rebuild imagemagick for every file type I encounter? Probably yes. As far as I can tell, the only safe way to see what USE flags apply to a package is to either look in the ebuild, or do "eix package." (Mick beat me to it on finding that.) It looks like the list of local use flags mentioned on packages.gentoo.org come from the metadata.xml file in the package directory, and at least for this package, that does not actually include all the available flags. (X bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf xml zlib) I haven't figured out where it gets the list of global flags it uses, unless it is somewhere under /usr/portage/metadata. It also looks like euse uses the info in the metadata file, so, for example, "euse -i jpeg" does NOT mention imagemagick. Jack
Re: [gentoo-user] Gentoo's Python policy drives me crazy
On 12/16/19 2:00 PM, Helmut Jarausch wrote: Today's updating involves some package which causes rebuilding a package which needs Python2.7 and another one which needs python_single_target_python3_8 required by that mysterious @__auto_slot_operator_replace_installed__ To emerge the Python2.7 package (Scribus) I do need to set PYTHON_SINGLE_TARGET="python2_7" in /etc/portage/make.conf which makes the whole update fail since the other packages needs PYTHON_SINGLE_TARGET="python3_8" So, what can I brave Gentoo user do? Hopefully something better than trying to find which new package triggers which rebuild. PYTHON_SINGLE_TARGET for most set ups should default to python3_6 and PYTHON_TARGETS should be python2_7 and python3_6. scribus should be fine with the defaults, but if you really wanna deviate from default profiles, you'll probably have to set python_single_target_python2_7 manually for that package until it supports newer pythons. (currently it seems to support up to 3.7, it might support 3.8 as well, just hasn't updated, haven't looked into that detail)
Re: [gentoo-user] Gentoo's Python policy drives me crazy
On Mon, Dec 16, 2019 at 2:00 PM Helmut Jarausch wrote: > > Today's updating involves some package which causes rebuilding > a package which needs Python2.7 and another one which needs > python_single_target_python3_8 > required by that mysterious @__auto_slot_operator_replace_installed__ > > To emerge the Python2.7 package (Scribus) I do need to set > PYTHON_SINGLE_TARGET="python2_7" > in /etc/portage/make.conf > which makes the whole update fail since the other packages needs > PYTHON_SINGLE_TARGET="python3_8" > > So, what can I brave Gentoo user do? > Set PYTHON_SINGLE_TARGET in package.env and not make.conf. That is definitely a setting that can't be set globally. That said, the way python works on Gentoo certainly gets a lot of people confused. Also, just a heads-up that python 2.7 probably will be leaving the main repository in the next few weeks unless somebody steps up to maintain it. -- Rich
Re: [gentoo-user] Gentoo's Python policy drives me crazy
On Mon, Dec 16, 2019 at 08:00:41PM +0100, Helmut Jarausch wrote: > To emerge the Python2.7 package (Scribus) I do need to set > PYTHON_SINGLE_TARGET="python2_7" > in /etc/portage/make.conf > which makes the whole update fail since the other packages needs > PYTHON_SINGLE_TARGET="python3_8" You do not need to set anything in make.conf to build individual packages. For something like app-office/scribus you can put something like this in `/etc/portage/package.use`: app-office/scribus python_targets_python2_7 The issue of conflicting single targets solves itself if you don't set these options globally (in make.conf) and instead set them per-package as needed. signature.asc Description: PGP signature
[gentoo-user] Gentoo's Python policy drives me crazy
Today's updating involves some package which causes rebuilding a package which needs Python2.7 and another one which needs python_single_target_python3_8 required by that mysterious @__auto_slot_operator_replace_installed__ To emerge the Python2.7 package (Scribus) I do need to set PYTHON_SINGLE_TARGET="python2_7" in /etc/portage/make.conf which makes the whole update fail since the other packages needs PYTHON_SINGLE_TARGET="python3_8" So, what can I brave Gentoo user do? Hopefully something better than trying to find which new package triggers which rebuild.
[gentoo-user] Re: CUPS/administration gives a blank window
On 2019-12-16 16:48, n952162 wrote: > After starting apache2 and cups, when I select the add-a-printer > selection item, a blank screen is displayed. Does anybody know why? Do you run apache2 just for the CUPS UI? That should not be necessary, CUPS has its own built in http server. At least that was the case when I last used it (not using it now). -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.
Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
On 2019.12.16 12:10, n952162 wrote: I tried using imagemagick's display, and it gave me: display: delegate library support not built-in '' (X11) There's no X on the media-gfx/imagemagick web page. On a guess, I created a use file for imagemagick with X and now I get: display: no decode delegate for this image format `JPG' Am I going to have to rebuild imagemagick for every file type I encounter? Probably yes. As far as I can tell, the only safe way to see what USE flags apply to a package is to either look in the ebuild, or do "eix package." (Mick beat me to it on finding that.) It looks like the list of local use flags mentioned on packages.gentoo.org come from the metadata.xml file in the package directory, and at least for this package, that does not actually include all the available flags. (X bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf xml zlib) I haven't figured out where it gets the list of global flags it uses, unless it is somewhere under /usr/portage/metadata. It also looks like euse uses the info in the metadata file, so, for example, "euse -i jpeg" does NOT mention imagemagick. Jack
Re: [gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
On Monday, 16 December 2019 17:10:13 GMT n952162 wrote: > I tried using imagemagick's display, and it gave me: > > display: delegate library support not built-in '' (X11) > > There's no X on the media-gfx/imagemagick web page. > > On a guess, I created a use file for imagemagick with X and now I get: > > display: no decode delegate for this image format `JPG' > > Am I going to have to rebuild imagemagick for every file type I encounter? Not sure what are the defaults, but I have USE="jpeg" here: ~ $ equery u imagemagick [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for media-gfx/imagemagick-7.0.9.5: U I + + X : Add support for X11 + + bzip2 : Use the bzlib compression library - - corefonts : Use media-fonts/corefonts which is required by some commands + + cxx : Build support for C++ (bindings, extra libraries, code generation, ...) - - djvu: Support DjVu, a PDF-like document format esp. suited for scanned documents - - fftw: Use FFTW library for computing Fourier transforms - - fontconfig : Support for configuring and customizing font access via media-libs/fontconfig - - fpx : Enable media-libs/libfpx support - - graphviz: Add support for the Graphviz library - - hdri: Enable High Dynamic Range Images formats - - heif: Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format using media-libs/libheif - - jbig: Enable jbig-kit support for tiff, Hylafax, ImageMagick, etc + + jpeg: Add JPEG image support - - jpeg2k : Support for JPEG 2000, a wavelet-based image compression format + + lcms: Add lcms support (color management engine) - - lqr : Enable experimental liquid rescale support using media- libs/liblqr - - lzma: Support for LZMA (de)compression algorithm - - openexr : Support for the OpenEXR graphics file format + + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp" + + pango : Enable Pango support using x11-libs/pango - - perl: Add optional support/bindings for the Perl language + + png : Add support for libpng (PNG images) - - postscript : Enable support for the PostScript language (often with ghostscript-gpl or libspectre) - - q32 : Set quantum depth value to 32 - - q8 : Set quantum depth value to 8 - - raw : Add support for raw image formats - - static-libs : Build static versions of dynamic libraries as well + + svg : Add support for SVG (Scalable Vector Graphics) - - test: Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) + + tiff: Add support for the TIFF image format + + truetype: Add support for FreeType and/or FreeType2 fonts - - webp: Add support for the WebP image format - - wmf : Add support for the Windows Metafile vector image format + + xml : Add support for XML files + + zlib: Add support for zlib (de)compression -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] what does the "USE flags" section of the packages.gentoo.org/package page mean?
I tried using imagemagick's display, and it gave me: display: delegate library support not built-in '' (X11) There's no X on the media-gfx/imagemagick web page. On a guess, I created a use file for imagemagick with X and now I get: display: no decode delegate for this image format `JPG' Am I going to have to rebuild imagemagick for every file type I encounter?
[gentoo-user] CUPS/administration gives a blank window
After starting apache2 and cups, when I select the add-a-printer selection item, a blank screen is displayed. Does anybody know why?
Re: [gentoo-user] AMDGPU: firefox hangs the window manager [RESOLVED](kinda)
I rebuilt my kernel, taking AMDGPU out and using "ATI Radeon" instead. Now X works for me, and even my power-off issue is gone. I don't think it has anything to do with firefox, really, or performance, but rather a problem with the driver and hardware coordination. According to the gentoo AMDGPU webpage, the STONEY processor *should* be supported: 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da)
Re: [gentoo-user] AMDGPU: firefox hangs the window manager [RESOLVED](kinda)
I rebuilt my kernel, taking AMDGPU out and using "ATI Radeon" instead. Now X works for me, and even my power-off issue is gone. I don't think it has anything to do with firefox, really, or performance, but rather a problem with the driver and hardware coordination. According to the gentoo AMDGPU webpage, the STONEY processor *should* be supported: 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da)
Re: [gentoo-user] AMDGPU: firefox hangs the window manager
On Sunday, 15 December 2019 21:11:30 GMT n952...@web.de wrote: > I recently reported that after rebuilding my kernel, my system doesn't power > down any more. My problems are actually much more severe. When I bring up > Firefox, my system grinds to a crawl, where it can take minutes to echo a > few characters (if at all). That's everywhwere in the window manager, all > xterm instances. > > VTs and ssh instances run fine. I'm thinking, the amdgpu module is causing > problems when features are invoked by firefox. > > This in the hopes that there were improvements to AMDGPU, but it's much > worse for me now. > > I'm running (kinda running) 4.19.72. I followed the instructions on > gentoo's AMDGPU page. > > Are is there anybody else running AMDGPU and having more luck? Another thought: are you using "Use recommended performance settings" in Firefox? -- Regards, Peter.
Re: [gentoo-user] AMDGPU: firefox hangs the window manager
On Sunday, 15 December 2019 21:11:30 GMT n952...@web.de wrote: > I recently reported that after rebuilding my kernel, my system doesn't power > down any more. My problems are actually much more severe. When I bring up > Firefox, my system grinds to a crawl, where it can take minutes to echo a > few characters (if at all). That's everywhwere in the window manager, all > xterm instances. > > VTs and ssh instances run fine. I'm thinking, the amdgpu module is causing > problems when features are invoked by firefox. > > This in the hopes that there were improvements to AMDGPU, but it's much > worse for me now. > > I'm running (kinda running) 4.19.72. I followed the instructions on > gentoo's AMDGPU page. > > Are is there anybody else running AMDGPU and having more luck? I have amdgpu-pro-opencl-19.30.838629 and xf86-video-amdgpu-19.1.0 and haven't had any problems in the 3.5 years I've had this box. Do you have the opencl driver installed? I don't know whether you need it; I have it for BOINC projects. That version of amdgpu-pro-opencl is the later of just two in the portage tree; the video driver has no other current versions. -- Regards, Peter.