The small linux problem thread

That’s the thing, I’m pretty sure I installed it in /usr/local/share/vim

I’ll make a VM and perform a snapshop before compiling and see if I can figure it out.

Will revisit the path, though. Great idea! Thanks.

Its time to reinstall the OS On my desktop. It has been through every ubuntu upgrade since the 14.04 days, and its finally saying that it does not want to live anymore.

Which is too bad, because its going to live whether it likes it or not.

My problem: I have a large ZFS pool that hosts my home directory that I would like to keep around. If I reinstall the OS (I will likely switch to Fedora), does that mean I lose the ZFS pool?

As far as I know, when you start your install from the live usb you should get an option on the bottom where is says formatting and stuff? I think the first option is to install Ubuntu along side other installations?

Go down to the last one that says: (I think)

something else

And it will give you a choice to partition hard drives. When you have to repartition your home directory, choose change, then select format type, e.g.: ext4, then select where to mount. Tell it NOT to format it, and assign it to /home. You should retain all your home files. I think I’m right in this.

(I’ve installed Ubuntu way more times than I should have due to corrupt installs.)

Please anyone correct me if I’m wrong.

*Edited to reflect actual steps

I’m on Debian Sid. Compiling it rn, but, just informing, here the binary for vim was located at /usr/bin/vim (output of which vim) but the $VIMRUNTIME was set to /usr/share/vim/vim81, so I guess it just isn’t the right directory to put into the prefix (maybe it is not in the $PATH.)

1 Like

Well, that’s done. I ran configure with --prefix=/home/user/.local, and after running make (and then the make install) as per the guide my ~/.local/bin was promptly populated with vim binaries. If your installation finished without errors, I recommend dry-running make (sudo make -n install) to see where the heck are those binaries going. Also, check the $PATH.

In the first ~12 lines there must be a line like cp vim [your prefix]/bin, that must be where it is going to go when you run it for real.

Also, why is vim so damn bloated??

1 Like

@colesdav I’m posting here from the Steamplay Proton thread. From what I understand about Fedora 28 (I don’t run it daily, I use Xubuntu), ver. 28 changed a lot of things about package management from Fedora 27, therefore breaking a bunch of functionality. If possible for now, I’d recommend rolling back your distro to ver. 27 so you can get the best experience possible, but if you need version 28, you can temporarily change dnf repos to use Rawhide:

sudo yum install fedora-repos-rawhide
sudo yum install --enablerepo rawhide bash
sudo dnf update mesa-dri-drivers mesa-filesystem mesa-libEGL mesa-libGL mesa-libGLU mesa-libOSMesa mesa-libOpenCL mesa-libgbm mesa-libglapi mesa-libxatracker mesa-vdpau-drivers mesa-vulkan-drivers llvm-libs --releasever=29

Hopefully this helps you out, if anyone else has any recommendations, please bump and post!

1 Like

I’m not aware of F28 making any significant changes to packaging. No functionality is broken. There are changes to flatpaks which don’t affect for packages or rpms in general.

For newer Mesa drivers you can try the above. However simply enabling rawhide may break your system if it tried to update other packages.

Your best bet is to use an up to date copr repo. There is at least one I was looking at earlier today.

Your other option is to slow down. F29 beta is out third week of September less than a month away, it’s really not that long away, and general release the month after.

Thank you.
Again I apologise for posting in the Steamplay Proton Thread:
Here is a copy of the Original Post.
I will edit the original post to point to here:

Original Post:

I am moving from Windows to Linux.
I am not a Linux expert w.r.t Mesa video driver upgrade and installation.

I was interested to see what the “out of the box” experience would be Fedora.
I upgraded my Distro from Fedora 27 to 28, which is easy to do.
Fedora 28 is currently using this version of the
Mesa version installed is: [colesdav@Unknown-10-c3-7b-6c-27-d2 ~]$ glxinfo |
grep “OpenGL version”
OpenGL version string: 3.0 Mesa 18.0.5
[colesdav@Unknown-10-c3-7b-6c-27-d2 ~]$

I have completed the initial first pass look on Fedora 28 with those drivers.
I have created many video recordings, some of which are still processing. and made those available to try to get more interest so more people get involved/ are aware of Steam Play Beta.

Next step is to upgrade the Mesa Drivers.

RE: I know it can be a headache on Linux (especially on Fedora).

I agree.

I am finding upgrading the Mesa Drivers on Fedora 28 difficult.
I started to take a look at that today.

I followed the instructions here:

“Moving on - How to download and install latest Mesa GPU Drivers:
For latest Drivers: https://mesa3d.org/
For download information: https://mesa3d.org/download.html
For download location: https://mesa.freedesktop.org/archive/
For installation instructions: https://mesa3d.org/install.html”

I selected these:
“August 24, 2018
Mesa 18.1.7 is released. This is a bug-fix release.”

I followed points 1 & 2.

The download, untar/unzip, and make / compile ran o.k based on what I see in the log files.

On reboot I still see this:

[colesdav@Unknown-10-c3-7b-6c-27-d2 ~]$ glxinfo | grep “OpenGL version”
OpenGL version string: 3.0 Mesa 18.0.5
[colesdav@Unknown-10-c3-7b-6c-27-d2 ~]$

