public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] Is Xorg server built in static form?
@ 2007-01-12  7:41 Daniel Iliev
  2007-01-12  8:05 ` Jan Jitse Venselaar
  2007-01-12 18:15 ` Richard Fish
  0 siblings, 2 replies; 14+ messages in thread
From: Daniel Iliev @ 2007-01-12  7:41 UTC (permalink / raw
  To: gentoo-amd64

Hi, everyone

I'm trying not to load "XFree86-DGA" extension as advised in
http://wiki.gentoo-xeffects.org/NVidia, because I have a* nVidia* based
video card. So, my "/etc/X11/xorg.conf" looks like this:

--snip--
Section "Module"
       Load  "extmod"

           SubSection "extmod"
              Option  "omit xfree86-dga"
           EndSubSection

        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "freetype"
        Load  "type1"
EndSection
--snip---

...but after restarting X my "/var/log/Xorg.0.log" reads:

--snip--
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 7.1.1, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
--snip--


Reading "man xorg.conf" I found this: "The Module section is used to
specify which Xorg  server  modules  should be loaded. This section is
ignored when the Xorg server is built in static form."

Am I doing something wrong or xorg-serve is built in static form even
without the "static" use-flag?


emerge -pv xorg-server

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild   R   ] x11-base/xorg-server-1.1.1-r1  USE="aiglx nptl sdl xorg
(-3dfx) -debug -dmx -dri -ipv6 -kdrive -minimal -xprint"
INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron
-digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen
-jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount
-spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom"
VIDEO_CARDS="nvidia -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev
-fglrx -glint -i128 (-i740) -i810 (-impact) (-imstt) -mach64 -mga
-neomagic (-newport) (-nsc) -nv -r128 -radeon -rendition -s3 -s3virge
-savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3)
(-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l
-vesa -vga -via -vmware -voodoo" 0 kB

Total size of downloads: 0 kB


Any ideas how to deal with this will be much appreciated.

-- 
Best regards,
Daniel


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-01-12  7:41 [gentoo-amd64] Is Xorg server built in static form? Daniel Iliev
@ 2007-01-12  8:05 ` Jan Jitse Venselaar
  2007-01-12  9:13   ` Daniel Iliev
  2007-01-12 18:15 ` Richard Fish
  1 sibling, 1 reply; 14+ messages in thread
From: Jan Jitse Venselaar @ 2007-01-12  8:05 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

On Friday 12 January 2007 08:41, Daniel Iliev wrote:
>
> Any ideas how to deal with this will be much appreciated.
>
> --
> Best regards,
> Daniel
I have exactly the same "issue". I'm not sure it is a problem though. 
Xorg-server is not statically linked:

localhost # file /usr/bin/Xorg
/usr/bin/Xorg: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for 
GNU/Linux 2.6.17, dynamically linked (uses shared libs), stripped

Nothing seems to really fail because of this DGA library though, so I'm not 
sure there is a problem.

Jan Jitse

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-01-12  8:05 ` Jan Jitse Venselaar
@ 2007-01-12  9:13   ` Daniel Iliev
  0 siblings, 0 replies; 14+ messages in thread
From: Daniel Iliev @ 2007-01-12  9:13 UTC (permalink / raw
  To: gentoo-amd64

Jan Jitse Venselaar wrote:
> On Friday 12 January 2007 08:41, Daniel Iliev wrote:
>   
>> Any ideas how to deal with this will be much appreciated.
>>
>> --
>> Best regards,
>> Daniel
>>     
> I have exactly the same "issue". I'm not sure it is a problem though. 
> Xorg-server is not statically linked:
>
> localhost # file /usr/bin/Xorg
> /usr/bin/Xorg: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for 
> GNU/Linux 2.6.17, dynamically linked (uses shared libs), stripped
>
> Nothing seems to really fail because of this DGA library though, so I'm not 
> sure there is a problem.
>
> Jan Jitse
>   

OMG! Where is my mind? Of course I had to test it with the "file" utility:

file /usr/bin/Xorg
/usr/bin/Xorg: setuid ELF 64-bit LSB executable, AMD x86-64, version 1
(SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

It's not a problem here also. I have no troubles with X but I wanted to
try compiz with nVidia. Everything started when I accidentally found
this site: "http://wiki.gentoo-xeffects.org/Main_Page". Following the
advices I tried to stop DGA and found that it doesn't work for me and
then I sent my question here. I want to be sure I'm not doing something
wrong before submitting a bug report.

So, is there anyone (besides both of us) in the same situation?

-- 
Best regards,
Daniel


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-01-12  7:41 [gentoo-amd64] Is Xorg server built in static form? Daniel Iliev
  2007-01-12  8:05 ` Jan Jitse Venselaar
@ 2007-01-12 18:15 ` Richard Fish
  2007-01-12 22:45   ` Daniel Iliev
  1 sibling, 1 reply; 14+ messages in thread
From: Richard Fish @ 2007-01-12 18:15 UTC (permalink / raw
  To: gentoo-amd64

On 1/12/07, Daniel Iliev <danny@ilievnet.com> wrote:
>        Load  "extmod"
>
>            SubSection "extmod"

man xorg.conf.  "Load" and "SubSection" are two ways to specify the
same thing for modules, so you should use one or the other, not both.

-Richard
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-01-12 18:15 ` Richard Fish
@ 2007-01-12 22:45   ` Daniel Iliev
  2007-01-15  9:49     ` Andrei Slavoiu
  2007-02-26 15:31     ` Paul de Vrieze
  0 siblings, 2 replies; 14+ messages in thread
From: Daniel Iliev @ 2007-01-12 22:45 UTC (permalink / raw
  To: gentoo-amd64

Richard Fish wrote:
>
> man xorg.conf.  "Load" and "SubSection" are two ways to specify the
> same thing for modules, so you should use one or the other, not both.
>
> -Richard


I tried this:
--snip--
Section "Module"
#       Load  "extmod"

           SubSection "extmod"
              Option  "omit xfree86-dga"
           EndSubSection

        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "freetype"
        Load  "type1"
EndSection
--snip--

and got the same result.
Let me rephrase the question: I want to load all extensions provided by
"extmod", all but "xfree86-dga". How should I do this?


-- 
Best regards,
Daniel


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-01-12 22:45   ` Daniel Iliev
@ 2007-01-15  9:49     ` Andrei Slavoiu
  2007-01-15 13:23       ` Daniel Iliev
  2007-02-26 15:31     ` Paul de Vrieze
  1 sibling, 1 reply; 14+ messages in thread
From: Andrei Slavoiu @ 2007-01-15  9:49 UTC (permalink / raw
  To: gentoo-amd64

--- Daniel Iliev <danny@ilievnet.com> wrote:
>               Option  "omit xfree86-dga"
> Let me rephrase the question: I want to load all
> extensions provided by
> "extmod", all but "xfree86-dga". How should I do
> this?
Did you try using the exact cases as in the man page?
There is says XFree86-DGA not xfree86-dga. I have no
idea if the X server is actualy case sensitive, it's
just an idea.


 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-01-15  9:49     ` Andrei Slavoiu
@ 2007-01-15 13:23       ` Daniel Iliev
  0 siblings, 0 replies; 14+ messages in thread
From: Daniel Iliev @ 2007-01-15 13:23 UTC (permalink / raw
  To: gentoo-amd64

Andrei Slavoiu wrote:
> --- Daniel Iliev <danny@ilievnet.com> wrote:
>   
>>               Option  "omit xfree86-dga"
>> Let me rephrase the question: I want to load all
>> extensions provided by
>> "extmod", all but "xfree86-dga". How should I do
>> this?
>>     
> Did you try using the exact cases as in the man page?
> There is says XFree86-DGA not xfree86-dga. I have no
> idea if the X server is actualy case sensitive, it's
> just an idea.
>
>
>  
> ____________________________________________________________________________________
> Finding fabulous fares is fun.  
> Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
> http://farechase.yahoo.com/promo-generic-14795097
>   

Yes, I've already tried that - no change.

-- 
Best regards,
Daniel


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-01-12 22:45   ` Daniel Iliev
  2007-01-15  9:49     ` Andrei Slavoiu
@ 2007-02-26 15:31     ` Paul de Vrieze
  2007-02-26 17:07       ` Jesús Guerrero
  1 sibling, 1 reply; 14+ messages in thread
From: Paul de Vrieze @ 2007-02-26 15:31 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

On Friday 12 January 2007 23:45, Daniel Iliev wrote:
> Richard Fish wrote:
> > man xorg.conf.  "Load" and "SubSection" are two ways to specify the
> > same thing for modules, so you should use one or the other, not both.
> >
> > -Richard
>
> I tried this:
> --snip--
> Section "Module"
> #       Load  "extmod"
>
>            SubSection "extmod"
>               Option  "omit xfree86-dga"

I'm a bit late, but this line is wrong. It should probably be
Option "omit" "xfree86-dga"
(note the extra two double quotes).

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net

[-- Attachment #2: Type: application/pgp-signature, Size: 185 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-02-26 15:31     ` Paul de Vrieze
@ 2007-02-26 17:07       ` Jesús Guerrero
  2007-02-27 12:48         ` Daniel Iliev
  0 siblings, 1 reply; 14+ messages in thread
From: Jesús Guerrero @ 2007-02-26 17:07 UTC (permalink / raw
  To: gentoo-amd64

El Mon, 26 Feb 2007 16:31:54 +0100
Paul de Vrieze <pauldv@gentoo.org> escribió:

> On Friday 12 January 2007 23:45, Daniel Iliev wrote:
> > Richard Fish wrote:
> > > man xorg.conf.  "Load" and "SubSection" are two ways to specify
> > > the same thing for modules, so you should use one or the other,
> > > not both.
> > >
> > > -Richard
> >
> > I tried this:
> > --snip--
> > Section "Module"
> > #       Load  "extmod"
> >
> >            SubSection "extmod"
> >               Option  "omit xfree86-dga"
> 
> I'm a bit late, but this line is wrong. It should probably be
> Option "omit" "xfree86-dga"
> (note the extra two double quotes).
> 
> Paul
> 

To quote the xorg.conf man page

MODULE SECTION
[...]
       Example: the extmod module (which contains a miscellaneous group
of server extensions) can be loaded, with the XFree86-DGA extension
disabled by using the following entry:

           SubSection "extmod"
              Option  "omit XFree86-DGA"
           EndSubSection

The same is true for xfree86.
--
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-02-26 17:07       ` Jesús Guerrero
@ 2007-02-27 12:48         ` Daniel Iliev
  2007-03-03 10:46           ` Michel Merinoff
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Iliev @ 2007-02-27 12:48 UTC (permalink / raw
  To: gentoo-amd64

Jesús Guerrero wrote:
> El Mon, 26 Feb 2007 16:31:54 +0100
> Paul de Vrieze <pauldv@gentoo.org> escribió:
>
>   
>> On Friday 12 January 2007 23:45, Daniel Iliev wrote:
>>     
>>> Richard Fish wrote:
>>>       
>>>> man xorg.conf.  "Load" and "SubSection" are two ways to specify
>>>> the same thing for modules, so you should use one or the other,
>>>> not both.
>>>>
>>>> -Richard
>>>>         
>>> I tried this:
>>> --snip--
>>> Section "Module"
>>> #       Load  "extmod"
>>>
>>>            SubSection "extmod"
>>>               Option  "omit xfree86-dga"
>>>       
>> I'm a bit late, but this line is wrong. It should probably be
>> Option "omit" "xfree86-dga"
>> (note the extra two double quotes).
>>
>> Paul
>>
>>     
>
> To quote the xorg.conf man page
>
> MODULE SECTION
> [...]
>        Example: the extmod module (which contains a miscellaneous group
> of server extensions) can be loaded, with the XFree86-DGA extension
> disabled by using the following entry:
>
>            SubSection "extmod"
>               Option  "omit XFree86-DGA"
>            EndSubSection
>
> The same is true for xfree86.
>   




I gave a try to

  Option "omit" "xfree86-dga"

and to

  Option "omit" "XFree86-DGA"

and it makes no difference:

  grep DGA /var/log/Xorg.0.log
  (II) Loading extension XFree86-DGA


-- 
Best regards,
Daniel


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-02-27 12:48         ` Daniel Iliev
@ 2007-03-03 10:46           ` Michel Merinoff
  2007-03-03 11:59             ` Daniel Iliev
  0 siblings, 1 reply; 14+ messages in thread
From: Michel Merinoff @ 2007-03-03 10:46 UTC (permalink / raw
  To: gentoo-amd64

Daniel Iliev wrote:
> Jesús Guerrero wrote:
>   
>> El Mon, 26 Feb 2007 16:31:54 +0100
>> Paul de Vrieze <pauldv@gentoo.org> escribió:
>>
>>   
>>     
>>> On Friday 12 January 2007 23:45, Daniel Iliev wrote:
>>>     
>>>       
>>>> Richard Fish wrote:
>>>>       
>>>>         
>>>>> man xorg.conf.  "Load" and "SubSection" are two ways to specify
>>>>> the same thing for modules, so you should use one or the other,
>>>>> not both.
>>>>>
>>>>> -Richard
>>>>>         
>>>>>           
>>>> I tried this:
>>>> --snip--
>>>> Section "Module"
>>>> #       Load  "extmod"
>>>>
>>>>            SubSection "extmod"
>>>>               Option  "omit xfree86-dga"
>>>>       
>>>>         
>>> I'm a bit late, but this line is wrong. It should probably be
>>> Option "omit" "xfree86-dga"
>>> (note the extra two double quotes).
>>>
>>> Paul
>>>
>>>     
>>>       
>> To quote the xorg.conf man page
>>
>> MODULE SECTION
>> [...]
>>        Example: the extmod module (which contains a miscellaneous group
>> of server extensions) can be loaded, with the XFree86-DGA extension
>> disabled by using the following entry:
>>
>>            SubSection "extmod"
>>               Option  "omit XFree86-DGA"
>>            EndSubSection
>>
>> The same is true for xfree86.
>>   
>>     
>
>
>
>
> I gave a try to
>
>   Option "omit" "xfree86-dga"
>
> and to
>
>   Option "omit" "XFree86-DGA"
>
> and it makes no difference:
>
>   grep DGA /var/log/Xorg.0.log
>   (II) Loading extension XFree86-DGA
>
>
>   
Try cutting out "extra double quotes". :) Without it works just fine.

michelle video # cat /etc/X11/xorg.conf | grep omit
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
michelle video # cat /var/log/Xorg.0.log | grep DGA

(no output)

		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-03-03 10:46           ` Michel Merinoff
@ 2007-03-03 11:59             ` Daniel Iliev
  2007-03-05 14:54               ` Andrei Slavoiu
  0 siblings, 1 reply; 14+ messages in thread
From: Daniel Iliev @ 2007-03-03 11:59 UTC (permalink / raw
  To: gentoo-amd64

Michel Merinoff wrote:
>
> Try cutting out "extra double quotes". :) Without it works just fine.
>
> michelle video # cat /etc/X11/xorg.conf | grep omit
>       Option    "omit xfree86-dga"   # don't initialise the DGA extension
> michelle video # cat /var/log/Xorg.0.log | grep DGA
>
> (no output)
>
> 	

Perhaps you don't have the start of this thread. This is how it looks
here and that's the reason I asked the question:

Section "Module"
       Load  "extmod"

           SubSection "extmod"
              Option  "omit xfree86-dga"
           EndSubSection

        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "freetype"
        Load  "type1"
EndSection

grep -i DGA /var/log/Xorg.0.log
(II) Loading extension XFree86-DGA

-- 
Best regards,
Daniel


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] Is Xorg server built in static form?
  2007-03-03 11:59             ` Daniel Iliev
@ 2007-03-05 14:54               ` Andrei Slavoiu
  2007-03-05 18:56                 ` [gentoo-amd64] [SOLVED] " Daniel Iliev
  0 siblings, 1 reply; 14+ messages in thread
From: Andrei Slavoiu @ 2007-03-05 14:54 UTC (permalink / raw
  To: gentoo-amd64

--- Daniel Iliev <danny@ilievnet.com> wrote:
> Perhaps you don't have the start of this thread.
> This is how it looks
> here and that's the reason I asked the question:
> 
> Section "Module"
>        Load  "extmod"
> 
>            SubSection "extmod"
>               Option  "omit xfree86-dga"
>            EndSubSection
Hmm, I was under the impresion you allready got an
answer for this problem, anyway the problem is that
you try to load "extmod" twice, first with DGA and
another time without it.
Just remove the Load "extmod" line, as SubSection
itself is enough to load the module.


 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-amd64] [SOLVED] Is Xorg server built in static form?
  2007-03-05 14:54               ` Andrei Slavoiu
@ 2007-03-05 18:56                 ` Daniel Iliev
  0 siblings, 0 replies; 14+ messages in thread
From: Daniel Iliev @ 2007-03-05 18:56 UTC (permalink / raw
  To: gentoo-amd64

Andrei Slavoiu wrote:
> --- Daniel Iliev <danny@ilievnet.com> wrote:
>   
>> Section "Module"
>>        Load  "extmod"
>>
>>            SubSection "extmod"
>>               Option  "omit xfree86-dga"
>>            EndSubSection
>>     
> Hmm, I was under the impresion you allready got an
> answer for this problem, anyway the problem is that
> you try to load "extmod" twice, first with DGA and
> another time without it.
> Just remove the Load "extmod" line, as SubSection
> itself is enough to load the module.
>
>   


This solved the "problem".
Thank you guys, thank you Andrei!

:-)

-- 
Best regards,
Daniel


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-03-05 18:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12  7:41 [gentoo-amd64] Is Xorg server built in static form? Daniel Iliev
2007-01-12  8:05 ` Jan Jitse Venselaar
2007-01-12  9:13   ` Daniel Iliev
2007-01-12 18:15 ` Richard Fish
2007-01-12 22:45   ` Daniel Iliev
2007-01-15  9:49     ` Andrei Slavoiu
2007-01-15 13:23       ` Daniel Iliev
2007-02-26 15:31     ` Paul de Vrieze
2007-02-26 17:07       ` Jesús Guerrero
2007-02-27 12:48         ` Daniel Iliev
2007-03-03 10:46           ` Michel Merinoff
2007-03-03 11:59             ` Daniel Iliev
2007-03-05 14:54               ` Andrei Slavoiu
2007-03-05 18:56                 ` [gentoo-amd64] [SOLVED] " Daniel Iliev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox