SaladinAyyub / Lutris-RHEL-CentOS7

Lutris package for RHEL and CentOS 7.x
7 stars 0 forks source link

Lutris 5.0 core dumped #1

Closed IanTrudel closed 5 years ago

IanTrudel commented 5 years ago

Lutris 5.0 core dumped after fresh install. Please, take note that Lutris 4.23 package is working fine.

(lutris:25114): Gtk-ERROR **: 20:40:20.997: failed to add UI: L’ouverture du fichier « /usr/share/lutris/ui/menus-traditional.ui » a échoué : Aucun fichier ou dossier de ce type [1] 25114 trace trap (core dumped) lutris

SaladinAyyub commented 5 years ago

Can you run lutris -d and send the logs ?

SaladinAyyub commented 5 years ago

bug confirmed, few same posts on reddit.

SaladinAyyub commented 5 years ago

I just updated the RPM make sure you have EPEL enabled on centOS/RHEL

SaladinAyyub commented 5 years ago

Tell me if its working now..

IanTrudel commented 5 years ago

--> Résolution des dépendances terminée Erreur : Paquet : lutris-0.5.0.1-4.el7.x86_64 (/lutris-0.5.0.1-4.el7.x86_64) Requiert : mesa-vulkan-drivers(x86-32) Vous pouvez essayer d'utiliser --skip-broken pour contourner le problème Vous pouvez essayer d'exécuter : rpm -Va --nofiles --nodigest

It requires mesa-vulkan-drivers but my system runs with the Nvidia proprietary driver.

SaladinAyyub commented 5 years ago

ah now i got the issue mesa-vulkan-driver 32 bit is not on centOS i add that in script wait.

SaladinAyyub commented 5 years ago

I do have to keep changing this script as lutris now dont have a "noarch" package like 4.x versions. So i have to configure all dependencies.

SaladinAyyub commented 5 years ago

Try this for now i re created RPM, or else when noarch package of lutris 5.0 is available It will be easy to create RPM like in 4.x packages they are noarch so compatible with all architectures. in FC 29 they currently dont have noarch packages.

IanTrudel commented 5 years ago

I did try the latest RPM but it core dumped again with the message.

SaladinAyyub commented 5 years ago

Ok I will take noarch package when its available until then i will create.. putting this in readme for now

IanTrudel commented 5 years ago

Thank you. Keep up with the good work! :D

SaladinAyyub commented 5 years ago

After some investigation there are somethings needed by lutris 5.0 which are not in centOS 7 but are there in RHEL 8 beta so RHEL 8 and CentOS will work fine when they release. I guess 4.23 will be last version i will be able to create for centOS 7. I will try bundling dependencies for 5.0 for centos on to new branch on github and try all the stuff there.

IanTrudel commented 5 years ago

Any progress on 5.0 for CentOS 7? :)

SaladinAyyub commented 5 years ago

there are many dependencies not present in centos 7 for lutris 5.x, if I think off bundling soo many dependencies it will no longer be an rpm package but i might have to create a full .sh script. Lutris 5.0 will be working on centos 8 or RHEL 8 predicted to release in April or may. So lets see.

IanTrudel commented 5 years ago

(just a note: https://github.com/lutris/lutris/issues/1855)

IanTrudel commented 5 years ago

@jatin-cbs I talked with the man behind Lutris and he suggested that you make a pull request on Lutris to provide support for CentOS. It is worth looking into it.

SaladinAyyub commented 5 years ago

Yes i have talked to @strycore but 4.x is depreciated despite everything runs fine using lutris 4.23 and its just UI and few things different i wont make as 5.x wont run on centOS due to few python dependencies. That is why he has said that once 5.x is ready i open pull request but it wont run..

SaladinAyyub commented 5 years ago

4.23 can run all games that 5.x can do so i dont see a reason not to support the rpm but, i cant do anything..

SaladinAyyub commented 5 years ago

I will build latest 5.x version once RHEL 8 comes out. It has all deps.

IanTrudel commented 5 years ago

What are the hurdles to get 5.0 working on CentOS at the moment? Getting the python dependencies shouldn't be too much troubles though.

strycore commented 5 years ago

is it possible to have the CentOS specific changes incorporated in the project's lutris.spec file as a PR or is it too different? Also, what Python dependencies are missing in CentOS?

SaladinAyyub commented 5 years ago

no spec file is not much different as its rebuild of the lutris fedora RPM @strycore . python pillow is not avialable on centOS 7 im trying to bundle dependencies, create a whole new repo. 4.23 is working as it didnt had those dependencies. I am still trying for it to work out of the box. I will create a development branch here next week hopefully..

IanTrudel commented 5 years ago

python pillow is not avialable on centOS 7

yum search pillow shows a few entries. Any of those would be adequate?

SaladinAyyub commented 5 years ago

no nothing is :( even I installed pillow using pip but that wont work, lutris may be unable to find the one installed with pip. I will open dev branch so i can get help.

SaladinAyyub commented 5 years ago

Screenshot from 2019-03-29 22-11-23

As python 3 pillow is not avaiable its showing the PIL import error while launching lutris.

SaladinAyyub commented 5 years ago

python 3 pillow is the main issue, currently trying using pip..

SaladinAyyub commented 5 years ago

@strycore @BackOrder I have managed to resolve all dependencies using pip to install pillow and it worked now its able to find pillow, but on launch these the logs it never opens..

Screenshot from 2019-03-29 22-58-59 it seems something in lutris/gui/application.py, line 333

SaladinAyyub commented 5 years ago

its actually exactly same to this error https://github.com/lutris/lutris/issues/1366

SaladinAyyub commented 5 years ago

trying different lutris version 5.1.2 maybe..

SaladinAyyub commented 5 years ago

Screenshot from 2019-03-29 23-36-47

SaladinAyyub commented 5 years ago

Success finaly :) posting the commands please test and report back @BackOrder and others..

SaladinAyyub commented 5 years ago

Follow the readme on the new branch @BackOrder @strycore pip instructions :) if it works closing this issue.

IanTrudel commented 5 years ago

It's not working just yet here though there is a different problem now. It coredumps right after looking for GPU driver.

By the way, I recommend cp -Rv /usr/lib/python3.7/site-packages/lutris /usr/lib/python3.4/site-packages/ instead of mv.

log:

2019-03-29 15:36:24,547: Running Lutris 0.5.1.2
2019-03-29 15:36:24,548: Using NVIDIA drivers 418.30 for x86_64
2019-03-29 15:36:24,548: GPU: GeForce GTX 660M
2019-03-29 15:36:24,548: GPU: 10DE:0FD4 1043:2115 using nvidia drivers
[1]    5652 segmentation fault (core dumped)  lutris
IanTrudel commented 5 years ago

By the way, I recommend cp -Rv /usr/lib/python3.7/site-packages/lutris /usr/lib/python3.4/site-packages/ instead of mv.

Or, better yet, ln the thing. :)

SaladinAyyub commented 5 years ago

Strange its working on my system and even the previous script that was back here when this issue was created it never showed me core dumped, it just show the PIL error for pillow which i fixed today.. It can be a nvida driver problem I will test this on my other machine which has 1050ti tommorow maybe.. Thanks for the suggestion tho @BackOrder

SaladinAyyub commented 5 years ago

which centos version are you using ?

IanTrudel commented 5 years ago

CentOS 7. Here is the uname -a: Linux ###### 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

SaladinAyyub commented 5 years ago

7.6 ? try another nvidia driver version 415.. I was just searching core dump error after nvidia drivers installation on google.. Actually not google duckduckgo lets respect privacy XD

IanTrudel commented 5 years ago

Uh? Do you mean installing an older version of the driver? o_O

SaladinAyyub commented 5 years ago

Did you blacklisted noveau when you installed the drivers ?

SaladinAyyub commented 5 years ago

Just misclicked ...

IanTrudel commented 5 years ago

Did you blacklisted noveau when you installed the drivers ?

Obviously. My system is well maintained. Shouldn't be any such troubles here.

SaladinAyyub commented 5 years ago

Run using lutris -d

IanTrudel commented 5 years ago

We will eventually get it working. :)

Here as you requested.

INFO     2019-03-29 15:37:15,295 [application.do_command_line:219]:Running Lutris 0.5.1.2
INFO     2019-03-29 15:37:15,296 [startup.check_driver:55]:Using NVIDIA drivers 418.30 for x86_64
INFO     2019-03-29 15:37:15,296 [startup.check_driver:59]:GPU: GeForce GTX 660M
INFO     2019-03-29 15:37:15,296 [startup.check_driver:76]:GPU: 10DE:0FD4 1043:2115 using nvidia drivers
[1]    8351 segmentation fault (core dumped)  lutris -d
SaladinAyyub commented 5 years ago

This is actually my guess i have actually had issue with steam back then core dumped error on nvidia drivers.. So i removed drivers installed steam and then the drivers which worked.. I think this can be the same issue..

SaladinAyyub commented 5 years ago

Why centos doesnt have a nvidia repo i hope it does in 8 using rpm fusion manual drivers with dkms cause problems.

SaladinAyyub commented 5 years ago

i will be able to help you tommorow when i try it on nvidia machine i gota to to sleep for now i failed in economics XD i have my retest on monday jesus !

IanTrudel commented 5 years ago

The problem is either mv or cp -Rv will copy things over existing files in /usr/lib/python3.4/site-packages/ but some remaining files from the previous version are lingering on.

The solution is really to remove any existing directory and symlink.

ln -s /usr/lib/python3.7/site-packages/lutris /usr/lib/python3.4/site-packages/lutris

Capture d’écran de 2019-03-29 16-24-55

SaladinAyyub commented 5 years ago

It worked for u ?

IanTrudel commented 5 years ago

Yes, sir! Thank you for your help.