Page 1 of 1
[Solved]Upgrading to MGA9 beta

Posted:
Jun 1st, '23, 10:24
by tis
Hi,
I've got 2 mga installed on my computer, One was still mga7, but today I easily updated to mga8 as:
https://wiki.mageia.org/en/Mageia_8_Rel ... m_Mageia_7 sais. (I used urpmi/cli mode to upgrade)
I switched off energy saving for screen and it did everything, only the 'unlock screen - loginctl unlock-session c2', so I haven't switched off the screen locking, that is not the same option

the correct place:

- disable screen-locking
- Screenshot_20230601_103604.png (84.23 KiB) Viewed 6851 times
my question is, if I would like to update this new mag8 to mga9beta which MIRRORLIST I can set at
- Code: Select all
urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.8.$ARCH.list'
?
ty
Re: Upgrading to MGA9 beta

Posted:
Jun 1st, '23, 11:40
by tis
I've tried to change the 8 to 9 in mirrorlist and it did...

- mga9
- Screenshot_20230601_113553.png (65.78 KiB) Viewed 6848 times
I little problem I found while I'm capturing/editing this image, when I open img in gnview, the "open with" menu starts different app I've chosen. Eg. okular,gimp,kolourpaint in list, but if I choose gimp it opens with okular, if I choose kolourpaint it opens with gimp, ... but it works well in dolphin...
Re: Upgrading to MGA9 beta

Posted:
Jun 1st, '23, 12:41
by Germ
Re: Upgrading to MGA9 beta

Posted:
Jun 1st, '23, 12:54
by tis
Ty,
I'm using external package lightzone, it depends on javahelp2 I haven't found in mga9, I've installed rpm from mga8. Now it works
Re: Upgrading to MGA9 beta

Posted:
Jun 1st, '23, 13:11
by tis
Just one more little, when booting the old mga8 bootscreen visible for a while, then it changes to new mga9 style...
Re: Upgrading to MGA9 beta

Posted:
Jun 1st, '23, 15:11
by morgano
Not all backgrounds etc are updated yet. Coming.
Re: Upgrading to MGA9 beta

Posted:
Jun 1st, '23, 17:37
by tis
Ty,
I just indicated
I've tried some thing fast, and as I see Libreoffice,Firefox,Gimp,Blender,Digikam,Lightzone,apache,php,mariadb,mdadm(raid),opengl worked well in the fast try.
Now I start living with it, so now comes the compilers and editors and real useage...
Nice job, everything looks working after double version upgrade

Ty
Re: Upgrading to MGA9 beta

Posted:
Jun 2nd, '23, 15:45
by tis
I've tried some more things like cmake,qtcreator, apache netbeans with c++ project... I can recompile old codes and the executables worked for me.
I've tried Kdenlive, VLC player and I think works better than last mga8 version. (on mga8 if I pause small mkv created in kdenlive, and rewind/forward on slider it hangs, but in mga9 it works well now)
I close this as solved...
Ty
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 2nd, '23, 18:10
by tis
Just one error I've made...
I've installed some old qt5 libs to compiler older codes, but after a reboot there are missing icons on menu/desktop. Unfortunately I have selected qt5ct too, after I removed and restarted sddm the icons came back...
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 3rd, '23, 22:14
by tis
Steam client and vulcan games:
(e.g. Deus Ex: Mankind Divided, quits with the default softrender)
still need to setup:
- Code: Select all
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json
viewtopic.php?f=23&t=14308
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 4th, '23, 11:33
by tis
Can't find obs-studio package...
There was a package in mga8, wasn't it?
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 4th, '23, 12:06
by sturmvogel
Obs-studio is in the tainted repository in MGA 9.
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 4th, '23, 12:20
by tis
ty,
I thought it went to external, but then I'll find there... and that works for me...
(Sometimes I captured my gameplay with it, so not really necessary for me, but if I have to I can install from steam too)
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 4th, '23, 16:49
by morgano
tis wrote:Steam client and vulcan games:
(e.g. Deus Ex: Mankind Divided, quits with the default softrender)
still need to setup:
- Code: Select all
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json
viewtopic.php?f=23&t=14308
Thank you for the icd tip.
Added to wiki
https://wiki.mageia.org/en/Setup_the_gr ... orcing_icdAlso see there the referenced bug.
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 4th, '23, 17:56
by tis
Ty,
but I think it is not depends on VGA: 'Warthunder (with Nvidia) and Deus Ex: Mankind Divided (with Intel)', currently I don't have NVidia card, but Warthunder had the problem with Intel too, and when I had NVidia it was set for Steam Games (e.g.Deus Ex) too...
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 5th, '23, 09:01
by tis
I think almost everything works as in mga8.
I've copied php7/php8 from mga8, and installed apache-mod-fcgid and set the conf file and drupal8 works with different php version. (
viewtopic.php?f=8&t=14324)
(I will compile them with this new environment)
I've started K3B fast, I can add files/folders to project well (
viewtopic.php?f=7&t=14848)
I just can say Thanks, it works.
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 6th, '23, 13:10
by tis
I've realized a difference:
I had started learning bullet collision, but I'm at the start now.

on mga8 (Linux localhost 5.15.110-desktop-2.mga8 #1 SMP Mon May 8 17:24:35 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux) with ( gcc version 10.4.0 (Mageia 10.4.0-3.mga8) + bullet 3.08 )
I've just include
- Code: Select all
#include <btBulletDynamicsCommon.h>
to my code for bullet.
on mga9 (Linux localhost.localdomain 6.3.5-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Tue May 30 19:04:59 UTC 2023 x86_64 GNU/Linux) with ( gcc version 12.3.0 (Mageia 12.3.0-3.mga9) + bullet 3.24)
I have to set BT_USE_DOUBLE_PRECISION before include
- Code: Select all
#define BT_USE_DOUBLE_PRECISION 1
#include <btBulletDynamicsCommon.h>
(The difference comes from libBullet*, so they may be compiled with different settings)
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 6th, '23, 19:39
by tis
All right, it comes from compiling bullet:
- Code: Select all
./premake4_linux64 --double gmake
or
./premake4_linux64 gmake
This creates the makefiles with double_precision set or not set...
The two types of libs not crossuseable if I'm rigth. cause segfault and/or ld errors... Which type will be the standard for mga9?
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 6th, '23, 22:45
by doktor5000
If you have actual questions it would be better to create a new thread for those, instead of mangling all of those in a thread marked as solved which is about a completely different topic.
Re: [Solved]Upgrading to MGA9 beta

Posted:
Jun 7th, '23, 07:51
by tis
Ty,
I've just collected everything about upgrading to mga9 beta to one topic. I will create new one if it necessary...
Back to bullet, I prefer the new DOUBLE_PRECISION version, you do no have to edit the code you can add -DBT_USE_DOUBLE_PRECISION param to compiler(g++) instead.
The prev style binaries works if prev style libraries copied with it. eg. libBullet*.so.3.08.
Thanks