[gentoo-user] Re: copy xorg.conf from knoppix

2006-08-09 Thread THUFIR HAWAT

The wiki mentions knoppix in relation to xorg.conf, but I don't follow
what's happening in the knoppix configuration.

The xorg.conf on the hard drive, generated by gentoo, is being moved
so that knoppix can use it?


' Configuring Video in X11
Code: Configuring x.org

# Text configuration
xorgconfig


# Automatic Xorg Configuration
X -configure
mv /root/xorg.conf.new /root/xorg.default.conf


# The knoppix configuration
emerge mkxf86config
mkxf86config.sh
mv /etc/X11/xorg.conf /root/xorg.knoppix.conf'
http://gentoo-wiki.com/Xorg



thanks,

Thufir
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: copy xorg.conf from knoppix

2006-08-09 Thread THUFIR HAWAT

On 8/9/06, THUFIR HAWAT [EMAIL PROTECTED] wrote:

When I type in, for instance, this window (gmail in firefox) the
screen flickers with each keystroke.  Also, if I'm in the terminal
window, for gnome, and type, same thing.

[...]

(IIRC the gentoo live CD didn't have this problem, but I might not
have noticed.  If there's a problem with using the knoppix config I'll
try with the live cd...)

[...]

The Gentoo live CD also has this problem.  However, it did seem to
correctly identify my video card (SiS).


-Thufir
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: copy xorg.conf from knoppix

2006-08-09 Thread THUFIR HAWAT

On 8/9/06, THUFIR HAWAT [EMAIL PROTECTED] wrote:
[...]

The knoppix CD seems to work fine, I'm in firefox, typing away at
gmail, with no lines/static on the screen :)

[...]

Here's the knoppix xorg.config file, which seems to work:

Script started on Wed Aug  9 17:53:23 2006
[EMAIL PROTECTED] cat /etc/X11/xorg.conf -n
1   Section ServerLayout
2   Identifier XFree86 Configured
3   Screen  0  Screen0 0 0
4   InputDeviceKeyboard0 CoreKeyboard
5   # PS/2 Mouse not detected
6   # Serial Mouse not detected
7   InputDeviceUSB Mouse CorePointer
8   EndSection
9   
   10   Section ServerFlags
   11   Option AllowMouseOpenFail  true
   12   
   13   EndSection
   14   
   15   Section Files
   16   RgbPath  /usr/share/X11/rgb
   17   ModulePath   /usr/lib/xorg/modules
   18   FontPath /usr/share/fonts/X11/misc:unscaled
   19   FontPath /usr/share/fonts/X11/75dpi:unscaled
   20   FontPath /usr/share/fonts/X11/100dpi:unscaled
   21   FontPath /usr/share/fonts/X11/Type1
   22   FontPath /usr/share/fonts/X11/Speedo
   23   FontPath /usr/share/fonts/X11/PEX
   24   # Additional fonts: Locale, Gimp, TTF...
   25   FontPath /usr/share/fonts/X11/cyrillic
   26   #   FontPath /usr/share/fonts/X11/latin2/75dpi
   27   #   FontPath /usr/share/fonts/X11/latin2/100dpi
   28   # True type and type1 fonts are also handled via xftlib, see
/etc/X11/XftConfig!
   29   FontPath /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
   30   FontPath /usr/share/fonts/truetype
   31   FontPath /usr/share/fonts/latex-ttf-fonts
   32   EndSection
   33   
   34   Section Module
   35   # Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
   36   Load  dbe # Double Buffering Extension, very important.
   37   Load  dri # This shouldn't be available choice if user has
selected driver vga, vesa or nv.
   38   Load  glx # GLX Extension.
   39   Load  freetype # Freetype fonts.
   40   Load  type1  # Type 1 fonts
   41   Load  record # Developer extension, usually not needed
   42   #   Load  extmod # This is okay, but if you look into man
xorg.conf you'll find option NOT to include DGA extension with
extmod, and for a good reason.. DGA causes instability as it access
videoram without consulting X about it.
   43   SubSection  extmod
   44   Option  omit xfree86-dga
   45   EndSubSection
   46   #   Load  speedo # Speedo fonts, this module doesn't exist in 
Xorg 7.0.17
   47   # The following are deprecated/unstable/unneeded in Xorg 7.0
   48   #   Load  ddc  # ddc probing of monitor, this should be
never present, as it gets automatically loaded.
   49   #   Load  GLcore # This should be never present, as it gets
automatically loaded.
   50   #   Load  bitmap # Should be never present, as it gets
automatically loaded. This is a font module, and loading it in
xorg.conf makes X try to load it twice.
   51   EndSection
   52   
   53   Section InputDevice
   54   Identifier  Keyboard0
   55   Driver  kbd
   56   Option  CoreKeyboard
   57   Option XkbRules xorg
   58   Option XkbModel pc105
   59   Option XkbLayout us
   60   
   61   EndSection
   62   
   63   Section InputDevice
   64   Identifier  Serial Mouse
   65   Driver  mouse
   66   Option  Protocol Microsoft
   67   Option  Device /dev/ttyS0
   68   Option  Emulate3Buttons true
   69   Option  Emulate3Timeout 70
   70   Option  SendCoreEvents  true
   71   EndSection
   72   
   73   Section InputDevice
   74   Identifier  PS/2 Mouse
   75   Driver  mouse
   76   Option  Protocol auto
   77   Option  ZAxisMapping  4 5
   78   Option  Device /dev/psaux
   79   Option  Emulate3Buttons true
   80   Option  Emulate3Timeout 70
   81   Option  SendCoreEvents  true
   82   EndSection
   83   
   84   Section InputDevice
   85   Identifier  USB Mouse
   86   Driver  mouse
   87   Option  Device/dev/input/mice
   88   Option  SendCoreEvents  true
   89   Option  Protocol  IMPS/2
   90   Option  ZAxisMapping  4 5
   91   Option  Buttons   5
   92   EndSection
   93   
   94   # Auto-generated by KNOPPIX mkxf86config
   95   
   96   Section Monitor
   97   Identifier  Monitor0
   98   Option  DPMStrue
   99   VendorName  SAM
  100   ModelName   SAM0022
  101   HorizSync 30 - 

[gentoo-user] Re: copy xorg.conf from knoppix

2006-08-09 Thread THUFIR HAWAT

On 8/9/06, THUFIR HAWAT [EMAIL PROTECTED] wrote:
[...]

 The knoppix CD seems to work fine, I'm in firefox, typing away at
 gmail, with no lines/static on the screen :)
[...]

Here's the knoppix xorg.config file, which seems to work:

[...]

here's the error message:

[EMAIL PROTECTED] ~/Desktop $
[EMAIL PROTECTED] ~/Desktop $ cat error.txt  -n
1  Script started on Wed Aug  9 19:31:49 2006
2  [EMAIL PROTECTED] ~ $ startx
3
4
5  X Window System Version 6.8.2
6  Release Date: 9 February 2005
7  X Protocol Version 11, Revision 0, Release 6.8.2
8  Build Operating System: Linux 2.6.15-gentoo-r5 i686 [ELF]
9  Current Operating System: Linux localhost 2.6.15-gentoo-r5 #1
SMP Mon Feb 13 20:23:47 UTC 2006 i686
   10  Build Date: 20 March 2006
   11  Before reporting problems, check http://wiki.X.Org
   12  to make sure that you have the latest version.
   13  Module Loader present
   14  Markers: (--) probed, (**) from config file, (==) default setting,
   15  (++) from command line, (!!) notice, (II) informational,
   16  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   17  (==) Log file: /var/log/Xorg.0.log, Time: Wed Aug  9 19:31:55 2006
   18  (==) Using config file: /etc/X11/xorg.conf
   19  Couldn't open RGB_DB '/usr/share/X11/rgb'
   20  (EE) Failed to load module bitmap (module does not exist, 0)
   21  (EE) Failed to load module pcidata (module does not exist, 0)
   22
   23  Fatal server error:
   24  Unable to load required base modules, Exiting...
   25
   26
   27  Please consult the The X.Org Foundation support
   28   at http://wiki.X.Org
   29   for help.
   30  Please also check the log file at /var/log/Xorg.0.log for
additional information.
   31
   32  XIO:  fatal IO error 104 (Connection reset by peer) on X server :0.0
   33after 0 requests (0 known processed) with 0 events remaining.
   34  Couldnt get a file descriptor referring to the console
   35  [EMAIL PROTECTED] ~ $ date
   36  Wed Aug  9 19:31:59 IST 2006
   37  [EMAIL PROTECTED] ~ $ whoami
   38  thufir
   39  [EMAIL PROTECTED] ~ $ exit
   40  exit
   41
   42  Script done on Wed Aug  9 19:32:05 2006
[EMAIL PROTECTED] ~/Desktop $


