Description of problem: 32-bit apps fail to run with Primus in a 64bit install of mga7. It gives the error: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 23 Current serial number in output stream: 24 Running "optirun -vv" gives the info: [ 7786.517116] [DEBUG] Primus LD Path: /usr/lib64/primus:/usr/lib/primus but /usr/lib/primus does not exist. Mga6 had a libprimus package. Mga7 only has lib64primus.
Workaround: installing libprimus-0.2-1.mga6.nonfree.i586.rpm on the mga7 system fixes the issue - so that package can be imported as is.
Assigning to the registered maintainer, CC'ing the last submitter. primus recommends the 32bit library on x86_64 since Nov 28 2015, it would be nice if it gets packaged again :-)
Whiteboard: (none) => MGA7TOOSummary: Missing 32-bit libprimus in mga7? => 32-bit apps fail to run with Primus in a 64bit install because of missing libprimus.Source RPM: lib64primus => primusCC: (none) => geiger.david68210, marja11Version: 7 => CauldronAssignee: bugsquad => rverschelde
That's due to this incorrect change: http://svnweb.mageia.org/packages/cauldron/primus/current/SPECS/primus.spec?revision=1395690&view=markup I'm not sure how this should be handled, but the 32bit version of the library is still needed to play 32bit games on 64bit systems. The 64bit Nvidia driver contains the 32bit libraries too: http://sophie.zarb.org/rpms/a31445f67e3279a9553a79ff0dcc5423/files So maybe it shouldn't have been made ExclusiveArch in the first place (CC tmb)?
QA Contact: (none) => rverscheldeCC: (none) => tmbAssignee: rverschelde => geiger.david68210
So ok the 32bit library is again provided and only the "library" to run 32bits games on 64bits system, please try upcoming primus-0.2-4.1.mga7 in Nonfree/Updates_testing repo!
Assigning to QA, Advisory: ======================== Our current primus lack of 32bit support but if you run 32bits games on 64bits system this is needed. So this update added back the 32bit library. ======================== Packages in 7/nonfree/updates_testing: ======================== primus-0.2-4.1.mga7.nonfree.x86_64.rpm lib64primus-0.2-4.1.mga7.nonfree.x86_64.rpm primus-nvidia-0.2-4.1.mga7.nonfree.x86_64.rpm libprimus-0.2-4.1.mga7.nonfree.i586.rpm Source RPM: ======================== primus-0.2-4.1.mga7.nonfree.src.rpm
Assignee: geiger.david68210 => qa-bugs
Whiteboard: MGA7TOO => (none)Version: Cauldron => 7
Installed primus and dependencies on a 64-bit system. The 32-bit libprimus was not there. Used qarepo to get the above packages for both arches, then went for updates. The 32-bit library was not listed as an update, but when I looked for it using MCC it was now available. All packages installed cleanly. I did not try to use primus, as this test was only to see if the 32-bit library is now available and will install. Validating. Advisory in Comment 5.
CC: (none) => andrewsfarm, sysadmin-bugsKeywords: (none) => validated_updateWhiteboard: (none) => MGA7-64-OK
Validated update.
Keywords: (none) => advisory
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0223.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED