LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-02-2016, 07:22 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
Question Audacious OpenGL Spectrum Analyzer


Trying to run the OpenGL Spectrum Analyzer under Audacious, and it just crashes:

Code:
 
slackuser@slackmachine:~$ audacious
The program 'audacious' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 4620 error_code 8 request_code 153 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
WARNING main.cc:319 [main_cleanup]: exit() called unexpectedly; skipping normal cleanup.
slackuser@slackmachine:~$
This is just stock Audacious with what is included(OpenGL Analyzer) - I am running the NVIDIA blob and I do have the 32-bit libraries and OpenGL installed - so what gives?
 
Old 11-02-2016, 08:20 PM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Do other glx apps work e.g. glxgears?

I've found there can be problems if the mesa package is updated/reinstalled over an earlier nvidia blob installation. Reinstalling the nvidia blob has always fixed that problem for me.

chris
 
Old 11-02-2016, 08:40 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Original Poster
Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
They work:

Code:
slackuser@slackmachine:~$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
2 frames in 6.0 seconds =  0.335 FPS
301 frames in 5.0 seconds = 60.094 FPS
300 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 60.000 FPS
slackuser@slackmachine:~$ ^C
slackuser@slackmachine:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
And I did not mess with any of the mesa packages. After doing a clean install of 14.2 , I installed the NVIDIA blob, THEN I did go multilib but if that were the case, other programs such as Google Earth would not be working, but I am able to run Google Earth and AFAIK it depends on mesa too right?

Last edited by Jeebizz; 11-02-2016 at 08:42 PM.
 
Old 11-02-2016, 09:12 PM   #4
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
I just tried and found the same problem and its definitely not due to the similar mesa/nvidia thing I've seen previously. I also just tried 32bit & 64bit VM's (no nvidia blobs) and it works fine there.
 
Old 11-02-2016, 09:39 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Original Poster
Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
So per your post, it just does not like NVIDIA.

I don't particularly want to switch to the Nouveau driver - I rather like the NVIDIA utilities provided with the blob, and everything works the way I like it - plus I don't know how it will affect my double monitor(reflected) setup that I have.

Last edited by Jeebizz; 11-02-2016 at 09:41 PM.
 
Old 11-03-2016, 12:51 AM   #6
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 914

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
I downloaded & built the latest version (3.8) using the existing build scripts for xap/audacious & xap/audacious-plugins. At first the result was exactly the same when clicking the OpenGL Spectrum Analyzer checkbox - crashed audacious. However, I had noticed on their website that an optional Qt interface could be enabled by adding '--enable-qt' to the configure line of the build script. I rebuilt with --enable-qt and ran it as 'audacious --qt' and in that mode, the OpenGL Spectrum Analyzer checkbox worked as expected - no crash and nice looking opengl visualization.

I then went back to see if the existing version (3.7.2) would work the same way but the audacious-plugins-3.7.2 would not compile with --enable-qt.

So, short of fixing the actual bug, the workaround is to build version 3.8 with the --enable-qt option and always use the --qt option at runtime.

chris

Last edited by chris.willing; 11-03-2016 at 12:56 AM. Reason: runtime switch is --qt (not -qt)
 
Old 11-03-2016, 01:05 AM   #7
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Original Poster
Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
Its a solution - I could just recompile using slackbuilds for 3.7.2 - Just too lazy right now; then I have to figure out the shortcuts for my particular WM(LXDE) - since I don't feel like running audacious in a terminal, seems unnecessary to me. Overall I consider that a solution though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative to Audacious for eac cuesheets, midi playback (hardware)? Fix audacious? Holering Linux - Software 0 10-02-2010 11:19 PM
Spectrum Analyzer decaren Linux - Software 6 05-05-2009 03:32 AM
spectrum analyzer and equalizer tanoatlq Programming 8 10-27-2008 03:55 PM
Can't disable XMMS opengl spectrum analyzer plugin undeaf Linux - Newbie 4 05-25-2005 04:55 PM
XMMS Open GL Spectrum analyzer not working... Bensoft Kill MS Linux - Software 0 11-21-2003 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration