Wiki de Mageia

QA Tips en Trucs-nl

Wiki Mageia - 28 Abril, 2025 - 10:38

← Older revision Revision as of 09:38, 28 April 2025 Line 1: Line 1:  +[[QA Team Portal|Returm to the QA Team Portal]]  {{multi_language_banner|[[QA Tipps und Tricks-de|Deutsch]]; [[QA_Tips_and_Tricks|English]]; [[Trucs et Astuces AQ-fr|français]]; [[QA Tips en Trucs-nl|Nederlands]] ;}} {{multi_language_banner|[[QA Tipps und Tricks-de|Deutsch]]; [[QA_Tips_and_Tricks|English]]; [[Trucs et Astuces AQ-fr|français]]; [[QA Tips en Trucs-nl|Nederlands]] ;}}    Line 116: Line 117:     <pre># rpm -e --nodeps <package></pre> <pre># rpm -e --nodeps <package></pre>  +  +==Downgrade alles vanuit testing repositories ==  +  +Om uw systeem zodanig te synchroniseren, dat het alleen pakketten en versies bevat van de release en update repositories.  +# Lees over [[Using_DNF#Synchronize_with_repos|this usage of DNF]].  +# {{cmd|<nowiki>dnf offline-distrosync download --disablerepo=\*testing\* --allowerasing</nowiki>}}     == Perl-modules == == Perl-modules == Marchugo
Categorías: Wiki de Mageia

QA Tips and Tricks

Wiki Mageia - 28 Abril, 2025 - 03:51

+ Downgrade everything from testing repos

← Older revision Revision as of 02:51, 28 April 2025 Line 1: Line 1:  +[[QA Team portal|Return to the QA Team portal]]  +[[Category:Contributors]][[Category:QA]]  +  {{multi_language_banner|[[QA Tipps und Tricks-de|Deutsch]] ; [[QA_Tips_and_Tricks|English]] ; [[Trucs et Astuces AQ-fr|français]] ; [[QA Tips en Trucs-nl|Nederlands]] ; }} {{multi_language_banner|[[QA Tipps und Tricks-de|Deutsch]] ; [[QA_Tips_and_Tricks|English]] ; [[Trucs et Astuces AQ-fr|français]] ; [[QA Tips en Trucs-nl|Nederlands]] ; }}    Line 139: Line 142:     <pre># rpm -e --nodeps <package></pre> <pre># rpm -e --nodeps <package></pre>  +  +== Downgrade everything from testing repos ==  +  +To synchronise your system to only contain packages and versions from release and updates repositories.  +# Read about [[Using_DNF#Synchronize_with_repos|this usage of DNF]].  +# {{cmd|<nowiki>dnf offline-distrosync download --disablerepo=\*testing\* --allowerasing</nowiki>}}     == Perl Modules == == Perl Modules == Line 204: Line 213:  firefox    8801  8841    user  mem    REG    8,2  707048    137291 /usr/lib64/libpixman-1.so.0.32.8 firefox    8801  8841    user  mem    REG    8,2  707048    137291 /usr/lib64/libpixman-1.so.0.32.8  </pre> </pre> −  −  −  −[[QA Team portal|Return to the QA Team portal]]  −[[Category:Contributors]][[Category:QA]]  Morgano
Categorías: Wiki de Mageia

Setup the graphical server

Wiki Mageia - 28 Abril, 2025 - 03:20

+ Notes, + Acceleration