So, can't just replace /etc/X11/xorg.conf from gentoo with the knoppix
version :(

Richard wrote:


AFAIK this will work fine, but I have never tried it.  You could copy
it to some other name, like /etc/X11/xorg.conf.knoppix, and then use
X -config /etc/X11/xorg.conf.knoppix to test it.  Also watch out for
ModulePath; you may have to remove or fix it if it shows up in the
Knoppix config file.  It should point to /usr/lib/xorg/modules.

from http://hawat.thufir.googlepages.com/xorg.conf.knoppix.txt
a few lines:

   15   Section Files
   16   RgbPath  /usr/share/X11/rgb
   17   ModulePath   /usr/lib/xorg/modules

so that, at least, seems ok.

I'm operating under the assumption that it's a problem with xorg.conf,
of course.

The knoppix version isn't working due to something with RGB.



thanks,

Thufir
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: copy xorg.conf from knoppix

2006-08-09 Thread Richard Fish

On 8/9/06, THUFIR HAWAT [EMAIL PROTECTED] wrote:

 5  X Window System Version 6.8.2


Hrm, I assumed you were using the current version of x.org.  I am
betting that Knoppix is using xorg 7.0 (aka, modular X), so no, you
will not be able to use the configuration file directly without fixing
the various paths in it.  But even then, you might find that Knoppix
works better simply because it is using a current version of x.org,
and not related to the configuration at all.

So I suggest to upgrade to modular X first.  The guide can be found here:
http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml

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



[gentoo-user] Re: copy xorg.conf from knoppix

2006-08-09 Thread THUFIR HAWAT

On 8/9/06, THUFIR HAWAT [EMAIL PROTECTED] wrote:

I did notice that Knoppix recognized a specific monitor, wheras the
Gentoo live CD only recognized a generic monitor.  Why would Knoppix
recognize a specific monitor where gentoo doesn't?

I would've assumed things like that are (nearly) independant of the distro.

-Thufir


It's just a matter of commenting out things which cause problems?  I'm
assuming there's a rainbow at the end :)


Script started on Wed Aug  9 20:16:38 2006
localhost ~ # X -config /etc/X11/xorg.conf.knoppix

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6

_XSERVTransOpen: transport open failed for inet6/localhost:0

_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6



X Window System Version 6.8.2

Release Date: 9 February 2005

X Protocol Version 11, Revision 0, Release 6.8.2

Build Operating System: Linux 2.6.15-gentoo-r5 i686 [ELF]

Current Operating System: Linux localhost 2.6.15-gentoo-r5 #1 SMP Mon
Feb 13 20:23:47 UTC 2006 i686

Build Date: 20 March 2006

Before reporting problems, check http://wiki.X.Org

to make sure that you have the latest version.

Module Loader present

Markers: (--) probed, (**) from config file, (==) default setting,

(++) from command line, (!!) notice, (II) informational,

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: /var/log/Xorg.0.log, Time: Wed Aug  9 20:16:58 2006

(++) Using config file: /etc/X11/xorg.conf.knoppix

(EE) Failed to load module bitmap (module does not exist, 0)

(EE) Failed to load module pcidata (module does not exist, 0)



Fatal server error:

Unable to load required base modules, Exiting...





Please consult the The X.Org Foundation support

 at http://wiki.X.Org

for help.

Please also check the log file at /var/log/Xorg.0.log for additional
information.



localhost ~ # cat /etc/X11/xorg.conf.knoppix -n

1   Section ServerLayout

2   Identifier XFree86 Configured

3   Screen  0  Screen0 0 0

4   InputDeviceKeyboard0 CoreKeyboard

5   # PS/2 Mouse not detected

6   # Serial Mouse not detected

7   InputDeviceUSB Mouse CorePointer

8   EndSection

9   

   10   Section ServerFlags

   11   Option AllowMouseOpenFail  true

   12   

   13   EndSection

   14   

   15   Section Files

   16   #   RgbPath  /usr/share/X11/rgb

   17   ModulePath   /usr/lib/xorg/modules

   18   FontPath /usr/share/fonts/X11/misc:unscaled

   19   FontPath /usr/share/fonts/X11/75dpi:unscaled

   20   FontPath /usr/share/fonts/X11/100dpi:unscaled

   21   FontPath /usr/share/fonts/X11/Type1

   22   FontPath /usr/share/fonts/X11/Speedo

   23   FontPath /usr/share/fonts/X11/PEX

   24   # Additional fonts: Locale, Gimp, TTF...

   25   FontPath /usr/share/fonts/X11/cyrillic

   26   #   FontPath /usr/share/fonts/X11/latin2/75dpi

   27   #   FontPath /usr/share/fonts/X11/latin2/100dpi

   28   # True type and type1 fonts are also handled via xftlib, see
/etc/X11/XftConfig!

   29   FontPath /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType

   30   FontPath /usr/share/fonts/truetype

   31   FontPath /usr/share/fonts/latex-ttf-fonts

   32   EndSection

   33   

   34   Section Module

   35   # Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408

   36   Load  dbe # Double Buffering Extension, very important.

   37   Load  dri # This shouldn't be available choice if user has
selected driver vga, vesa or nv.

   38   Load  glx # GLX Extension.

   39   Load  freetype # Freetype fonts.

   40   Load  type1  # Type 1 fonts

   41   Load  record # Developer extension, usually not needed

   42   #   Load  extmod # This is okay, but if you look into man
xorg.conf you'll find option NOT to include DGA extension with
extmod, and for a good reason.. DGA causes instability as it access
videoram without consulting X about it.

   43   SubSection  extmod

   44   Option  omit xfree86-dga

   45   EndSubSection

   46   #   Load  speedo # Speedo fonts, this module doesn't exist in 
Xorg 7.0.17

   47   # The following are deprecated/unstable/unneeded in Xorg 7.0

   48   #   Load  ddc  # ddc probing of monitor, this should be
never present, as it gets automatically loaded.

   49   #   Load  GLcore # This should be never present, as it gets
automatically loaded.

   50   #   Load  bitmap # Should be never present, as it gets
automatically loaded. This is a font module, and loading it in
xorg.conf makes X try to load it twice.

   51   EndSection

   52   

   53   Section InputDevice

   54   Identifier  Keyboard0