Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Debian 9: glxgears:i386 on 64 bit system.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
frank38
Posts: 114
Joined: 2017-10-30 12:04

[Solved] Debian 9: glxgears:i386 on 64 bit system.

#1 Post by frank38 »

Hi,
I'm trying to get glxgears @ 32 bit working on my 64 bit installation.
My graphic card is Nvidia, and I'm using the proprietary drivers.
I think I've installed all the 32 bit packages required by that program, but
glxgears do not work, I only get this message:
Error: couldn't find RGB GLX visual or fbconfig
The same error with glxinfo.
I don't know what's wrong.
Last edited by frank38 on 2018-01-15 19:41, edited 1 time in total.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#2 Post by p.H »

Do amd64 glxgears and glxinfo work ?
Doesn't the proprietary driver require a specific version of mesa-utils ?

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: Debian 9: glxgears:i386 on 64 bit system.

#3 Post by frank38 »

p.H wrote:Do amd64 glxgears and glxinfo work ?
Doesn't the proprietary driver require a specific version of mesa-utils ?
Both glxgears and glxinfo @ 64 bit work, games @ 64 bit too.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#4 Post by stevepusser »

I think I've installed all the 32 bit packages required by that program, but


Please expand on the above.

What command are you using to launch the 32 bit version of glxgears on 64-bit?
MX Linux packager and developer

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: Debian 9: glxgears:i386 on 64 bit system.

#5 Post by frank38 »

stevepusser wrote:
I think I've installed all the 32 bit packages required by that program, but


Please expand on the above.

What command are you using to launch the 32 bit version of glxgears on 64-bit?
You must first add the i386 architecture to the repos, update them, and then install the packages you need, as explained in the official Debian Wiki.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#6 Post by stevepusser »

I was more hoping for a list of what i386 packages you added, the confirmation with "apt policy" that they are installed, and the command you are using to try and run the 32-bit version, since I already have a similar working setup and can also try it.
MX Linux packager and developer

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#7 Post by Bulkley »

frank38 wrote:I'm trying to get glxgears @ 32 bit working . . .
Why? Glxgears has been obsolete for years. It was replaced by glxinfo. Other than watch the pretty gears go around (which was mesmerizing I admit) glxgears was not very useful.

Edited to add: Benchmarking

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#8 Post by stevepusser »

I just added a much better benchmark, glmark2 2017.07 for Stretch in my multimedia OBS repo. It's in Ubuntu but not Debian, so I adapted the older Ubuntu /debian folder for the newer release on Debian by cutting out all the Mir crud. At least the rotating thingies and the jellyfish are nice-looking. I'll also add virtualgl, which provides the glxspheres benchmark.

It won't build on vanilla Jessie, but should if you upgrade to the newer Mesa in jessie-backports.
MX Linux packager and developer

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: Debian 9: glxgears:i386 on 64 bit system.

#9 Post by frank38 »

Glxgears is the most simple program to check the 3d funtionality on my machine. I'm not interested in any benchmark. At the moment I have no working 3D with program @ 32 bit.
Some help?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#10 Post by stevepusser »

frank38 wrote:Glxgears is the most simple program to check the 3d funtionality on my machine. I'm not interested in any benchmark. At the moment I have no working 3D with program @ 32 bit.
Some help?
Since I've asked twice for some information and you've just responded with irrelevant asides about glxgears, no help.
MX Linux packager and developer

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: Debian 9: glxgears:i386 on 64 bit system.

#11 Post by frank38 »

stevepusser wrote:
frank38 wrote:Glxgears is the most simple program to check the 3d funtionality on my machine. I'm not interested in any benchmark. At the moment I have no working 3D with program @ 32 bit.
Some help?
Since I've asked twice for some information and you've just responded with irrelevant asides about glxgears, no help.
Because you have an Nvidia GPU, you should install libgl1-glvnd-nvidia-glx and libglx0-glvnd-nvidia and all the dependencies, and also libglew needed by glxgears@32 bit.

How to add the i386 repos: https://wiki.debian.org/Multiarch/HOWTO

dpkg --add-architecture i386
apt-get update
apt-get install package:i386

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: Debian 9: glxgears:i386 on 64 bit system.

#12 Post by frank38 »

Really anyone?

dagecko
Posts: 65
Joined: 2012-05-28 16:38

Re: Debian 9: glxgears:i386 on 64 bit system.

#13 Post by dagecko »

When you install the nvidia proprietary drivers, it is asked at some time if you want the 32 bit version of the driver along with the 64 bits. You should say yes.
I don't know how it is for the ones provided by debian.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#14 Post by stevepusser »

frank38 wrote:Really anyone?
You see, when you refuse to answer simple diagnostic questions, very few volunteers here feel like helping you, buddy. It's odd how that works, innit?

Anyway, go here: https://sourceforge.net/projects/virtualgl/files/2.5.2/

install the i386 virtualgl deb package.

Run "glxspheres".

Done.
MX Linux packager and developer

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: Debian 9: glxgears:i386 on 64 bit system.

#15 Post by frank38 »

stevepusser wrote:
frank38 wrote:Really anyone?
You see, when you refuse to answer simple diagnostic questions, very few volunteers here feel like helping you, buddy. It's odd how that works, innit?

Anyway, go here: https://sourceforge.net/projects/virtualgl/files/2.5.2/

install the i386 virtualgl deb package.

Run "glxspheres".

Done.
But, has someone ever taught you to read?
Last edited by frank38 on 2017-12-04 13:20, edited 1 time in total.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Debian 9: glxgears:i386 on 64 bit system.

#16 Post by bw123 »

Glxgears is the most simple program to check the 3d funtionality on my machine. I'm not interested in any benchmark. At the moment I have no working 3D with program @ 32 bit.
Some help?
Since glxgears is a simple program, and it is not working @ 32bit, my guess would be that the problem isn't with glxgears.
Because you have an Nvidia GPU, you should install libgl1-glvnd-nvidia-glx and libglx0-glvnd-nvidia and all the dependencies, and also libglew needed by glxgears@32 bit.

How to add the i386 repos: https://wiki.debian.org/Multiarch/HOWTO

dpkg --add-architecture i386
apt-get update
apt-get install package:i386
The sentence you wrote beginning with, "Because you have an Nvidia GPU,..." is not found on the link you provided to the debian wiki on multiarch. If you are following a guide, you should provide the link.

apt-get install package:i386 really? is that what you typed? You need to provide the information asked to get a good answer, not a generic answer, or some advice you found on the net with no link.

If you keep it up Garry will have someone teach you to ask a smart question.
resigned by AI ChatGPT

frank38
Posts: 114
Joined: 2017-10-30 12:04

[Solved] Re: Debian 9: glxgears:i386 on 64 bit system.

#17 Post by frank38 »

Well, problem solved.
First, I uninstalled all the Nvidia stuffs to check if glxgears@32-bit and glxinfo@32-bit worked with the Nouveau driver: they worked. Then, I downloaded from Nvidia the Linux driver (I chose the version 384.111) and installed: I got both program running.

Post Reply