LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-19-2005, 06:05 PM   #1
3saul
Member
 
Registered: Aug 2004
Location: Brisbane, Australia
Distribution: Ubuntu/Fedora
Posts: 86

Rep: Reputation: 15
Determining which X Modules being used (not loaded)


I'm wondering if there is a way to find out if say dri or glx are being used. I know that in xorg.conf you specifiy that you want them loaded - however I'm wanting to determine if they're being used at any point in time. Is there a command for this like lsmod shows loaded kernel modules, is there one for X?
 
Old 12-20-2005, 05:35 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Code:
cat /proc/modules
 
Old 12-20-2005, 10:35 PM   #3
3saul
Member
 
Registered: Aug 2004
Location: Brisbane, Australia
Distribution: Ubuntu/Fedora
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks for the response but it does not work. This lists kernel modules not x (X11) modules (such as glx,dri). Any other idea's???
 
Old 12-21-2005, 06:12 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I don't know any command that does exactly what you ask but you can have a look at
Code:
xdpyinfo
It gives you the list of extensions at X load time.
 
Old 12-21-2005, 07:55 AM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
If you look in the log file in /var (for xorg-x11 it is Xorg.0.log, for XFree86 I believe it is xfree.0.log or something similar) and read through the output you can see what modules were loaded. To go one further, if you do a "grep LoadModule Xorg.0.log" it'll output just the modules loaded.

For example, from my laptop:

Code:
j_shaw@jshaw /var/log $ grep LoadModule Xorg.0.log
(II) LoadModule: "bitmap"
(II) LoadModule: "pcidata"
(II) LoadModule: "record"
(II) LoadModule: "extmod"
(II) LoadModule: "dbe"
(II) LoadModule: "dri"
(II) LoadModule: "glx"
(II) LoadModule: "GLcore"
(II) LoadModule: "xtrap"
(II) LoadModule: "freetype"
(II) LoadModule: "type1"
(II) LoadModule: "radeon"
(II) LoadModule: "ati"
(II) LoadModule: "mouse"
(II) LoadModule: "kbd"
(II) LoadModule: "radeon"
(II) LoadModule: "vgahw"
(II) LoadModule: "int10"
(II) LoadModule: "ddc"
(II) LoadModule: "i2c"
(II) LoadModule: "fb"
(II) LoadModule: "ramdac"
(II) LoadModule: "xaa"
(II) LoadModule: "theatre_detect"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Change Loaded Modules thadco Linux - Hardware 1 09-06-2005 07:58 PM
Determining USB modules (ohci vs. uhci) JediGuy_bob Linux - Hardware 3 01-06-2005 12:25 PM
Find out which modules are loaded? redneon Linux - General 8 05-25-2004 12:03 PM
Kernel 2.6.5 -> no modules loaded Spheerke Debian 4 04-07-2004 09:05 PM
how do you find out what modules loaded?? osat3ch Mandriva 3 01-17-2004 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:10 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