Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Steam options for a no-multilib system and Pulseaudio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 503
Location: Cambridge, UK

PostPosted: Wed Oct 07, 2020 4:38 pm    Post subject: Steam options for a no-multilib system and Pulseaudio Reply with quote

After many years running Gentoo as a headless server I decided to try it as a desktop again. So far so good and got myself set up with Openbox.

However, I decided to take a step further and have a go at gaming amd so I bought myself a RX570 card, got that working then remembered I had a macOS version of DOOM. Moved the files to my linux box, added the Linux executable and had a good few hours playing!

But then I looked at Steam. The options baffled me so I had a go at Flatpak. That got up and running. However, with no sound I had a go at Pulseaudio. Now I'm a bit lost.

I think I have started too many new things and now I'm confused...! I need to take a step back.

A few questions please!

  • Are my only options chroot or Flatpak with a no multilib system for Steam? Could I use Docker (which I am familiar with although not X stuff).
  • Do I have to use Pulseaudio? I always found it so annoying...
  • Am I Ok with a WM like Openbox or am I better with a full desktop environment?


Thanks!
Cheers
Ferg
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
halcon
Guru
Guru


Joined: 15 Dec 2019
Posts: 337

PostPosted: Wed Oct 07, 2020 6:52 pm    Post subject: Re: Steam options for a no-multilib system and Pulseaudio Reply with quote

ferg wrote:
  • Do I have to use Pulseaudio? I always found it so annoying...

No, you don't. I use Steam without Pulseaudio (pure ALSA) and the sound works well for me (though, it may depend on the game).

ferg wrote:
  • Am I Ok with a WM like Openbox or am I better with a full desktop environment?

Yes, you are OK. I have a minimalistic setup startx + Openbox + fbpanel and it works perfect.

PS
I'm on multilib. Can't say nothing about no-multilib.
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 503
Location: Cambridge, UK

PostPosted: Wed Oct 07, 2020 9:59 pm    Post subject: Reply with quote

Thanks. I think my decision (6/7 yrs ago I guess) to go no-multilib has finally bitten me. I wonder if I can use a chrooted multilib stage 3 to convert the system to multilib.
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
ff11
l33t
l33t


Joined: 10 Mar 2014
Posts: 657

PostPosted: Wed Oct 07, 2020 10:29 pm    Post subject: Reply with quote

ferg wrote:
Thanks. I think my decision (6/7 yrs ago I guess) to go no-multilib has finally bitten me. I wonder if I can use a chrooted multilib stage 3 to convert the system to multilib.

Hi ferg!

You can use wine from one AppImage too, even proton wine (I made this one, so it maybe one biased opinion): https://github.com/ferion11/Proton_Appimage

But if you want to go back to multilib, then you just have to, after change the profile to multilib, rebuild gcc, glibc and to be sure binutils too. Like I say on: https://forums.gentoo.org/viewtopic-t-1118828-highlight-multilib.html
there are many options. And for the option 2, i made one amd64 AppImage too (in the case you can't follow the wiki instruction): https://github.com/ferion11/emerge_AppImage

Good luck :)
_________________
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary
"I want to apologize for being so powerless" - Lee
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 503
Location: Cambridge, UK

PostPosted: Thu Oct 08, 2020 5:09 am    Post subject: Reply with quote

ff11 wrote:
ferg wrote:
Thanks. I think my decision (6/7 yrs ago I guess) to go no-multilib has finally bitten me. I wonder if I can use a chrooted multilib stage 3 to convert the system to multilib.

Hi ferg!
Hi right back!

Quote:
You can use wine from one AppImage too, even proton wine (I made this one, so it maybe one biased opinion): https://github.com/ferion11/Proton_Appimage


I'd never even heard of AppImage. Seems sensible, especially since I mainly use macOS on the desktop and apps there all supply their own tree. I guess someday all software will be distributed like this :-)

Quote:
But if you want to go back to multilib, then you just have to, after change the profile to multilib, rebuild gcc, glibc and to be sure binutils too. Like I say on: https://forums.gentoo.org/viewtopic-t-1118828-highlight-multilib.html
there are many options. And for the option 2, i made one amd64 AppImage too (in the case you can't follow the wiki instruction): https://github.com/ferion11/emerge_AppImage

Good luck :)


Thanks for that. I've seen some older posts, but a recent one like that is much more reassuring!
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 503
Location: Cambridge, UK

PostPosted: Thu Oct 08, 2020 7:56 am    Post subject: Reply with quote

Hmm. I thought that might be too easy... :-)

Using the third method you suggest it fails.

That is
  • Switch profiles
  • copy headers from a multilib stage3
  • emerge glibc
  • emerge gcc
  • emerge binutils



Code:
>>> Running pre-merge checks for sys-libs/glibc-2.32-r2
 * Checking general environment sanity.
make -j14 glibc-test CC=x86_64-pc-linux-gnu-gcc
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe   -Wl,-O1 -Wl,--as-needed  glibc-test.c   -o glibc-test
 * Checking that IA32 emulation is enabled in the running kernel ...
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
 * Failed to compile the ABI test. Broken host glibc?                                                                                                                                    [ ok ]
 * Checking gcc for __thread support ...                                                                                                                                                 [ ok ]
 * Checking running kernel version (5.8.12-gentoo >= 3.2.0) ...                                                                                                                          [ ok ]
 * Checking linux-headers version (5.8.0 >= 3.2.0) ...     
..and eventually it fails.
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
ff11
l33t
l33t


Joined: 10 Mar 2014
Posts: 657

PostPosted: Thu Oct 08, 2020 9:56 am    Post subject: Reply with quote

ferg wrote:
Hmm. I thought that might be too easy... :-)

Using the third method you suggest it fails.

That is
  • Switch profiles
  • copy headers from a multilib stage3
  • emerge glibc
  • emerge gcc
  • emerge binutils



Code:
>>> Running pre-merge checks for sys-libs/glibc-2.32-r2
 * Checking general environment sanity.
make -j14 glibc-test CC=x86_64-pc-linux-gnu-gcc
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe   -Wl,-O1 -Wl,--as-needed  glibc-test.c   -o glibc-test
 * Checking that IA32 emulation is enabled in the running kernel ...
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
 * Failed to compile the ABI test. Broken host glibc?                                                                                                                                    [ ok ]
 * Checking gcc for __thread support ...                                                                                                                                                 [ ok ]
 * Checking running kernel version (5.8.12-gentoo >= 3.2.0) ...                                                                                                                          [ ok ]
 * Checking linux-headers version (5.8.0 >= 3.2.0) ...     
..and eventually it fails.

Well, the third method is a little old, and need some adaptation. The best one is the second (or you can just use the AppImage that implement this method).
_________________
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary
"I want to apologize for being so powerless" - Lee
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 503
Location: Cambridge, UK

PostPosted: Thu Oct 08, 2020 2:06 pm    Post subject: Reply with quote

Thanks. For some reason I could not fathom I could not get the chroot to rebuild on my existing system. However, I made binary packages and installed gcc and glibc that way. That worked and now currently re-emerging from source. Thanks for your help.
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
ff11
l33t
l33t


Joined: 10 Mar 2014
Posts: 657

PostPosted: Thu Oct 08, 2020 2:18 pm    Post subject: Reply with quote

ferg wrote:
Thanks. For some reason I could not fathom I could not get the chroot to rebuild on my existing system. However, I made binary packages and installed gcc and glibc that way. That worked and now currently re-emerging from source. Thanks for your help.

Yep! There is this way of do it too. For it to install directly in your system, you need to mount your filesystem inside the chroot (the "mount --rbind / /mnt/build/mnt/host" part) and use the options --root=/mnt/host --config-root=/mnt/host on the emerge commands, so it will install the ebuilds (and using the configs too) on /mnt/host, that is your re-mounted system.
The change, of no-multilib to multilib, is easier than some upgrades of python here, at least is what i think (^_^)/
_________________
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary
"I want to apologize for being so powerless" - Lee
Back to top
View user's profile Send private message
ferg
Guru
Guru


Joined: 15 Nov 2002
Posts: 503
Location: Cambridge, UK

PostPosted: Wed Oct 14, 2020 11:23 am    Post subject: Reply with quote

Just a comment in case it's a simple fix, but emerges seem way slower now. I know for anything that has the x86_32 flag enabled it will be double, but subjectively it seems way longer than that. For example an hour for GCC. I vaguely remember it being 10/20 mins previously.

I have PORTAGE_TMPDIR mounted on a 20Gb TMPFS in ram.and am running on older server board with 16 cores (and j16 set in MAKEOPTS). That should be quicker than that right!
_________________
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Back to top
View user's profile Send private message
ff11
l33t
l33t


Joined: 10 Mar 2014
Posts: 657

PostPosted: Wed Oct 14, 2020 11:30 am    Post subject: Reply with quote

ferg wrote:
Just a comment in case it's a simple fix, but emerges seem way slower now. I know for anything that has the x86_32 flag enabled it will be double, but subjectively it seems way longer than that. For example an hour for GCC. I vaguely remember it being 10/20 mins previously.

I have PORTAGE_TMPDIR mounted on a 20Gb TMPFS in ram.and am running on older server board with 16 cores (and j16 set in MAKEOPTS). That should be quicker than that right!

Yes. Recently, many packages have considerably increased the compilation time. I want to finish my current job ASAP, in order to get back to no-multilib.

You can also measure compilation time with and without ABI 32, to a better comparison.
_________________
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary
"I want to apologize for being so powerless" - Lee
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum