Hi I downloaded steam by using Flatpak but it is saying it missing 32 bit libraries and it will not start where can I find and download so in order to make steam work ?
Leap 16 is 64bit only unless you follow the instructions in the release notes, wiki and forum.
You need to add ia32_emulation=1
to the kernel command line. Additionally install selinux-policy-targeted-gaming
.
how do Install to the kernel: ia32_emulation=1 selinux-policy-targeted-gaming
.
Im not yet a great linux expert you mean for example: sudo zypper ia32_emulation=1 and sudo zypper selinux-policy-targeted-gaming is this the correct way ?
No.
Open a terminal.
Then
sudo vi /etc/default/grub
Navigate with the cursor to the line withGRUB_CMDLINE_LINUX_DEFAULT="........"
Add ia32_emulation=1
to the list of parameters there (inside the “…”).
Hit “esc” and type :wq
, then hit “Enter”.
Now you need to update grub.cfg via:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
And selinux-policy-targeted-gaming
is a package which simply get installed via:
sudo zypper in selinux-policy-targeted-gaming
It is not easy to teach how to use vi
, but either :i
or :a
must be used here to get to INSERT mode.
For sudo grub2-mkconfig -o /boot/grub2/grub.cfg and sudo zypper in selinux-policy-targeted-gaming all by using terminal correct ? I will try sudo vi /etc/default/grub do you have a screenshot to see what it looks like.
Correct.
You open a terminal and paste/type sudo vi /etc/default/grub
. It asks for your root password. type it in and hit “Enter”. Afterwards the content of the grub file will be displayed. It will look smt like this:
# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
# Uncomment to set your own custom distributor. If you leave it unset or empty, the default
# policy is to determine the value from /etc/os-release
GRUB_DISTRIBUTOR=
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=8
GRUB_CMDLINE_LINUX_DEFAULT="security=apparmor kvm.enable_virt_at_load=0 mitigations=auto rd.driver.blacklist=nouveau"
GRUB_CMDLINE_LINUX=""
# Uncomment to automatically save last booted menu entry in GRUB2 environment
# variable `saved_entry'
# GRUB_SAVEDEFAULT="true"
#Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
# GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
#Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL="gfxterm"
# The resolution used on graphical terminal
#note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="auto"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
# GRUB_DISABLE_LINUX_UUID=true
#Uncomment to disable generation of recovery mode menu entries
# GRUB_DISABLE_RECOVERY="true"
#Uncomment to get a beep at grub start
# GRUB_INIT_TUNE="480 440 1"
GRUB_BACKGROUND=
GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
SUSE_BTRFS_SNAPSHOT_BOOTING="true"
GRUB_USE_LINUXEFI="true"
GRUB_DISABLE_OS_PROBER="true"
GRUB_ENABLE_CRYPTODISK="n"
GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Correct.
GRUB_CMDLINE_LINUX_DEFAULT=“security=apparmor kvm.enable_virt_at_load=0 mitigations=auto rd.driver.blacklist=nouveau” starts here
so its after this that i should type and add Add ia32_emulation=1
GRUB_CMDLINE_LINUX_DEFAULT=“security=apparmor kvm.enable_virt_at_load=0 mitigations=auto rd.driver.blacklist=nouveau” ia32_emulation=1 is this the correct way at the end ?
Nope.
The content of the line may differ a little bit on your side. So don’t get confused. I will mark the part which may differ on your grub file, with abcdefg
GRUB_CMDLINE_LINUX_DEFAULT=“abcdefg”
Place the cursor on the last "
in this line.
type i
now you can insert text at this Position. Type a blank and ia32_emulation=1
Hit “Esc”
Now the line should look like smt like this:
GRUB_CMDLINE_LINUX_DEFAULT=“abcdefg ia32_emulation=1”
Now type :wq
and hit “Enter”
If you are not sure if everything is correct after this, you can simply open the file /etc/default/grub with a texteditor and post the content here in the forum via preformatted text tags </>.
If everything is fine, we can procede with
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
so its correct right at the end of line nouveau… this I where I should typeia32_emulation=1 and the hit Esc
GRUB_CMDLINE_LINUX_DEFAULT=“security=apparmor kvm.enable_virt_at_load=0 mitigations=auto rd.driver.blacklist=nouveau”
GRUB_CMDLINE_LINUX=“” I apoligize so I should take everything out and the line should like this GRUB_CMDLINE_LINUX_DEFAULT= ia32_emulation=1 is this correct?
Noooo . Do not delete anything. You need to add
ia32_emulation=1
to the existing parameters.
Ok. Lets take a few steps back and start more slowly.
Please open a terminal and type following command:
cat /etc/default/grub
Now use your mouse and mark all the output which you see in the terminal, rightclick-> copy.
Now paste the output here in the forum so that we can see how your grub file looks.
thank you so much at the moment I’m at work can;t you show me the correct way to do this ?
GRUB_CMDLINE_LINUX_DEFAULT=“ ia32_emulation=1 security=apparmor kvm.enable_virt_at_load=0 mitigations=auto rd.driver.blacklist=nouveau” is this the correct way ?
Yes, this also works.
But be aware (as said), the other parameters like security=apparmor kvm.enable_virt_at_load=0 mitigations=auto rd.driver.blacklist=nouveau
are not necessarely the same on your system! So don’t override, delete or change any other content which exist on this line on your system.
when I get home I will try and let you know if everthing goes ok
If I see anything different to yours I will first send you a copy before doing anything
I was not aware, that you are not sitting at your system atm. This makes everything a bit more difficult.
I will let you know