← Older revision Revision as of 02:20, 28 April 2025 (2 intermediate revisions by the same user not shown)Line 59: Line 59:     "modesetting" with Nvidia cards, though more stable, uses internally kernel's nouveau module too for 3D. "nouveau" in Xorg uses nouveau Xorg DDX driver plus kernel's nouveau module. For many recent NV cards the nouveau DDX can't even be used because they are unsupported (e.g. for NV RTX 3xxx and beyond, etc.). "modesetting" with Nvidia cards, though more stable, uses internally kernel's nouveau module too for 3D. "nouveau" in Xorg uses nouveau Xorg DDX driver plus kernel's nouveau module. For many recent NV cards the nouveau DDX can't even be used because they are unsupported (e.g. for NV RTX 3xxx and beyond, etc.).  +  +<br>  +  +== nouveau problems ==  +  +=== Missing firmware ===  +You may find in system journal a line like  +  +''kernel: nouveau 0000:01:00.0: Direct firmware load for nouveau/nva8_fuc084 failed with error -2''  +   +The firmware is to speed up video decoding, and may help with stability generally.  If you experience no problem you do not need to bother.  +   +Missing firmware may be due to that the firmware in case is not included in neither the kernel-firmware nor kernel-firmware-nonfree packages.  kernel-firmware is installed by default, and if you do not have kernel-firmware-nonfree, try installing that and reboot.  If you still see the problem, you may by able to extract the needed firmware from a nvidia driver.  You will find how to do that by doing a web search on "Direct+firmware+load+for+nouveau"+"failed+with+error+-2", the tool is found at https://github.com/envytools/firmware.  Get driver to extract from at https://www.nvidia.com/en-us/drivers/.  +  +{{fixme|81}} ''Someone try on Mageia and document it here.''     <br> <br> Line 279: Line 294:  <br> <br>    −== Forcing icd ==+== Notes ==  +   +=== Forcing icd ===     ''From [https://forums.mageia.org/en/viewtopic.php?t=14308 forum], [https://forums.mageia.org/en/viewtopic.php?f=15&t=14946&p=87756#p87756 forum], and {{bug|29563}}'' ''From [https://forums.mageia.org/en/viewtopic.php?t=14308 forum], [https://forums.mageia.org/en/viewtopic.php?f=15&t=14946&p=87756#p87756 forum], and {{bug|29563}}'' Line 297: Line 314:  <br> <br>    −== Gamemode ==+=== Acceleration ===  +   +Manually make sure you have a correct vdpau driver.  {{Bug|34228}}  +   +<br>  +   +=== Gamemode ===     Installing the package gamemode, you can launch games and similar applications so they are executed under various speed optimisations. Installing the package gamemode, you can launch games and similar applications so they are executed under various speed optimisations. Line 303: Line 326:  you are running on batteries). you are running on batteries).    −Usage: {{cmd|gamemoderun <application>}}+Usage: {{cmd|gamemoderun <application>}}, Details see: [https://github.com/FeralInteractive/gamemode Github]   −   −See: [https://github.com/FeralInteractive/gamemode Github]        <!-- update and questions in https://bugs.mageia.org/show_bug.cgi?id=33696 --> <!-- update and questions in https://bugs.mageia.org/show_bug.cgi?id=33696 --> Line 311: Line 332:  <br> <br>    −== Hybrid Graphics ==+=== Hybrid Graphics ===     Some laptops comes with "Hybrid Graphics", meaning they have two GPU: one low power, and the other faster.   Some laptops comes with "Hybrid Graphics", meaning they have two GPU: one low power, and the other faster.   Line 319: Line 340:  <br> <br>    −== Logs ==+=== Logs ===     * The system journal, viewed by the command {{cmd|journalctl}} * The system journal, viewed by the command {{cmd|journalctl}} Line 328: Line 349:  <br> <br>    −== Suppress disturbing messages in terminal and logs ==+=== Suppress disturbing messages in terminal and logs ===     Sometimes you find inconvenient number of firewall messages "diluting" dmesg/journal, and they also are output in terminals and even right into i.e text mode applications such as drakx tools in console mode - very disturbing! Sometimes you find inconvenient number of firewall messages "diluting" dmesg/journal, and they also are output in terminals and even right into i.e text mode applications such as drakx tools in console mode - very disturbing! Morgano
Categorías: Wiki de Mageia

Autobuild errors

Wiki Mageia - 26 Abril, 2025 - 02:17

Link to gcc porting notes

← Older revision Revision as of 01:17, 26 April 2025 (One intermediate revision by the same user not shown)Line 49: Line 49:     '''Solution''': Patch the source to #include the right standard header file. It's probably an obvious one like #include <stdlib.h> or #include <string.h>. '''Solution''': Patch the source to #include the right standard header file. It's probably an obvious one like #include <stdlib.h> or #include <string.h>.  +  +Added for mga10.  +  +== incompatibleptr ==  +  +'''Problem''': A function is being passed in a value that doesn't match the type in the function prototype.  +  +'''Solution''': If it is a function pointer being called that does not have a full prototype, [https://gcc.gnu.org/gcc-15/porting_to.html#c23 gcc >= 15] assumes arguments are int, whereas previous versions did not check the type of arguments in this case. If lacking a full prototype is the problem and there is no function prototype, add one in an appropriate .h file (or make the partial prototype complete). If compiling a library, make sure that a new prototype doesn't affect backwards compatibility with older applications using the library. If it's not possible to add a prototype, you can add the ''-std=gnu17'' compiler option (e.g. by appending to ''CFLAGS'' before the build step) to revert to the old behaviour (but don't do this to fix a library because it means that all applications using the library will also need to add the flag). If there ''is'' a prototype but it does not match the number of arguments passed in, then it is a compatibility break, likely with some dependent library, and the application will need to be patched to use the correct arguments.     Added for mga10. Added for mga10. Line 139: Line 147:     '''More info''': https://gcc.gnu.org/gcc-14/porting_to.html '''More info''': https://gcc.gnu.org/gcc-14/porting_to.html  +  +Added for mga10.  +  +== toomanyargs ==  +  +'''Problem''': A function is being called that takes more arguments than are being given.  +  +'''Solution''': If the function does not have a prototype, [https://gcc.gnu.org/gcc-15/porting_to.html#c23 gcc >= 15] assumes it takes 0 arguments, whereas previous versions did not check the number of arguments in this case. If lacking a prototype is the problem and there is no function prototype, add one in an appropriate .h file. If compiling a library, make sure that a new prototype doesn't affect backwards compatibility with older applications using the library. If it's not possible to add a prototype, you can add the ''-std=gnu17'' compiler option (e.g. by appending to ''CFLAGS'' before the build step) to revert to the old behaviour (but don't do this to fix a library because it means that all applications using the library will also need to add the flag). If there ''is'' a prototype but it does not match the number of arguments passed in, then it is a compatibility break, likely with some dependent library, and the application will need to be patched to use the correct arguments.     Added for mga10. Added for mga10. Danf
Categorías: Wiki de Mageia

1 Enero, 1970 - 01:00
Feed