Is it possible someone on this forum could help out with advise and more details on what I need to do to get the latest Mesa Drivers running on Fedora 28 please?

Downloading games, testing, creating and editing videos and uploading those to Youtube keeps me busy enough. I would prefer to be doing that , and I am sure many others testing this would as well.

Since Steam Plays Beta is so important, is there no way that Steam could talk to Fedora and MESA driver people and provide an easier way to allow automatic upgrade to these new MESA drivers using dnf in Fedora 28?

Thanks.

(on my laptop so I can grab links for you)

You just need to know the right things and ask the right questions. Its not harder than Ubuntu for example.

If you really want the latest graphics stack straight off upstreams latest releases use this copr https://copr.fedorainfracloud.org/coprs/nadmartin/mesa/

Keep in mind as with anything 3rd party repos could lead to instability.

I’d advise against using rawhide, you’ll screw up your system if you do it wrong.

Your other option is to just wait. F29 beta is out soon as I mentioned, what’s the rush.

If it’s just a test system for you, go ahead and play with the copr repo. I’d wait until F29 beta if you want to try Fedora 29 (current rawhide) before release

1 Like

Appreciate the insight, @Eden. Thanks a ton!

1 Like

This is never a good idea. The packaging system works well. Start making out of management changes and you’ll screw up your system if you don’t know what you’re doing. this is universal to almost all distros.

1 Like

Hi,

Fedora 28 seems to be working well for me in my limited time using it since upgrading.
I think I will stay on it for now.
RE: simply enabling rawhide may break your system if it tried to update other packages.

OK thanks for that advice . I want to try something that will let me install these new drivers as quickly as possible with least risk of wrecking the Fedora 28 installation.

OK I will start to investigate that: If you have anymore information that could help me I would appreciate it.

RE: Your other option is to slow down. F29 beta is out third week of September less than a month away, it’s really not that long away, and general release the month after.

I want to get some videos of the Steam Plays Beta out as soon as possible to Youtube.
Please note my channel is only for uploading test cases and is not monetized.

I am trying to promote this Steam Plays Beta because I think people need to be given an alternative to move away from Windows 10. Windows 7 Extended support ends Jan 14 2020. That is not long. You can get hold of Windows 8.1 keys but they are not meant to be sold.
So people are forced to use Windows 10 or Apple OS.

Thanks.

Thanks I will try that now.

OK Thanks I will try what you advise and run the copr repo.

I plan to test that copr repo tomorrow but from the look of it it looks to be the best repo atm for mesa builds for F28.

Simple to enable

Add the following to /etc/yum.repos.d/mesa.repo

[nadmartin-mesa]
name=Copr repo for mesa x64 owned by nadmartin
baseurl=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

[nadmartin-mesa-i686]
name=Copr repo for mesa i686 owned by nadmartin
baseurl=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/fedora-$releasever-i386/
type=rpm-md
skip_if_unavailable=True
gpgcheck=0
gpgkey=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

As it mentions add exclude=kernel* if you dont want the unstable kernel (you may want it if your running amd)

then run dnf update

copr is simpler usually (just a dnf copr install command) but you probably want both 32 bit and 64 bit repos as it mentions.

2 Likes

With so many here running Fedora 28, could you verify if the “updates available” icon (dnfdragora box) shows up consistently in the notification area when there are updates?

For me, this happens only once after a fresh boot. If I then close the icon (doesn’t disappear on its own if updates are installed from terminal), it never appears again until I reboot.

I check and install updates from the terminal since that feels faster, but I still like to have the visual cue when there are updates. I’m using MATE if it matters.

You’d need to look up the documentation I think. With gnome software for example this will show periodically when there are updates, but not just from dnf but for flatpaks and firmware updates (where supported) as well. Dnf alone won’t catch all these.

So gnome software may still show updates available even if you’ve updated dnf as itay show firmware or flatpaks updates.

Dnfdragona you’ll need to check what it’s actual functionality is.

We’re talking about the yellow cube icon that is the same as dnfdragora’s icon, yes?

It remains even when opening it shows no updates to install.

And the main issue is it never shows up again after being closed once, until a reboot.

@Synchronus, @Eden

Thank you so much.

I am now running with:

[colesdav@Unknown-10-c3-7b-6c-27-d2 ~]$ glxinfo | grep “OpenGL version”
OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.2.0-rc4
[colesdav@Unknown-10-c3-7b-6c-27-d2 ~]$

I will get on with Plays Beta Testing, on Fedora 28, with these drivers.

Bye.

This is a weird problem that I’ve found in Ubuntu 18.04 since I installed the last update from software manager. Now any drive that is ntfs will randomly unmount for about 30 seconds and remount. There’s no pattern. I’m not doing anything but looking around on the web, or watching YouTube vids, or on these forums. But randomly I’ll look on my desktop, and the drive icons will suddenly vanish and I’ll get a popup on the top bar that says that I’ve lost one of my windows drives. And a split second after that, the other ntfs drive will drop. And 30 seconds later, they’ll be back. For a random amount of time. Could this hurt my ntfs drives?