Re: [gentoo-user] xorg.conf tweaks for HTPC machine?

2012-12-18 Thread Walter Dnes
On Mon, Dec 17, 2012 at 07:34:22PM +0100, pk wrote
 On 2012-12-17 17:23, Walter Dnes wrote:
 
 snipped a whole lot...
 
  1) Despite the TV being native 1366x768, it defaults to 1280x720, which
  is the first mode listed in the EDID.  Fixed-pixel displays show best at
  their native resolution  So I ran Xorg -configure and created an
  xorg.conf file, and forced 1366x768 resolution.  And got no picture.  I
  tried X again at 128x720.  Then I used xrandr to change to 1920x1080,
  and it worked.  Used xrandr to change to 1366x768, and it hung.  From
  Xorg.0.log ...
 
  Any ideas?
 
 You can perhaps try to find out what the tv is telling X: x11-misc/read-edid
 
 ... if you haven't already tried it (you can also use startx --
 -logverbose 6).

  The parsing of the EDID is already logged in gory detail in the
logfile.

 You can also set your preferred resolution in xorg.conf as such:
 
 In Section Screen:
 
 Subsection Display
   ...
   Modes 1366x768 1280x720 ...
 EndSubSection

  After some spelunking in the X log file, I noticed the following

[  1789.561] (II) intel(0): [DRI2] Setup complete
[  1789.561] (II) intel(0): [DRI2]   DRI driver: i965
[  1789.561] (II) intel(0): direct rendering: DRI2 Enabled
[  1789.561] (--) RandR disabled
[  1789.566] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr
/lib64/dri/i965_dri.so: cannot open shared object file: No such file or director
y)
[  1789.566] (EE) AIGLX: reverting to software rendering
[  1789.566] (II) AIGLX: Screen 0 is not DRI capable
[  1789.671] (II) AIGLX: Loaded and initialized swrast
[  1789.671] (II) GLX: Initialized DRISWRAST GL provider for screen 0

  lspci -v shows Kernel driver in use: i915 h.  It wants i965,
but it's getting i915.  I took a look in /usr/lib64/dri/ to see what was
and was not in there...

[i3][root][~] ll -og /usr/lib64/dri/
total 30
drwxr-xr-x  2   216 Dec 18 01:57 .
drwxr-xr-x 58 31024 Dec 18 01:34 ..
-rw-r--r--  1 0 Dec 14 17:57 .keep_media-libs_mesa-0
lrwxrwxrwx  120 Jan  8  2011 i915_dri.so - ../mesa/i915g_dri.so
lrwxrwxrwx  120 Dec 14 17:57 i915g_dri.so - ../mesa/i915g_dri.so
lrwxrwxrwx  122 Jan  8  2011 swrast_dri.so - ../mesa/swrastg_dri.so
lrwxrwxrwx  122 Dec 14 17:57 swrastg_dri.so - ../mesa/swrastg_dri.so

  There's the i915g_dri.so driver; what package provides it?

[i3][root][~] equery b i915g_dri.so
 * Searching for i915g_dri.so ... 
media-libs/mesa-9.0 (/usr/lib64/mesa/i915g_dri.so)
media-libs/mesa-9.0 (/usr/lib64/dri/i915g_dri.so - ../mesa/i915g_dri.so)

  I ran emerge -pv mesa, and discovered that mesa had been merged with
USE=-xorg.  This is what I get for starting USE with -*...
http://media.comicvine.com/uploads/11/117774/2361934-double_facepalm.jpg

  I emerged mesa with xorg USE flag, and 1366x768 now works fine.  One
problem down and one to go.  I had merged mesa with the intel USE
flag.  It also has i915 and i965 USE flags.  If I can get the i965
driver built, I'd go from software acceleration to hardware
acceleration.  That's my next step.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] xorg.conf tweaks for HTPC machine?

2012-12-18 Thread Walter Dnes
  Walter's Excellent Adventure Chapter 2

On Tue, Dec 18, 2012 at 03:17:59AM -0500, Walter Dnes wrote

   I ran emerge -pv mesa, and discovered that mesa had been merged with
 USE=-xorg.  This is what I get for starting USE with -*...
 http://media.comicvine.com/uploads/11/117774/2361934-double_facepalm.jpg
 
   I emerged mesa with xorg USE flag, and 1366x768 now works fine.  One
 problem down and one to go.  I had merged mesa with the intel USE
 flag.  It also has i915 and i965 USE flags.  If I can get the i965
 driver built, I'd go from software acceleration to hardware
 acceleration.  That's my next step.

  Now things start to get *REALLY* weird.

* Using VIDEO_CARDS=i965 in make.conf enables DRI2 hardware acceleration
* But it requires the classic USE flag for mesa
* The xorg USE flag also makes mesa require the gallium USE flag
* Building mesa with *BOTH* classic and gallium works
* And it runs in 1366x768 mode
* And it runs *ONLY* in 1366x768 mode.  xrandr does not change the
  resolution, notwithstanding the gazillion modes it lists
* I went back to mesa without the xorg and gallium flags to simplify
  my setup
* Again, it runs 1366x768, and *ONLY* 1366x768.  But it does have
  hardware acceleration
* And yes, I did try replacing the xf86-video-intel driver with
  xf86-video-modesetting.  No X.
* So the one change I've made after all this fooling around is to change
  the VIDEO_CARDS setting in make.conf from intel to i965.

  The net change is that...
* the TV displays in native 1366x768 mode, and *ONLY* 1366x768 mode
* X now has hardware acceleration

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] xorg.conf tweaks for HTPC machine?

2012-12-18 Thread Walter Dnes
Walter's Excellent Adventure Chapter 3

On Tue, Dec 18, 2012 at 05:02:32AM -0500, Walter Dnes wrote

   The net change is that...
 * the TV displays in native 1366x768 mode, and *ONLY* 1366x768 mode
 * X now has hardware acceleration

   I ran emerge -pv --deep --newuse world to make sure everything was
OK.  It wanted to rebuild xorg-server and one other lib after the
changes in VIDEO_CARDS in make.conf.  While I was at, I decided to
throw in xvmc into my USE flags.  After the rebuilding was over, I
have video acceleration, but no 1366x768.  According to the Xorg.0.log
file the available video modes are...

1280x720
1920x1080i
720x480
1440x480i
1920x1080
1440x240
720x576

  I've improved the speed of the video, with hardware acceleration, so
I'll let things be for now.  That's my HTPC machine.

  I'm now switching over my regular desktop (Dell Dimension 530 from the
summer of 2007) to hardware accelerated mode.  This one wants i915
drivers.  I had stuck in an old Nvidia card, which was a bit of a pain...
* I have to rebuild the binary drivers every time I upgrade my kernel
* Flash bleeds through windows on top of a window with Flash
* Flash colour tables are screwed up.  People have blue faces.
* The fix for the colour problem involved tweaking /etc/adobe/mms.cfg
  which fixed the colours, but caused Flash to crash a lot.

  With hardware acceleration enable for the onboard Intel GPU, I can now
dump the Nvidia card.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] xorg.conf tweaks for HTPC machine?

2012-12-18 Thread Bruce Hill
On Tue, Dec 18, 2012 at 05:01:59PM -0500, Walter Dnes wrote:
 
  * X now has hardware acceleration
 
I ran emerge -pv --deep --newuse world to make sure everything was
 OK.  It wanted to rebuild xorg-server and one other lib after the
 changes in VIDEO_CARDS in make.conf.  While I was at, I decided to
 throw in xvmc into my USE flags.  After the rebuilding was over, I
 have video acceleration, but no 1366x768.  According to the Xorg.0.log
 
   I've improved the speed of the video, with hardware acceleration, so
 I'll let things be for now.  That's my HTPC machine.

Still pretty ignorant of all these graphic settings. After using Linux for 9
years, now I have ATi, nVidia, and Intel graphic chipsets and don't know what
to do with them. Prior to migrating to Gentoo last year I just installed the
nVidia binary blob from their website.

Now I've got radeon, nouveau, Intel on most comps -- nvidia-drivers on HTPC.

   I'm now switching over my regular desktop (Dell Dimension 530 from the
 summer of 2007) to hardware accelerated mode.  This one wants i915
 drivers.  I had stuck in an old Nvidia card, which was a bit of a pain...
 * I have to rebuild the binary drivers every time I upgrade my kernel
 * Flash bleeds through windows on top of a window with Flash
 * Flash colour tables are screwed up.  People have blue faces.
 * The fix for the colour problem involved tweaking /etc/adobe/mms.cfg
   which fixed the colours, but caused Flash to crash a lot.

All that mess got fixed by switching from nVidia's binary blob to nouveau.

   With hardware acceleration enable for the onboard Intel GPU, I can now
 dump the Nvidia card.

Can you give me some guide, or advice for this ... other than the standard
http://www.gentoo.org/doc/en/xorg-config.xml ?

Any push in the right direction would be appreciated.

 -- 
 Walter Dnes waltd...@waltdnes.org
 I don't run desktop environments; I run useful applications

Me, neither. I run Fluxbox and save my memory and CPU cycles for real work. ;)
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] xorg.conf tweaks for HTPC machine?

2012-12-18 Thread Walter Dnes
On Tue, Dec 18, 2012 at 04:59:47PM -0600, Bruce Hill wrote
 On Tue, Dec 18, 2012 at 05:01:59PM -0500, Walter Dnes wrote:
  
With hardware acceleration enable for the onboard Intel GPU, I
  can now dump the Nvidia card.
 
 Can you give me some guide, or advice for this ... other than the
 standard http://www.gentoo.org/doc/en/xorg-config.xml ?
 
 Any push in the right direction would be appreciated.

  The reason I discovered the solution was that I looked through the
/var/log/Xorg.0.log file.  This file is usually 95+% boring technical
detail.  Near the top of the log file is a section that says...

[??.???] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

  I suggest viewing the log file with your favourite editor, and doing a
case-sensitive search on the 2 strings (EE) and DRI (without the
quotes).  That was what tipped me off to the fact that...
a) there was a problem with DRI
b) what file Xorg was looking for that it couldn't find

  Knowing that info, you can put the appropriate entries into the
VIDEO_CARDS variable in make.conf.  Intel is a bit weird; it wants
both intel and the major driver version.  E.g. for my older desktop...

VIDEO_CARDS=i915 intel

...and for my newer HTPC machine...

VIDEO_CARDS=i965 intel

  Then re-emerge mesa.  If Portage asks you to change some USE flags as
part of the process, do so unless it causes problems.  Once mesa is
rebuilt, run...

emerge -pv --newuse --deep world

  This will give a pretend run.  If it looks OK, run it for real...

emerge --newuse --deep world

  Again, portage may suggest changing some flags.  I ended up having to
rebuild xorg-server and one lib.  After that, run revdep-rebuild.  And
if you're changing the card type, you'll have to make the corresponding
changes in the kernel via make menuconfig, rebuild the kernel, and
reboot.  If you get lost, ask here.  Copy the relevant error messages
from your Xorg.0.log file to help track down the problem.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] xorg.conf tweaks for HTPC machine?

2012-12-17 Thread Walter Dnes
  I have an Intel i3 hooked up to the HDMI input of my 50-inch plasma
TV.  The TV's native resolution is 1366x768.  It was bought in the
summer of 2007.  I have 2 problems I want to fix as far as displaying
stuff on it is concerned...

1) Despite the TV being native 1366x768, it defaults to 1280x720, which
is the first mode listed in the EDID.  Fixed-pixel displays show best at
their native resolution  So I ran Xorg -configure and created an
xorg.conf file, and forced 1366x768 resolution.  And got no picture.  I
tried X again at 128x720.  Then I used xrandr to change to 1920x1080,
and it worked.  Used xrandr to change to 1366x768, and it hung.  From
Xorg.0.log ...

[  2826.586] (II) intel(0): switch to mode 1366x768 on crtc 3 (pipe 0)
[  2920.286] (EE)
[  2920.286] (EE) Backtrace:
[  2920.286] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x596016]
[  2920.286] (EE) 1: /usr/bin/X (0x40+0x199f49) [0x599f49]
[  2920.286] (EE) 2: /lib64/libpthread.so.0 (0x7fb5eef2e000+0x10460) [0x7fb5eef3
e460]
[  2920.286] (EE) 3: /lib64/libc.so.6 (__select+0x13) [0x7fb5edc760e3]
[  2920.286] (EE) 4: /usr/bin/X (WaitForSomething+0x19f) [0x5937df]
[  2920.286] (EE) 5: /usr/bin/X (0x40+0x38872) [0x438872]
[  2920.286] (EE) 6: /usr/bin/X (0x40+0x27365) [0x427365]
[  2920.286] (EE) 7: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fb5edbb34bd]
[  2920.287] (EE) 8: /usr/bin/X (0x40+0x26ec9) [0x426ec9]
[  2920.287] (EE)

Any ideas?

2) Overscan... bleagh.  It's rather difficult to start Firefox when the
launch bar is off the bottom of the screen.  It just barely pokes its
head above the bottom.  There's a bunch of magic that xrandr can work on
VGA, but I'm using HDMI, so no go.  And the TV does *NOT* have a VGA
input on the back, regardless of what the xrandr output says.  I've read
about xnest and xephyr X sub clients that can use a smaller window
within the main window.  There don't seem to be any ebuilds for them.
The one link I found for downloading the Xephyr source is a dead link.
Any ideas?  BTW, where's output from xrandr, for what it's worth...

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 920mm 
x 518mm
   1920x1080  60.0*+   30.0  
   1280x720   60.0 +
   1680x1050  59.9  
   1680x945   60.0  
   1400x1050  59.9  
   1600x900   60.0  
   1280x1024  60.0  
   1440x900   59.9  
   1280x960   60.0  
   1366x768   60.0  
   1360x768   60.0  
   1280x800   59.9  
   1280x768   60.0  
   1024x768   60.0  
   1440x480   30.0  
   1440x480i  30.0  
   1024x576   60.0  
   800x60060.3  
   848x48060.0  
   720x48059.9  
   640x48059.9 59.9  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] xorg.conf tweaks for HTPC machine?

2012-12-17 Thread pk
On 2012-12-17 17:23, Walter Dnes wrote:

snipped a whole lot...

 1) Despite the TV being native 1366x768, it defaults to 1280x720, which
 is the first mode listed in the EDID.  Fixed-pixel displays show best at
 their native resolution  So I ran Xorg -configure and created an
 xorg.conf file, and forced 1366x768 resolution.  And got no picture.  I
 tried X again at 128x720.  Then I used xrandr to change to 1920x1080,
 and it worked.  Used xrandr to change to 1366x768, and it hung.  From
 Xorg.0.log ...

 Any ideas?

You can perhaps try to find out what the tv is telling X: x11-misc/read-edid

... if you haven't already tried it (you can also use startx --
-logverbose 6).

You can also set your preferred resolution in xorg.conf as such:

In Section Screen:

Subsection Display
...
Modes 1366x768 1280x720 ...
EndSubSection

X will automatically try the leftmost alternative first...

Regarding the crash, I don't know enough about debugging, unfortunately.
Have you tried rebuilding X and all it's libs?

Best regards

Peter K



[gentoo-user] xorg.conf (HDMI vs DVI-D)

2010-08-27 Thread James
Hello,

We'll I've got a new samsung monitor 2333HD-1
that is verified 1920x1080.

Finally, I got it working on a dvi-d-2-dvi-d video cable
with no problems...(minimal xorg.conf) and ati-drivers.


OK, so I switch to a DVI-Don video card to HDMI
on the monitor and it comes in, but the bottom and sides
are missing. 

OK so I found this thread that I'm guessing is
on the mark:
http://www.phoronix.com/forums/showthread.php?t=23826

But, I'm a little bit 'chicken' with xorg.conf, not
to mention messing with the dot clock et al...
CLUCK  CLUCK  CLUCK

Anyone want to venture a guess about the display settings,
suggested in the link? that I should use? A better way?

Here's the (example) math I use to use:
#   DisplaySize 426 266
# width  = (1680pix  / 100pix/in) x [25.4mm/in] =  427 -- 426
# hieght = (1050pix  / 100pix/in) x [25.4mm/in] =  267 -- 266


Here is what's working with the dvi-dvi cable:

Section Monitor
Identifier   aticonfig-Monitor[0]-0
Option  VendorName ATI Proprietary Driver
Option  ModelName Generic Autodetecting Monitor
Option  DPMS true
HorizSync30-81
VertRefresh  56-75
EndSection

Section Device
Identifier  aticonfig-Device[0]-0
Driver  fglrx
BusID   PCI:2:0:0
#   Option  XAANoOffscreenPixmaps true
EndSection

Section Screen
Identifier aticonfig-Screen[0]-0
Device aticonfig-Device[0]-0
Monitoraticonfig-Monitor[0]-0
DefaultDepth 24
SubSection Display
Viewport  0 0
Depth 24
Modes1920x1080 1680x1050 1280x1024 1024x768
EndSubSection
EndSection





Re: [gentoo-user] xorg.conf (HDMI vs DVI-D)

2010-08-27 Thread Paul Hartman
On Fri, Aug 27, 2010 at 1:31 PM, James wirel...@tampabay.rr.com wrote:
 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.

 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.


 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.

I guess this is the question to me:

Is the monitor doing overscan on HDMI?
or
Is the ATI driver doing underscan on HDMI based on the assumption that
the monitor will overscan?

Check if your monitor on-screen menu has overscan settings (or change
it to PC Mode or something, the manufacturers all have different
terminology). Otherwise if it has no settings you'll have to conitunue
messing with the ATI drivers instead.



Re: [gentoo-user] xorg.conf (HDMI vs DVI-D)

2010-08-27 Thread Alan McKinnon
Apparently, though unproven, at 20:31 on Friday 27 August 2010, James did 
opine thusly:

 Hello,
 
 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.
 
 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.
 
 
 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.
 
 OK so I found this thread that I'm guessing is
 on the mark:
 http://www.phoronix.com/forums/showthread.php?t=23826
 
 But, I'm a little bit 'chicken' with xorg.conf, not
 to mention messing with the dot clock 


I don't have an answer to your actual question, but I can answer the above.

You have nothing to fear from fiddling with clock settings on a flat panel.
That only ever applied to CRT displays where running the horizontal frequency 
higher than the circuit was designed for would increase the HT voltage at the 
final anode - which often cracked the thin glass on the tube neck.

Flat panels do not have a concept of scan coil to drive, there is no HT 
transformer and there is no tube to have 28kV inside of. The owrst you can do 
is to get no picture.

 
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xorg.conf (HDMI vs DVI-D)

2010-08-27 Thread Daniel da Veiga
On Fri, Aug 27, 2010 at 15:31, James wirel...@tampabay.rr.com wrote:
 Hello,

 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.

 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.


 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.

 OK so I found this thread that I'm guessing is
 on the mark:
 http://www.phoronix.com/forums/showthread.php?t=23826

 But, I'm a little bit 'chicken' with xorg.conf, not
 to mention messing with the dot clock et al...
 CLUCK  CLUCK  CLUCK

 Anyone want to venture a guess about the display settings,
 suggested in the link? that I should use? A better way?

 Here's the (example) math I use to use:
 #       DisplaySize 426 266
 # width  = (1680pix  / 100pix/in) x [25.4mm/in] =  427 -- 426
 # hieght = (1050pix  / 100pix/in) x [25.4mm/in] =  267 -- 266


 Here is what's working with the dvi-dvi cable:

 Section Monitor
        Identifier   aticonfig-Monitor[0]-0
        Option      VendorName ATI Proprietary Driver
        Option      ModelName Generic Autodetecting Monitor
        Option      DPMS true
        HorizSync    30-81
        VertRefresh  56-75
 EndSection

 Section Device
        Identifier  aticonfig-Device[0]-0
        Driver      fglrx
        BusID       PCI:2:0:0
 #       Option      XAANoOffscreenPixmaps true
 EndSection

 Section Screen
        Identifier aticonfig-Screen[0]-0
        Device     aticonfig-Device[0]-0
        Monitor    aticonfig-Monitor[0]-0
        DefaultDepth     24
        SubSection Display
                Viewport  0 0
                Depth     24
                Modes    1920x1080 1680x1050 1280x1024 1024x768
        EndSubSection
 EndSection





Have you tried setting the INPUT NAME of the HDMI to PC using the
remote (on TV)?
My Samsung does the same, after I set my HDMI as PC everything is at
the right place.

-- 
Daniel da Veiga



Re: [gentoo-user] xorg.conf (HDMI vs DVI-D)

2010-08-27 Thread Jason Carson
 Hello,

 We'll I've got a new samsung monitor 2333HD-1
 that is verified 1920x1080.

 Finally, I got it working on a dvi-d-2-dvi-d video cable
 with no problems...(minimal xorg.conf) and ati-drivers.


 OK, so I switch to a DVI-Don video card to HDMI
 on the monitor and it comes in, but the bottom and sides
 are missing.

Can you set overscan to 0% in the ATI Catalyst Control Center. Does that
make a difference?


 OK so I found this thread that I'm guessing is
 on the mark:
 http://www.phoronix.com/forums/showthread.php?t=23826

 But, I'm a little bit 'chicken' with xorg.conf, not
 to mention messing with the dot clock et al...
 CLUCK  CLUCK  CLUCK

 Anyone want to venture a guess about the display settings,
 suggested in the link? that I should use? A better way?

 Here's the (example) math I use to use:
 #   DisplaySize 426 266
 # width  = (1680pix  / 100pix/in) x [25.4mm/in] =  427 -- 426
 # hieght = (1050pix  / 100pix/in) x [25.4mm/in] =  267 -- 266


 Here is what's working with the dvi-dvi cable:

 Section Monitor
 Identifier   aticonfig-Monitor[0]-0
 Option  VendorName ATI Proprietary Driver
 Option  ModelName Generic Autodetecting Monitor
 Option  DPMS true
 HorizSync30-81
 VertRefresh  56-75
 EndSection

 Section Device
 Identifier  aticonfig-Device[0]-0
 Driver  fglrx
 BusID   PCI:2:0:0
 #   Option  XAANoOffscreenPixmaps true
 EndSection

 Section Screen
 Identifier aticonfig-Screen[0]-0
 Device aticonfig-Device[0]-0
 Monitoraticonfig-Monitor[0]-0
 DefaultDepth 24
 SubSection Display
 Viewport  0 0
 Depth 24
 Modes1920x1080 1680x1050 1280x1024 1024x768
 EndSubSection
 EndSection









Re: [gentoo-user] xorg.conf and ATI 4350 card

2010-07-21 Thread Heorhii Valakhanovich
 On 21.07.2010 5:46, James wrote:
 I can get X(kde 4.4) to start and run  without a xorg.conf file
 but at the wrong screen resolution. (1600x1200) instead
 of 1920x1280, as it was before.  Every attempt to
 edit the old xorg.conf or roll a new xorg.conf with the new
 2.6.34-gentoo-r1  kernel results in X that crashes.

 Maybe somebody could post a minimal xorg.conf to set the resolution
 only on the screen?


 2.6.34-gentoo-r1
 ati-drivers 10.6
 xorg-x11 7.4-r1
 xorg-server 1.7.6

Try to use xf86-video-ati. I never could use ati-drivers, it always crashes.



Re: [gentoo-user] xorg.conf and ATI 4350 card

2010-07-21 Thread Daniel Troeder
On 07/21/2010 04:46 AM, James wrote:
 hello,
 
 
 I can get X(kde 4.4) to start and run  without a xorg.conf file
 but at the wrong screen resolution. (1600x1200) instead
 of 1920x1280, as it was before.  Every attempt to
 edit the old xorg.conf or roll a new xorg.conf with the new
 2.6.34-gentoo-r1  kernel results in X that crashes.
 
 Maybe somebody could post a minimal xorg.conf to set the resolution
 only on the screen?
 
 
 2.6.34-gentoo-r1
 ati-drivers 10.6
 xorg-x11 7.4-r1
 xorg-server 1.7.6
Try:
$ sudo aticonfig --initial --input=/etc/X11/xorg.conf

(last argument optional, use aticonfig --help to see like 1000 more
options)

Daniel



[gentoo-user] xorg.conf and ATI 4350 card

2010-07-20 Thread James
hello,


I can get X(kde 4.4) to start and run  without a xorg.conf file
but at the wrong screen resolution. (1600x1200) instead
of 1920x1280, as it was before.  Every attempt to
edit the old xorg.conf or roll a new xorg.conf with the new
2.6.34-gentoo-r1  kernel results in X that crashes.

Maybe somebody could post a minimal xorg.conf to set the resolution
only on the screen?


2.6.34-gentoo-r1
ati-drivers 10.6
xorg-x11 7.4-r1
xorg-server 1.7.6


James





Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-16 Thread Mick
On Saturday 15 September 2007, Allan Gottlieb wrote:
 At Sat, 15 Sep 2007 20:56:32 +0100 Mick [EMAIL PROTECTED] wrote:
  As it happens I noticed that my TV out also stopped working recently.
  However, I run ATI not nvidia.  I blamed the latest xorg-server for it
  and left it at that.  When I run xrandr, just like you, I only see the
  laptop's screen:
  ==
  $ xrandr
  Screen 0: minimum 320 x 175, current 1024 x 768, maximum 1024 x 768
  default connected 1024x768+0+0 0mm x 0mm
 1024x768   60.0*
 320x17560.0
 320x20060.0
 360x20060.0
 320x24060.0
 400x30060.0
 512x38460.0
 832x62460.0
  ==
 
  xrandr --output --auto doesn't change things and xrandr --output TV --on
  brings up the --help page.
 
  Anyone else noticed this  found a fix?

 Sounds like the server doesn't implement RandR version 1.2

 What does xrandr -v say.  For me it is
   Server reports RandR version 1.2

Same here.

 If you don't have 1.2 you won't have the --output stuff.

 Also --on doesn't exist even in 1.2.

Sure, but after trying --auto I started getting desperate to get this TV Out 
working again, especially as the wife was waiting to watch a movie . . . 
(tut, tut!)

 I found man xrandr helpful.

Thanks.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-15 Thread Mick
On Tuesday 11 September 2007, Daniel Pielmeier wrote:
  Since you are describing a TV out it might be your tertiary screen.
  When I type xrandr with no arguments I get
 
  Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
  VGA connected 1600x1200+0+0 (normal left inverted right) 0mm x 0mm
 1920x1440  60.0
 1600x1200  60.0*
 1280x960   60.0
  LVDS connected (normal left inverted right)
 1680x1050  60.0 +
 1024x768   60.0
 800x60060.3
 640x48059.9
  TV disconnected (normal left inverted right)
 
  VGA is what I would call the secondary (for me it is an external
  monitor, I believe it is always the monitor attached via the VGA or
  DVI output, LVDS is the screen on the
  laptop.  Presumably TV is the signal to drive a TV (I never used
  mine).

 I don't know wheather the TV is secondary or tertiary, when i type
 xrandr with no options i just get the output of my primary monitor, as
 randr is not supported. I am not exactly sure which output i get as i
 have no access to my box at the moment, but i will check this.

  If you type
 
 xrandr --output TV --off
 
  does it stop driving the TV?  That is what the manual suggests will
  happen.  If not than it seems the nvidia driver isn't supporting randr
  1.2.  Perhaps that was what was meant by wont fix, nvidia bug.

 I guess a fix for this from nvidia will take ages as usually, is
 anybody out there who got tv-out working with the opensource driver
 from xorg with nvidia? Or do we have to wait for nouveau, mabe it does
 a better job!

As it happens I noticed that my TV out also stopped working recently.  
However, I run ATI not nvidia.  I blamed the latest xorg-server for it and 
left it at that.  When I run xrandr, just like you, I only see the laptop's 
screen:
==
$ xrandr
Screen 0: minimum 320 x 175, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768   60.0* 
   320x17560.0  
   320x20060.0  
   360x20060.0  
   320x24060.0  
   400x30060.0  
   512x38460.0  
   832x62460.0
==

xrandr --output --auto doesn't change things and xrandr --output TV --on 
brings up the --help page.

Anyone else noticed this  found a fix?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-15 Thread Daniel Pielmeier
 As it happens I noticed that my TV out also stopped working recently.
 However, I run ATI not nvidia.  I blamed the latest xorg-server for it and
 left it at that.  When I run xrandr, just like you, I only see the laptop's
 screen:
 ==
 $ xrandr
 Screen 0: minimum 320 x 175, current 1024 x 768, maximum 1024 x 768
 default connected 1024x768+0+0 0mm x 0mm
1024x768   60.0*
320x17560.0
320x20060.0
360x20060.0
320x24060.0
400x30060.0
512x38460.0
832x62460.0
 ==

 xrandr --output --auto doesn't change things and xrandr --output TV --on
 brings up the --help page.

 Anyone else noticed this  found a fix?

I also get the same xrandr output. Maybe it is not a problem with the
ati or nvidia drivers.
I also thought this must be a bug in xorg-server, as it happened after
upgrading to version 1.3. I masked to xorg-server-1.3 and downgraded
to xorg-server-1.2 which fixes ths problem for me.

This is just a temporary solution. I hope this will be fixed in future
versions, may it be xorg-server or the proprietary drivers of nvidia
or ati.

Regards,

Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-15 Thread Allan Gottlieb
At Sat, 15 Sep 2007 20:56:32 +0100 Mick [EMAIL PROTECTED] wrote:

 As it happens I noticed that my TV out also stopped working recently.  
 However, I run ATI not nvidia.  I blamed the latest xorg-server for it and 
 left it at that.  When I run xrandr, just like you, I only see the laptop's 
 screen:
 ==
 $ xrandr
 Screen 0: minimum 320 x 175, current 1024 x 768, maximum 1024 x 768
 default connected 1024x768+0+0 0mm x 0mm
1024x768   60.0* 
320x17560.0  
320x20060.0  
360x20060.0  
320x24060.0  
400x30060.0  
512x38460.0  
832x62460.0
 ==

 xrandr --output --auto doesn't change things and xrandr --output TV --on 
 brings up the --help page.

 Anyone else noticed this  found a fix?

Sounds like the server doesn't implement RandR version 1.2

What does xrandr -v say.  For me it is
  Server reports RandR version 1.2

If you don't have 1.2 you won't have the --output stuff.

Also --on doesn't exist even in 1.2.

I found man xrandr helpful.

allan gottlieb
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-15 Thread Daniel Pielmeier
 Sounds like the server doesn't implement RandR version 1.2

 What does xrandr -v say.  For me it is
   Server reports RandR version 1.2

 If you don't have 1.2 you won't have the --output stuff.

 Also --on doesn't exist even in 1.2.

 I found man xrandr helpful.

Randr 1.2 was introduced in xorg 7.3

Xrandr -v reports version 1.2 here when i have xorg-server 1.3 (which
comes with xorg 7.2) installed, but tv-out is not working!
Maybe we have to wait for xorg 7.3 with xorg-server 1.4 to become
stable! Unfortunately there are currently no nvidia drivers which are
working with xorg 7.4 so we have to wait for a compatible release too.
Although there seems to be an -ignoreABI switch for the nvidia drivers
so they will work with xorg-server 1.4, but you have o disable the
composite extension.

Regards,

Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-11 Thread Daniel Pielmeier
 Since you are describing a TV out it might be your tertiary screen.
 When I type xrandr with no arguments I get

 Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
 VGA connected 1600x1200+0+0 (normal left inverted right) 0mm x 0mm
1920x1440  60.0
1600x1200  60.0*
1280x960   60.0
 LVDS connected (normal left inverted right)
1680x1050  60.0 +
1024x768   60.0
800x60060.3
640x48059.9
 TV disconnected (normal left inverted right)

 VGA is what I would call the secondary (for me it is an external
 monitor, I believe it is always the monitor attached via the VGA or
 DVI output, LVDS is the screen on the
 laptop.  Presumably TV is the signal to drive a TV (I never used
 mine).

I don't know wheather the TV is secondary or tertiary, when i type
xrandr with no options i just get the output of my primary monitor, as
randr is not supported. I am not exactly sure which output i get as i
have no access to my box at the moment, but i will check this.

 If you type

xrandr --output TV --off

 does it stop driving the TV?  That is what the manual suggests will
 happen.  If not than it seems the nvidia driver isn't supporting randr
 1.2.  Perhaps that was what was meant by wont fix, nvidia bug.

I guess a fix for this from nvidia will take ages as usually, is
anybody out there who got tv-out working with the opensource driver
from xorg with nvidia? Or do we have to wait for nouveau, mabe it does
a better job!

Regards,

Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-10 Thread Daniel Pielmeier
 Now my ~/bin/Xinitialize begins

 #!/bin/sh
 sleep 2

 if xrandr | grep VGA connected ; then
 xrandr --verbose --output VGA --mode 1600x1200 --output LVDS --off
 else
 xrandr --verbose --output VGA --off --output LVDS --mode 1680x1050
 fi
 xset s reset# above seems to blank the screen
 sleep 3

 This sets 1600x1200 and turns off the laptop screen when the ext
 monitor is in.  It sets 1680x1050 and turns off driving the external
 monitor connector (which may well be a useless step) when there is no
 ext monitor connected.

Thanks for your answer, i will try if i can get it working like this
but randr doesn't seem to work on the secondary device. I have heard
that nvidia cards doesn't support randr 1.2 so i will give it a try
with randr disabled in my configuration.

One thing is that i want the two screens (where i can move between
with the mouse) avaialable not only one. I would also prefer a
solution which works with the xorg configuration file.

Regards,

Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-10 Thread Daniel Pielmeier
I have tested xrandr but it is useless for me! I tried various things
but neither of them seem to have any effect on my secondary screen. I
can only change the configuration of my primary monitor. Disabling randr
in xorg conf has no effect too.

Does anybody know what changes have to be done in the xorg configuration
to get it working again! Unfortunately there is documentation at
http://www.x.org/wiki/. The man pages of randr and xorg.conf also give
no hints. At least i have found nothing until now.

Regards,

Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-10 Thread Allan Gottlieb
At Mon, 10 Sep 2007 09:24:59 +0200 Daniel Pielmeier [EMAIL PROTECTED] wrote:

 Thanks for your answer, i will try if i can get it working like this
 but randr doesn't seem to work on the secondary device. I have heard
 that nvidia cards doesn't support randr 1.2 so i will give it a try
 with randr disabled in my configuration.

I don't have nvidia so can't comment (I810)

 One thing is that i want the two screens (where i can move between
 with the mouse) avaialable not only one.

I would guess randr supports that since it does have offsets (--pos)

allan
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-10 Thread Daniel Pielmeier
 Thanks for your answer, i will try if i can get it working like this
 but randr doesn't seem to work on the secondary device. I have heard
 that nvidia cards doesn't support randr 1.2 so i will give it a try
 with randr disabled in my configuration.
 
 I don't have nvidia so can't comment (I810)
 
 One thing is that i want the two screens (where i can move between
 with the mouse) avaialable not only one.
 
 I would guess randr supports that since it does have offsets (--pos)

Hi Allan,

thanks for your efforts.

Just an update, i have found a temporary solution, which works until the
next restart.

When i launch the Nvidia X Server Settings under X Server Display
Configuration. There is a button Detect devices. When the external TV
is connected and i hit this button the screen is updated and displayed
as usual. So all is fine until the next boot. Then i have do do this
again. At least there is hope. Maybe there is a configuration option to
make it permanently.

Regards,

Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-10 Thread Daniel Pielmeier
Allan Gottlieb schrieb:
 At Mon, 10 Sep 2007 09:24:59 +0200 Daniel Pielmeier [EMAIL PROTECTED] wrote:
 
 Thanks for your answer, i will try if i can get it working like this
 but randr doesn't seem to work on the secondary device. I have heard
 that nvidia cards doesn't support randr 1.2 so i will give it a try
 with randr disabled in my configuration.
 
 I don't have nvidia so can't comment (I810)
 
 One thing is that i want the two screens (where i can move between
 with the mouse) avaialable not only one.
 
 I would guess randr supports that since it does have offsets (--pos)
 
 allan

It looks like i have got my hopes up to soon.

Though the screen is displayed properly and even the background image
fits well, now one problem appeared i did not recognize before. I use
the TV only for watching movies, but when i set my media player (xineui,
mplayer or vlc doesn't matter) to fullscreen mode it is set to the size
of the primary monitor.

What has changed here, i am thinking of downgrading the xorg-server but
i don't think this will get better with version 1.4.

Any advices how to get this working again!

Regards,

Daniel

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-10 Thread Daniel Pielmeier
I found a bug at archlinux [1] which is describing my problem. There are
two pictures attached. I have exactly the same problem. This bug was
closed as wont fix because it should be a nvidia problem. This is
possible, but i don't think so as the upgrade of xorg-server package
obviously caused this.

[1] http://bugs.archlinux.org/task/7346

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-10 Thread Allan Gottlieb
At Mon, 10 Sep 2007 20:05:26 +0200 Daniel Pielmeier [EMAIL PROTECTED] wrote:

 I have tested xrandr but it is useless for me! I tried various things
 but neither of them seem to have any effect on my secondary screen.

Since you are describing a TV out it might be your tertiary screen.
When I type xrandr with no arguments I get

Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA connected 1600x1200+0+0 (normal left inverted right) 0mm x 0mm
   1920x1440  60.0  
   1600x1200  60.0* 
   1280x960   60.0  
LVDS connected (normal left inverted right)
   1680x1050  60.0 +
   1024x768   60.0  
   800x60060.3  
   640x48059.9  
TV disconnected (normal left inverted right)

VGA is what I would call the secondary (for me it is an external
monitor, I believe it is always the monitor attached via the VGA or
DVI output, LVDS is the screen on the
laptop.  Presumably TV is the signal to drive a TV (I never used
mine).

If you type

   xrandr --output TV --off

does it stop driving the TV?  That is what the manual suggests will
happen.  If not than it seems the nvidia driver isn't supporting randr
1.2.  Perhaps that was what was meant by wont fix, nvidia bug.

allan
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Xorg.conf changes and dual screen setup

2007-09-09 Thread Daniel Pielmeier
Hi,

the update to xorg-server-1.3 broke my dual-screen setup. It creates a
virtual screen size with the same size of the primary monitor for the
second monitor which is my TV. So i can only reach a zone with 800x600
on the second device, even scrolling within the virtual screen is
impossible. I want 1280x1024 for the primary and 800x600 for the
secondary Monitor which displays the complete desktop on any screen.

The Xorg.0.log file does not show any errors which may give some hints.

Hi have searched and found that there were changes in the xorg.conf
file. But i have found no documentation which describes the changes
which have to be made to the configuration file. I have also checked man
xorg.conf but haven't found anything mich may cause this problem.

Any help would be appreciated!

Regards,

Daniel


Below you find my current xorg.conf

Section ServerLayout
Identifier Gemeinsames Layout
Screen  0  Screen0 0 0
Screen  1  Screen1 RightOf Screen0
InputDeviceMouse CorePointer
InputDeviceKeyboard CoreKeyboard
EndSection

Section ServerFlags
OptionRandRtrue
EndSection

Section Files
FontPath/usr/share/fonts/75dpi/:unscaled
FontPath/usr/share/fonts/100dpi/:unscaled
FontPath/usr/share/fonts/misc/:unscaled
FontPath/usr/share/fonts/Type1/
FontPath/usr/share/fonts/ttf-bitstream-vera/
EndSection

Section Module
Load   extmod
Load   dbe
Load   record
Load   xtrap
Load   glx
Load   type1
Load   freetype
SubSection extmod
Option omit xfree86-dga
EndSubSection
EndSection

Section InputDevice
Identifier Keyboard
Driver kbd
Option XkbLayout de
Option XkbVariant nodeadkeys
Option AutoRepeat 500 30
Option XkbRules xorg
Option XkbModel pc105
EndSection

Section InputDevice
Identifier Mouse
Driver mouse
Option Protocol auto
Option Device /dev/input/mice
Option ZAxisMapping 4 5
EndSection

Section Monitor
Identifier Monitor0
VendorName ACER
ModelName  AL1914sm
HorizSync   31.0 - 83.0
VertRefresh 56.0 - 75.0
EndSection

Section Monitor
Identifier Monitor1
VendorName Magnum
ModelName  TV 5520 VT Stereo
HorizSync   30.0 - 50.0
VertRefresh 60.0
EndSection

Section Device
Identifier Card0
Driver nvidia
VendorName Giga-byte
BoardName  nVidia Corporation [GeForce 7300 LE]
BusID  PCI:05:00:0
Screen  0
EndSection

Section Device
Identifier Card1
Driver nvidia
VendorName Giga-byte
BoardName  nVidia Corporation [GeForce 7300 LE]
BusID  PCI:05:00:0
Screen  1
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth24
Option NoLogo true
Option NvAGP 3
Option AllowGLXWithComposite True
Option RenderAccel True
Option AddARGBGLXVisuals True
SubSection Display
Viewport0 0
Depth   24
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Viewport0 0
Depth   16
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
SubSection Display
Viewport0 0
Depth   8
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
EndSection

Section Screen
Identifier Screen1
Device Card1
MonitorMonitor1
DefaultDepth24
Option NoLogo true
Option NvAGP 3
Option TVStandard PAL-B
Option AllowGLXWithComposite True
Option RenderAccel True
Option AddARGBGLXVisuals True
SubSection Display
Viewport0 0
Depth   24
Modes  800x600 640x480
EndSubSection
SubSection Display
Viewport0 0
Depth   16
Modes  800x600 640x480
EndSubSection
SubSection Display
Viewport0 0
Depth   8
Modes  800x600 640x480
EndSubSection
EndSection

Section Extensions
Option Composite Enable
EndSection
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-09 Thread Allan Gottlieb
At Mon, 10 Sep 2007 00:33:35 +0200 Daniel Pielmeier [EMAIL PROTECTED] wrote:

 the update to xorg-server-1.3 broke my dual-screen setup. It creates a
 virtual screen size with the same size of the primary monitor for the
 second monitor which is my TV. So i can only reach a zone with 800x600
 on the second device, even scrolling within the virtual screen is
 impossible. I want 1280x1024 for the primary and 800x600 for the
 secondary Monitor which displays the complete desktop on any screen.

I also had breakage.  I have an 1680x1050 laptop and a 1600x1200
external monitor.  When I have the monitor connected, it is all I use.

When I don't have the monitor connected, I naturally use the laptop
screen.

I will give my fix below, but to understand it, I think it is helpful
to know what I did previously.

Previously, when I went into X (gnome) I have a shell script
(~/bin/Xinitialize) run by gnome-session that included

   xrandr -s 2(the 2 is from memory and might be wrong)

this worked because when I had the ext monitor in I made sure to do fn-f8
before the system went into X.  This insured that X came up on the
monitor and size #2 was it turns out 1600x1200 (thank you
915resolution, for enabling 1600x120 all together).

When the ext monitor was not in, by dumb luck, size number 2 was
1680x1050 so it all worked.

With the new server, the dumb luck disappeared, but a better xrandr
appeared to take its place (the real improvement is that the server
supports 1.2 RandR).

Now my ~/bin/Xinitialize begins

#!/bin/sh
sleep 2

if xrandr | grep VGA connected ; then
xrandr --verbose --output VGA --mode 1600x1200 --output LVDS --off
else
xrandr --verbose --output VGA --off --output LVDS --mode 1680x1050
fi
xset s reset# above seems to blank the screen
sleep 3

This sets 1600x1200 and turns off the laptop screen when the ext
monitor is in.  It sets 1680x1050 and turns off driving the external
monitor connector (which may well be a useless step) when there is no
ext monitor connected.

Perhaps something similar will help you.

Good luck,
allan
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] xorg.conf doesn't seem to be read

2007-08-21 Thread Martin S
I have a problem with my screen resolution.
In my xorg.conf file I have this:
# The favoured Depth and/or Bpp may be specified here

DefaultDepth 24

SubSection Display
Depth8
ViewPort0 0
Modes1024x768 800x600 640x480
EndSubsection

SubSection Display
Depth   16
ViewPort0 0
Modes1024x768 800x600 640x480
EndSubsection

SubSection Display
Depth   24
ViewPort0 0
Modes1024x768 800x600 640x480
EndSubsection

SubSection Display
Depth   32
ViewPort0 0
Modes1024x768 800x600 640x480
EndSubsection
EndSection


But in the KDE app kinfocenter going to the settings for xorg I find that
the geometry for the screen is set to 1152 x 768 and default depth is 32.
This is then what I get on the screen which means that all apps go off the
screen to the right.
KRandrTray indicates two screens, screen one takes the metrics from
kinfocenter (or at least displays the same) while screen 2 is the correct
size. But I can't switch or disable screen one to be default.

Very confusing as this happens 98 times out of hundred.
Any suggestions on how to get the correct metrics on all boots?


Regards,

Martin S


Re: [gentoo-user] xorg.conf problem

2006-09-10 Thread Colleen Beamer
Hi Guys,

Well, finally!  Thanks, again, to everyone who assisted with this
problem yesterday.  As previously stated, I finally got an xorg.conf
file that worked and would allow me to use full screen mode for some of
the games that I play.

However, as of my last post yesterday, I still didn't have 3D
Acceleration working.  What can I say?  Sometimes, I'm a creature of
habit and since I am used to ati-drivers, I tried installing that.  The
driver installed fine, but no matter what I did, I couldn't get direct
rendering to work and whenever, I logged into KDE, the K Tip of the Day
would not display and my system froze.

Finally, today I trusted what I should have trusted in the first place -
the open source x11-drm package.  Only problem here is that the stable
ebuild would not build so I had to unmask the unstable package.

The end result was all good though - I have 3D Acceleration working
*and* with open source drivers, so, I'm happy.

Now on to some actual productive work!  :-)

Take care.

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Dale
Colleen Beamer wrote:
 Okay, I give.  I'm having a problem with configuring xorg.

 I *do* have a basic configuration, but can't run some applications in
 full screen mode and I surmise this is because something isn't set
 properly in xorg.conf  I ran Xorg -configure and it did give me a basic
 configuration, but the file is nothing like I am used to from before I
 had to rebuild my system and I can't find an xorg.conf.example file - I
 don't know if I accidentally deleted it or not.

 In particular, this is the stuff that I don't understand and without the
 xorg.conf.example file, I have no means of reference.

 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option Dac6Bit # [bool]
 #Option Dac8Bit # [bool]
 #Option BusType # [str]
 #Option CPPIOMode   # [bool]
 #Option CPusecTimeout   # i
 #Option AGPMode # i
 #Option AGPFastWrite# [bool]
 #Option AGPSize # i
 #Option GARTSize# i
 #Option RingSize# i
 #Option BufferSize  # i
 #Option EnableDepthMoves# [bool]
 #Option EnablePageFlip  # [bool]
 #Option NoBackBuffer# [bool]
 #Option DMAForXv# [bool]
 #Option FBTexPercent# i
 #Option PanelOff# [bool]
 #Option DDCMode # [bool]
 #Option MonitorLayout   # [str]
 #Option IgnoreEDID  # [bool]
 #Option UseFBDev# [bool]
 #Option MergedFB# [bool]
 #Option CRT2HSync   # [str]
 #Option CRT2VRefresh# [str]
 #Option CRT2Position# [str]
 #Option MetaModes   # [str]
 #Option MergedDPI   # [str]
 #Option MergedXinerama  # [bool]
 #Option MergedXineramaCRT2IsScreen0 # [bool]
 #Option MergedNonRectangular# [bool]
 #Option MergedMouseRestriction  # [bool]
 #Option DisplayPriority # [str]
 #Option PanelSize   # [str]
 #Option ForceMinDotClock# freq
 #Option ColorTiling # [bool]
 #Option VideoKey# i
 #Option RageTheatreCrystal  # i
 #Option RageTheatreTunerPort# i
 #Option RageTheatreCompositePort# i
 #Option RageTheatreSVideoPort   # i
 #Option TunerType   # i
 #Option RageTheatreMicrocPath   # str
 #Option RageTheatreMicrocType   # str
 #Option RenderAccel # [bool]
 #Option SubPixelOrder   # [str]
 #Option ShowCache   # [bool]
 #Option DynamicClocks   # [bool]
 #Option BIOSHotkeys # [bool]
 #Option VGAAccess   # [bool]
 #Option ReverseDDC  # [bool]
 #Option LVDSProbePLL# [bool]
 #Option AccelMethod # str
   Identifier  Card0
   Driver  ati
   VendorName  ATI Technologies Inc
   BoardName   Radeon R200 QL [Radeon 8500 LE]
   BusID   PCI:1:0:0
 EndSection

 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   SubSection Display
   Viewport   0 0
   Depth 1
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   EndSubSection
 EndSection

 I also tried using xorgcfg, but I didn't even get a working
 configuration with that and I *do* know my monitor settings.

 Also, the man page for xorg.config isn't any help cause it doesn't
 mention any of the stuff like viewport that I could see.

 I've re-emerged xorg-x11 hoping to get the xorg.conf.example file back,
 but that didn't work.

 So, if any of you kind people can lead me by the nose here and/or 

Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Stephen Liu
Hi folks,

 I can't find an xorg.conf.example file

I just finished installing X window server.

# X -config /root/xorg.conf.new
created a working xorg.conf for me.  I don't need xorg.conf.example.

Then;

# cp /root/xorg.conf.new /etc/X11/xorg.conf

That is all.  Some minor adjustment has to be made, in particular, the
mouse, InputDevice section.

I followed the document;
http://www.gentoo.org/doc/en/xorg-config.xml

of course, not 100% copying its content.  I have to make some minor
change for my case.


B.R.
SL

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Dale
Stephen Liu wrote:
 Hi folks,

   
 I can't find an xorg.conf.example file
 

 I just finished installing X window server.

 # X -config /root/xorg.conf.new
 created a working xorg.conf for me.  I don't need xorg.conf.example.

 Then;

 # cp /root/xorg.conf.new /etc/X11/xorg.conf

 That is all.  Some minor adjustment has to be made, in particular, the
 mouse, InputDevice section.

 I followed the document;
 http://www.gentoo.org/doc/en/xorg-config.xml

 of course, not 100% copying its content.  I have to make some minor
 change for my case.


 B.R.
 SL

   

I recall having to work a bit to get it to see my mouse too.  X will not
start without the little rat being found. 

Mine is:

 OptionDevice /dev/input/mouse0

If that helps any.  It usually will try /dev/mouse.  If you use udev and
have it set to not tarball /dev, then adding a link will not work either.

Hope that helps and/or makes sense.

Dale

:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Stephen Liu
Hi Dale,

 I recall having to work a bit to get it to see my mouse too.  X will
 not
 start without the little rat being found. 
 
 Mine is:
 
  OptionDevice /dev/input/mouse0

The above line works for me too.  OR /dev/input/mice also works here.

On the document mentioned by me previously, Code Listing 4.2 and 4.4
did not work for me.  Actually the file xorg.conf.new generated was
almost 100% working here, except the mouse, which needed ajustment as
mentoned.

B.R.
SL


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Mick
On Saturday 09 September 2006 08:30, Stephen Liu wrote:

  Mine is:
   OptionDevice /dev/input/mouse0

 The above line works for me too.  OR /dev/input/mice also works here.

X will *always* fail to correctly detect my mice on most of the boxen that I 
have configured so far.  

Option  Device /dev/input/mice will invariably give me a working X and 
then use man xorg.conf to finely tune my X setup.

I don't think that an xorg.conf.example is necessary - for a change, I have 
found man xorg.conf to be very well written and self explanatory.

HTH
-- 
Regards,
Mick


pgpuYhoyotZYL.pgp
Description: PGP signature


Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Matthias Langer
On Fri, 2006-09-08 at 23:53 -0500, Colleen Beamer wrote:
 Okay, I give.  I'm having a problem with configuring xorg.
 
 I *do* have a basic configuration, but can't run some applications in
 full screen mode and I surmise this is because something isn't set
 properly in xorg.conf  I ran Xorg -configure and it did give me a basic
 configuration, but the file is nothing like I am used to from before I
 had to rebuild my system and I can't find an xorg.conf.example file - I
 don't know if I accidentally deleted it or not.
 
 In particular, this is the stuff that I don't understand and without the
 xorg.conf.example file, I have no means of reference.
 
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option Dac6Bit # [bool]
 #Option Dac8Bit # [bool]
 #Option BusType # [str]
 #Option CPPIOMode   # [bool]
 #Option CPusecTimeout   # i
 #Option AGPMode # i
 #Option AGPFastWrite# [bool]
 #Option AGPSize # i
 #Option GARTSize# i
 #Option RingSize# i
 #Option BufferSize  # i
 #Option EnableDepthMoves# [bool]
 #Option EnablePageFlip  # [bool]
 #Option NoBackBuffer# [bool]
 #Option DMAForXv# [bool]
 #Option FBTexPercent# i
 #Option PanelOff# [bool]
 #Option DDCMode # [bool]
 #Option MonitorLayout   # [str]
 #Option IgnoreEDID  # [bool]
 #Option UseFBDev# [bool]
 #Option MergedFB# [bool]
 #Option CRT2HSync   # [str]
 #Option CRT2VRefresh# [str]
 #Option CRT2Position# [str]
 #Option MetaModes   # [str]
 #Option MergedDPI   # [str]
 #Option MergedXinerama  # [bool]
 #Option MergedXineramaCRT2IsScreen0 # [bool]
 #Option MergedNonRectangular# [bool]
 #Option MergedMouseRestriction  # [bool]
 #Option DisplayPriority # [str]
 #Option PanelSize   # [str]
 #Option ForceMinDotClock# freq
 #Option ColorTiling # [bool]
 #Option VideoKey# i
 #Option RageTheatreCrystal  # i
 #Option RageTheatreTunerPort# i
 #Option RageTheatreCompositePort# i
 #Option RageTheatreSVideoPort   # i
 #Option TunerType   # i
 #Option RageTheatreMicrocPath   # str
 #Option RageTheatreMicrocType   # str
 #Option RenderAccel # [bool]
 #Option SubPixelOrder   # [str]
 #Option ShowCache   # [bool]
 #Option DynamicClocks   # [bool]
 #Option BIOSHotkeys # [bool]
 #Option VGAAccess   # [bool]
 #Option ReverseDDC  # [bool]
 #Option LVDSProbePLL# [bool]
 #Option AccelMethod # str
   Identifier  Card0
   Driver  ati
   VendorName  ATI Technologies Inc
   BoardName   Radeon R200 QL [Radeon 8500 LE]
   BusID   PCI:1:0:0
 EndSection
 
 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   SubSection Display
   Viewport   0 0
   Depth 1
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   EndSubSection
 EndSection
 
 I also tried using xorgcfg, but I didn't even get a working
 configuration with that and I *do* know my monitor settings.
 
 Also, the man page for xorg.config isn't any help cause it doesn't
 mention any of the stuff like viewport that I could see.
 
 I've re-emerged xorg-x11 hoping to get the xorg.conf.example file back,
 but that didn't work.
 
 So, if any of you kind 

Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Matthias Langer
On Fri, 2006-09-08 at 23:53 -0500, Colleen Beamer wrote:
 Okay, I give.  I'm having a problem with configuring xorg.
 
 I *do* have a basic configuration, but can't run some applications in
 full screen mode and I surmise this is because something isn't set
 properly in xorg.conf  I ran Xorg -configure and it did give me a basic
 configuration, but the file is nothing like I am used to from before I
 had to rebuild my system and I can't find an xorg.conf.example file - I
 don't know if I accidentally deleted it or not.
 
 In particular, this is the stuff that I don't understand and without the
 xorg.conf.example file, I have no means of reference.
 

You shouldn't need to tweak these settings ...
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option Dac6Bit # [bool]
 #Option Dac8Bit # [bool]
 #Option BusType # [str]
 #Option CPPIOMode   # [bool]
 #Option CPusecTimeout   # i
 #Option AGPMode # i
 #Option AGPFastWrite# [bool]
 #Option AGPSize # i
 #Option GARTSize# i
 #Option RingSize# i
 #Option BufferSize  # i
 #Option EnableDepthMoves# [bool]
 #Option EnablePageFlip  # [bool]
 #Option NoBackBuffer# [bool]
 #Option DMAForXv# [bool]
 #Option FBTexPercent# i
 #Option PanelOff# [bool]
 #Option DDCMode # [bool]
 #Option MonitorLayout   # [str]
 #Option IgnoreEDID  # [bool]
 #Option UseFBDev# [bool]
 #Option MergedFB# [bool]
 #Option CRT2HSync   # [str]
 #Option CRT2VRefresh# [str]
 #Option CRT2Position# [str]
 #Option MetaModes   # [str]
 #Option MergedDPI   # [str]
 #Option MergedXinerama  # [bool]
 #Option MergedXineramaCRT2IsScreen0 # [bool]
 #Option MergedNonRectangular# [bool]
 #Option MergedMouseRestriction  # [bool]
 #Option DisplayPriority # [str]
 #Option PanelSize   # [str]
 #Option ForceMinDotClock# freq
 #Option ColorTiling # [bool]
 #Option VideoKey# i
 #Option RageTheatreCrystal  # i
 #Option RageTheatreTunerPort# i
 #Option RageTheatreCompositePort# i
 #Option RageTheatreSVideoPort   # i
 #Option TunerType   # i
 #Option RageTheatreMicrocPath   # str
 #Option RageTheatreMicrocType   # str
 #Option RenderAccel # [bool]
 #Option SubPixelOrder   # [str]
 #Option ShowCache   # [bool]
 #Option DynamicClocks   # [bool]
 #Option BIOSHotkeys # [bool]
 #Option VGAAccess   # [bool]
 #Option ReverseDDC  # [bool]
 #Option LVDSProbePLL# [bool]
 #Option AccelMethod # str
   Identifier  Card0
   Driver  ati
   VendorName  ATI Technologies Inc
   BoardName   Radeon R200 QL [Radeon 8500 LE]
   BusID   PCI:1:0:0
 EndSection

Frankly, i don't really know what your problem with xorg is exactly ...
if you can provide some details, it would be easier to help !

Regards,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Colleen Beamer
Thanks to all who have replied, but my problem *is not* with my mouse.
I went through that issue the very first time I installed Gentoo and
know that I have to change it to /dev/psaux.

I can boot into kde.  However ...

1)  I can't view some things in full screen.  For instance, I play the
game Blobwars and if I try to set it to use full screen mode, the game
shows in the middle of the screen, the same size as it was when it was
in a window before full screen mode is selected.  The rest of the
screen is black.

2) I want to get 3 D accelleration working.  Before my screw up, I was
using ati-drivers and everything was fine.  When xorg 7 came out, I
removed the previous instance of xorg and reinstalled, but I kept the
previous xorg.conf file.

However, now (because of *my* screwup), I had to install fresh.  So I
got everything up and running and then tried to install ati-drivers.
the installation is successful.  Then, I run 'aticonfig --initial
--input=/etc/X11/xorg.conf', which uses the original xorg.conf file.
Again kde starts up, lets me log in, goes through it's routine of
initiallizing the peripherals and then, when the window that gives the
kde tip appears, it is garbled and my system freezes.

These are the reasons that I think some setting is wrong.  Before xorg
7, when I ran xorg -configure, I got prompeted to enter my horizontal
and vertical sync and the resolutions I wanted to use and they were put
into the xorg.conf file.  Now I get no prompt.

Also some setting has to be wrong somewhere because if I use I go into
Control panel under peripherals and display, I can't set anything - I
does detect my default resolution of 1280x1024, but the Refresh Rate
shows as -19557 Hz.

I've gone through all the replies in this thread, but no where is there
a one to one example of what I am seeing in xorg.conf.

I've tried following the X Server Configuration HOW-TO, but no where in
that is there something that corresponds to this:

SubSection Display
   Viewport   0 0
   Depth 24
   EndSubSection

I understand what the 24 means, but what is Viewport?  I tried setting
this to 1280 1024, which is my max monitor resolution, but it doesn't
have any affect.

Regards,

Colleen




-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Etaoin Shrdlu
On Saturday 9 September 2006 15:14, Colleen Beamer wrote:

 I've tried following the X Server Configuration HOW-TO, but no where
 in that is there something that corresponds to this:

 SubSection Display

   Viewport   0 0
   Depth 24
 EndSubSection

 I understand what the 24 means, but what is Viewport?  I tried setting
 this to 1280 1024, which is my max monitor resolution, but it doesn't
 have any affect.

From man xorg.conf:

ViewPort  x0 y0
   This optional entry sets the upper left corner of the initial
   display.  This is only relevant when  the  virtual screen 
   resolution is different from the resolution of the initial video
   mode.  If this entry is not given, then the initial display will
   be centered in the virtual display area.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Jeff Grant
Colleen Beamer wrote:
 Thanks to all who have replied, but my problem *is not* with my mouse.
 I went through that issue the very first time I installed Gentoo and
 know that I have to change it to /dev/psaux.
 
 I can boot into kde.  However ...
 

As root:

$ emerge -av app-admin/eselect-opengl --noreplace
$ eselect opengl list

and then try switching to ati opengl libs if it gives you the choice?

$ eselect opengl set ati/radeon/etc

This is where I usually screw up with nVidia - but - who knows!

If you want to have your monitor's modelines scanned, as well as the
Horiz/Vert modes scanned, you can also:

$ emerge -av ddcxinfo-knoppix

I've found this tool invaluable when trying to scan the proper modes for
my monitor. 99% of the time, this tool does the trick for me. You simply
run it as such:

$ ddcxinfo-knoppix # This will show you how it works.

Then you might try something like:

$ ddcxinfo-knoppix -firstmode 1024x768 -modelines -monitor -modes \
 /etc/X11/xorg.conf

Then edit your xorg.conf as you see fit - taking care to remember that
the above tool will add it's own Monitor section, so you may want to
comment out the original.

These are some tricks that work for me, but as always - YMMV!

Good luck with Xorg, that many tentacled beast that it is.

-Jeff

 Regards,
 
 Colleen
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Mick
On Saturday 09 September 2006 13:14, Colleen Beamer wrote:
 Thanks to all who have replied, but my problem *is not* with my mouse.
 I went through that issue the very first time I installed Gentoo and
 know that I have to change it to /dev/psaux.

Sorry, I only mentioned the mouse because it has been a regular xorg problem 
for me.  A couple of years ago I was also using /dev/psaux, but moved on 
to /dev/input/mice/ since and also changed the kernel config accordingly.

 SubSection Display

  Viewport   0 0
  Depth 24
  EndSubSection

 I understand what the 24 means, but what is Viewport?  I tried setting
 this to 1280 1024, which is my max monitor resolution, but it doesn't
 have any affect.

Viewport refers to your virtual screen which is larger than the physical 
monitor screen.  Placing the cursor at the edge of the monitors scrolls the 
screen in that direction, until the edge of the virtual screen is reached.  
Useful in small monitors.

As far as know there is no section Display in xorg.conf.  I think you need 
to change that to Section Screen.  Here's relevant extracts of mine for 
your perusal.

This is part of my xorg.conf in case it helps:
===
Section Monitor
DisplaySize 336 269 # 96 DPI @ 1280x1024
Identifier   Monitor0
VendorName   NEC
ModelNameNEC LCD1860NX
HorizSync31.0 - 80.0
VertRefresh  55.0 - 85.0
Option  DPMS
Modeline  1280x1024   108.00   1280 1328 1440 1688   1024 1025 1028 
1066
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth24
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection
===

If this doesn't fix it can you ssh into the machine to check what does 
the /var/log/Xorg.0.conf show after the crash?

HTH.
-- 
Regards,
Mick


pgpSJw3ESoIzO.pgp
Description: PGP signature


Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Colleen Beamer
Hi,


Mick wrote:
 On Saturday 09 September 2006 13:14, Colleen Beamer wrote:
 Thanks to all who have replied, but my problem *is not* with my mouse.
 I went through that issue the very first time I installed Gentoo and
 know that I have to change it to /dev/psaux.
 
 Sorry, I only mentioned the mouse because it has been a regular xorg problem 
 for me.  A couple of years ago I was also using /dev/psaux, but moved on 
 to /dev/input/mice/ since and also changed the kernel config accordingly.

Sorry, I didn't mean to sound like I was lashing out. Like you, I had a
terrible time with my mouse the first time I installed Gentoo and now I
now how to get over *that* hurdle.  :-)
 
 Viewport refers to your virtual screen which is larger than the physical 
 monitor screen.  Placing the cursor at the edge of the monitors scrolls the 
 screen in that direction, until the edge of the virtual screen is reached.  
 Useful in small monitors.

Ok.  Thanks for the explanation.  I now know that this doesn't apply to
me - my monitor is 19 and I have no need to configure it larger that
physical size.
 
 As far as know there is no section Display in xorg.conf.  I think you need 
 to change that to Section Screen.  Here's relevant extracts of mine for 
 your perusal.
 
 This is part of my xorg.conf in case it helps:
 ===
 Section Monitor
 DisplaySize 336 269 # 96 DPI @ 1280x1024
 Identifier   Monitor0
 VendorName   NEC
 ModelNameNEC LCD1860NX
 HorizSync31.0 - 80.0
 VertRefresh  55.0 - 85.0
 Option  DPMS
 Modeline  1280x1024   108.00   1280 1328 1440 1688   1024 1025 1028 
 1066
 EndSection

Well, obviously, I'm going to have to change this to something that
corresponds to my monitor.  I'm a bit frustrated because running Xorg
-configure used to give me a working configuration with the Monitor and
Screen sections completed.  I don't know what happened since going to
modular X

Anyway, I'm not sure that I understand some of the above - like
DisplaySize 336 269 ... what is this?  centimeters? and how do I know
that the resolution is 96 DPI?

I think I remember seeing something that explains the Modeline line.
I'll see if I can find it and figure that one out.

Thanks for the response.

Take care,

Colleen



-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Hervé
On my graphic card there are 3 ports : DVI, VGA, TV. I use an LCD
monitor on 1280x1024 resolution with this config :

Section Monitor
Identifier  monitor0
HorizSync   30-82
VertRefresh 50-85
EndSection

Section Device
Identifier  ATI_VE_7000
Driver  radeon

Option MonitorLayout TMDS, NONE # --IMPORTANTE INSTRUCTION i
don't know why.

BusID  PCI:1:0:0
EndSection

Section Screen
Identifier  Screen 1
Device  ATI_VE_7000
Monitor monitor0
DefaultDepth 24

Subsection Display
Depth   8
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
Subsection Display
Depth   16
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
Subsection Display
Depth   24
Modes   1280x1024 1024x768 800x600 640x480
ViewPort0 0
EndSubsection
EndSection



Le samedi 09 septembre 2006 à 12:20 +0200, Matthias Langer a écrit :
 On Fri, 2006-09-08 at 23:53 -0500, Colleen Beamer wrote:
  Okay, I give.  I'm having a problem with configuring xorg.
  
  I *do* have a basic configuration, but can't run some applications
 in
  full screen mode and I surmise this is because something isn't set
  properly in xorg.conf  I ran Xorg -configure and it did give me a
 basic
  configuration, but the file is nothing like I am used to from before
 I
  had to rebuild my system and I can't find an xorg.conf.example file
 - I
  don't know if I accidentally deleted it or not.
  
  In particular, this is the stuff that I don't understand and without
 the
  xorg.conf.example file, I have no means of reference.
  
  Section Device
  ### Available Driver options are:-
  ### Values: i: integer, f: float, bool:
 True/False,
  ### string: String, freq: f Hz/kHz/MHz
  ### [arg]: arg optional
  #Option NoAccel # [bool]
  #Option SWcursor# [bool]
  #Option Dac6Bit # [bool]
  #Option Dac8Bit # [bool]
  #Option BusType # [str]
  #Option CPPIOMode   # [bool]
  #Option CPusecTimeout   # i
  #Option AGPMode # i
  #Option AGPFastWrite# [bool]
  #Option AGPSize # i
  #Option GARTSize# i
  #Option RingSize# i
  #Option BufferSize  # i
  #Option EnableDepthMoves# [bool]
  #Option EnablePageFlip  # [bool]
  #Option NoBackBuffer# [bool]
  #Option DMAForXv# [bool]
  #Option FBTexPercent# i
  #Option PanelOff# [bool]
  #Option DDCMode # [bool]
  #Option MonitorLayout   # [str]
  #Option IgnoreEDID  # [bool]
  #Option UseFBDev# [bool]
  #Option MergedFB# [bool]
  #Option CRT2HSync   # [str]
  #Option CRT2VRefresh# [str]
  #Option CRT2Position# [str]
  #Option MetaModes   # [str]
  #Option MergedDPI   # [str]
  #Option MergedXinerama  # [bool]
  #Option MergedXineramaCRT2IsScreen0 # [bool]
  #Option MergedNonRectangular# [bool]
  #Option MergedMouseRestriction  # [bool]
  #Option DisplayPriority # [str]
  #Option PanelSize   # [str]
  #Option ForceMinDotClock# freq
  #Option ColorTiling # [bool]
  #Option VideoKey# i
  #Option RageTheatreCrystal  # i
  #Option RageTheatreTunerPort# i
  #Option RageTheatreCompositePort# i
  #Option RageTheatreSVideoPort   # i
  #Option TunerType   # i
  #Option RageTheatreMicrocPath   # str
  #Option RageTheatreMicrocType   # str
  #Option RenderAccel # [bool]
  #Option SubPixelOrder   # [str]
  #Option ShowCache   # [bool]
  #Option DynamicClocks   # [bool]
  #Option BIOSHotkeys # [bool]
  #Option VGAAccess   # [bool]
  #Option ReverseDDC  # [bool]
  #Option LVDSProbePLL# [bool]
  #Option AccelMethod # str
Identifier  Card0
Driver  ati
VendorName  ATI Technologies Inc
BoardName   Radeon R200 QL [Radeon 8500 LE]
BusID   PCI:1:0:0
  EndSection
  
  

Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Hans-Werner Hilse
Hi,

On Sat, 09 Sep 2006 11:40:11 -0500
Colleen Beamer [EMAIL PROTECTED] wrote:

 Mick wrote:
  Viewport refers to your virtual screen which is larger than the physical 
  monitor screen.  Placing the cursor at the edge of the monitors scrolls the 
  screen in that direction, until the edge of the virtual screen is reached.  
  Useful in small monitors.
 
 Ok.  Thanks for the explanation.  I now know that this doesn't apply to
 me - my monitor is 19 and I have no need to configure it larger that
 physical size.

You can omit the Viewport setting.

  As far as know there is no section Display in xorg.conf.  I think you 
  need 
  to change that to Section Screen.  Here's relevant extracts of mine for 
  your perusal.

Well, there *is* a Display subsection. xorg.conf(5x) seems to agree.

  [xorg.conf excerpt trimmed]
 Well, obviously, I'm going to have to change this to something that
 corresponds to my monitor.  I'm a bit frustrated because running Xorg
 -configure used to give me a working configuration with the Monitor and
 Screen sections completed.  I don't know what happened since going to
 modular X

There are now sane defaults (they were there before Xorg 7.1...)

 Anyway, I'm not sure that I understand some of the above - like
 DisplaySize 336 269 ... what is this?  centimeters? and how do I know
 that the resolution is 96 DPI?

You should consider reading man xorg.conf for fast answers to such
basic questions: This optional entry gives the width and height, in
millimetres, of the picture area of the monitor.

The resolution is calculated automatically based on that setting and
the mode in use. Mick just wrote it as a comment right after the actual
setting. Comments are introduced with # -- e.g. all those commented
out settings you have quoted in your xorg.conf's device section.

 I think I remember seeing something that explains the Modeline line.

Well, that would be the mentioned man page, too. But note that there
are a lot of VESA modes built-in, so probably you don't need a modeline
(start trying without). I think Mick could have omitted that, too. On
CRTs (opposite to LCDs), it may make sense, though: Using a modeline
you can max out the refresh ratio of the monitor.

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



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Mick
On Saturday 09 September 2006 16:40, Colleen Beamer wrote:

  This is part of my xorg.conf in case it helps:
  ===
  Section Monitor
  DisplaySize 336 269 # 96 DPI @ 1280x1024
  Identifier   Monitor0
  VendorName   NEC
  ModelNameNEC LCD1860NX
  HorizSync31.0 - 80.0
  VertRefresh  55.0 - 85.0
  Option  DPMS
  Modeline  1280x1024   108.00   1280 1328 1440 1688   1024 1025
  1028 1066
  EndSection

 Anyway, I'm not sure that I understand some of the above - like
 DisplaySize 336 269 ... what is this?  centimeters? and how do I know
 that the resolution is 96 DPI?

Please ignore that line (I should have deleted it...)  The measurements are in 
millimeters and invariably needed on a CRT monitor.  I have both a CRT and a 
TFT monitor so mine is a bit more complex than what you need.  I take it that 
you are using a TFT monitor, in which case leave these measurements out for 
now.  The reason I have these in mine is because for some weird reason my TFT 
monitor was getting an odd DPI which made the fonts look blurred on/off 
across the screen - enough to give me a nasty headache 5 minutes later.  (If 
you need to find out what the DPI is on your monitor run xdpyinfo).  Just for 
info, these measurements are either obtained from your monitor's manual, or 
by using a tape measure across your screen.

 I think I remember seeing something that explains the Modeline line.
 I'll see if I can find it and figure that one out.

This as well as many more settings are explained in man xorg.conf (spend some 
time searching through the different sections, the required settings are well 
documented).  You probably wouldn't need the modeline on a TFT monitor - at 
least not until you get X spot on.  Then you can read it off xvidtune.  Tell 
me, under monitor have you set the Option  DDCMode  True?  The X server 
should then probe your monitor and use the settings it returns.

PS.  Look at you /var/log/Xorg.0.log after you startX and you'll see a long 
list of modelines some of which will have an asterisk at the beginning - 
these are the resolutions that your monitor is happy with.  Choose one of 
them if you really want to add a modeline in your xorg.conf.  Hopefully 
Option DDCMode should do the trick.

HTH, otherwise please post back.
-- 
Regards,
Mick


pgpZFrlzPNBvA.pgp
Description: PGP signature


Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Hans-Werner Hilse
Hi (again),

On Sat, 09 Sep 2006 08:14:47 -0500
Colleen Beamer [EMAIL PROTECTED] wrote:

 1)  I can't view some things in full screen.  For instance, I play the
 game Blobwars and if I try to set it to use full screen mode, the game
 shows in the middle of the screen, the same size as it was when it was
 in a window before full screen mode is selected.  The rest of the
 screen is black.

Are you using an LCD monitor? It may be one of its internal settings.

 2) I want to get 3 D accelleration working.  Before my screw up, I was
 using ati-drivers and everything was fine.  When xorg 7 came out, I
 removed the previous instance of xorg and reinstalled, but I kept the
 previous xorg.conf file.

Maybe you need commercial drivers for that:
http://gentoo-wiki.com/HOWTO_ATI_Drivers
But you already did install them:

 However, now (because of *my* screwup), I had to install fresh.  So I
 got everything up and running and then tried to install ati-drivers.
 the installation is successful.  Then, I run 'aticonfig --initial
 --input=/etc/X11/xorg.conf', which uses the original xorg.conf file.
 Again kde starts up, lets me log in, goes through it's routine of
 initiallizing the peripherals and then, when the window that gives the
 kde tip appears, it is garbled and my system freezes.

That's the downside of closed source drivers. You might, however, be
able to use the open source ones: http://www.gentoo.org/doc/en/ati-faq.xml

There's also information at installing ati-drivers: you might have to
change your kernel's configuration before installing it.

The screen garbling is an indicator of major brokenness (the freeze
alone could have other reasons, but this isn't going to be easy to fix).

 These are the reasons that I think some setting is wrong.  Before xorg
 7, when I ran xorg -configure, I got prompeted to enter my horizontal
 and vertical sync and the resolutions I wanted to use and they were put
 into the xorg.conf file.  Now I get no prompt.

They can be read via DDC. Xorg does this by default (e.g. no
xorg.conf), and I think X -configure is just like that, with the
exception that it outputs the detected configuration.

 Also some setting has to be wrong somewhere because if I use I go into
 Control panel under peripherals and display, I can't set anything - I
 does detect my default resolution of 1280x1024, but the Refresh Rate
 shows as -19557 Hz.

don't know about this one. Maybe that control panel application needs
xdpyinfo? That's a separate package now... But this is to KDE specific
for me...

 I've gone through all the replies in this thread, but no where is there
 a one to one example of what I am seeing in xorg.conf.

Hm? Other than that you have lots of commented out entries, it just
looks like what probably anyone else has, too.

 I've tried following the X Server Configuration HOW-TO, but no where in
 that is there something that corresponds to this:
 
 SubSection Display
  Viewport   0 0
  Depth 24
  EndSubSection
 
 I understand what the 24 means, but what is Viewport?  I tried setting
 this to 1280 1024, which is my max monitor resolution, but it doesn't
 have any affect.

Yep, that has been explained now. In fact, you can omit the Display
section. OTOH, you can use it to have the configuration setting
Modes, in which you can specify valid modes for that monitor.

The viewport setting does play a role when using CTRL-ALT-keypad +
and -keypad - or other means to change to different screen
geometries.

Note that the ati driver documentation mentions that the only
reasonable depth setting is 24 (bit).

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



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Jan-Hendrik Zab
On Sat, 9 Sep 2006 18:38:26 +
Mick [EMAIL PROTECTED] wrote:

 On Saturday 09 September 2006 16:40, Colleen Beamer wrote:
 
   This is part of my xorg.conf in case it helps:
   ===
   Section Monitor
   DisplaySize 336 269 # 96 DPI @ 1280x1024
   Identifier   Monitor0
   VendorName   NEC
   ModelNameNEC LCD1860NX
   HorizSync31.0 - 80.0
   VertRefresh  55.0 - 85.0
   Option  DPMS
   Modeline  1280x1024   108.00   1280 1328 1440 1688   1024 1025
   1028 1066
   EndSection
 
  Anyway, I'm not sure that I understand some of the above - like
  DisplaySize 336 269 ... what is this?  centimeters? and how do I know
  that the resolution is 96 DPI?
 
 Please ignore that line (I should have deleted it...)  The measurements are 
 in 
 millimeters and invariably needed on a CRT monitor.  I have both a CRT and a 
 TFT monitor so mine is a bit more complex than what you need.  I take it that 
 you are using a TFT monitor, in which case leave these measurements out for 
 now.  The reason I have these in mine is because for some weird reason my TFT 
 monitor was getting an odd DPI which made the fonts look blurred on/off 
 across the screen - enough to give me a nasty headache 5 minutes later.  (If 
 you need to find out what the DPI is on your monitor run xdpyinfo).  Just for 
 info, these measurements are either obtained from your monitor's manual, or 
 by using a tape measure across your screen.
[SNIP]

Hey,
just for the record. IMHO it is a lot easier to set the DPI per
~/.Xdefaults with 'Xft.dpi: 96'. Or by starting the X Server with
'-dpi 96'. Especially when you want to try some specific DPI value.

Jan-Hendrik Zab

-- 
| Jan-Hendrik Zab
| +49 (0)1773392888
| http://www.v3ng34nce.org
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Mick
On Saturday 09 September 2006 18:16, Jan-Hendrik Zab wrote:

 Hey,
 just for the record. IMHO it is a lot easier to set the DPI per
 ~/.Xdefaults with 'Xft.dpi: 96'. Or by starting the X Server with
 '-dpi 96'. Especially when you want to try some specific DPI value.

Cool!  I didn't know .Xdefaults trick.

Thanks!  :)
-- 
Regards,
Mick


pgpSSHdoC5NNn.pgp
Description: PGP signature


Re: [gentoo-user] xorg.conf problem

2006-09-09 Thread Colleen Beamer
Hi Guys,

Thank you *so* much for your patience and your help!


Hervé wrote:
 On my graphic card there are 3 ports : DVI, VGA, TV. I use an LCD
 monitor on 1280x1024 resolution with this config :
 
 Section Monitor
 Identifier  monitor0
 HorizSync   30-82
 VertRefresh 50-85
 EndSection
 
 Section Device
 Identifier  ATI_VE_7000
 Driver  radeon
 
 Option MonitorLayout TMDS, NONE # --IMPORTANTE INSTRUCTION i
 don't know why.
 
 BusID  PCI:1:0:0
 EndSection
 
 Section Screen
 Identifier  Screen 1
 Device  ATI_VE_7000
 Monitor monitor0
 DefaultDepth 24
 
 Subsection Display
 Depth   8
 Modes   1280x1024 1024x768 800x600 640x480
 ViewPort0 0
 EndSubsection
 Subsection Display
 Depth   16
 Modes   1280x1024 1024x768 800x600 640x480
 ViewPort0 0
 EndSubsection
 Subsection Display
 Depth   24
 Modes   1280x1024 1024x768 800x600 640x480
 ViewPort0 0
 EndSubsection
 EndSection
 
 

Something here finally clicked!  Believe me, I am going to do a print
out of the xorg.conf file for future reference - at least until the next
time it is revamped to totally confuse me.

Anyway, I can finally view things properly in full screen mode and
Control Center--Peripherals--Display, now shows a proper refresh rate
and gives me options for resolution.

I still haven't got 3D acceleration working, but hey! one hurdle at a
time.  I'm going to try using x11-drm as opposed to the proprietary ati
drivers.

Thanks again!

Take care,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xorg.conf problem

2006-09-08 Thread Colleen Beamer
Okay, I give.  I'm having a problem with configuring xorg.

I *do* have a basic configuration, but can't run some applications in
full screen mode and I surmise this is because something isn't set
properly in xorg.conf  I ran Xorg -configure and it did give me a basic
configuration, but the file is nothing like I am used to from before I
had to rebuild my system and I can't find an xorg.conf.example file - I
don't know if I accidentally deleted it or not.

In particular, this is the stuff that I don't understand and without the
xorg.conf.example file, I have no means of reference.

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option Dac6Bit   # [bool]
#Option Dac8Bit   # [bool]
#Option BusType   # [str]
#Option CPPIOMode # [bool]
#Option CPusecTimeout # i
#Option AGPMode   # i
#Option AGPFastWrite  # [bool]
#Option AGPSize   # i
#Option GARTSize  # i
#Option RingSize  # i
#Option BufferSize# i
#Option EnableDepthMoves  # [bool]
#Option EnablePageFlip# [bool]
#Option NoBackBuffer  # [bool]
#Option DMAForXv  # [bool]
#Option FBTexPercent  # i
#Option PanelOff  # [bool]
#Option DDCMode   # [bool]
#Option MonitorLayout # [str]
#Option IgnoreEDID# [bool]
#Option UseFBDev  # [bool]
#Option MergedFB  # [bool]
#Option CRT2HSync # [str]
#Option CRT2VRefresh  # [str]
#Option CRT2Position  # [str]
#Option MetaModes # [str]
#Option MergedDPI # [str]
#Option MergedXinerama# [bool]
#Option MergedXineramaCRT2IsScreen0   # [bool]
#Option MergedNonRectangular  # [bool]
#Option MergedMouseRestriction# [bool]
#Option DisplayPriority   # [str]
#Option PanelSize # [str]
#Option ForceMinDotClock  # freq
#Option ColorTiling   # [bool]
#Option VideoKey  # i
#Option RageTheatreCrystal# i
#Option RageTheatreTunerPort  # i
#Option RageTheatreCompositePort  # i
#Option RageTheatreSVideoPort # i
#Option TunerType # i
#Option RageTheatreMicrocPath # str
#Option RageTheatreMicrocType # str
#Option RenderAccel   # [bool]
#Option SubPixelOrder # [str]
#Option ShowCache # [bool]
#Option DynamicClocks # [bool]
#Option BIOSHotkeys   # [bool]
#Option VGAAccess # [bool]
#Option ReverseDDC# [bool]
#Option LVDSProbePLL  # [bool]
#Option AccelMethod   # str
Identifier  Card0
Driver  ati
VendorName  ATI Technologies Inc
BoardName   Radeon R200 QL [Radeon 8500 LE]
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection

I also tried using xorgcfg, but I didn't even get a working
configuration with that and I *do* know my monitor settings.

Also, the man page for xorg.config isn't any help cause it doesn't
mention any of the stuff like viewport that I could see.

I've re-emerged xorg-x11 hoping to get the xorg.conf.example file back,
but that didn't work.

So, if any of you kind people can 

Re: [gentoo-user] xorg.conf

2006-03-14 Thread ellotheth rimmwen
Did you check Linux on Laptops [http://www.linux-on-laptops.com/hp.html]?

http://www.linuxquestions.org/hcl/showproduct.php?product=1563
http://www.unicolet.org/nx9105.html

--
ellotheth rimmwen
* monjoy *

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xorg.conf

2006-03-13 Thread Goran Maksimović








Hi!



I have laptop HP nx9105 which has screen 15.4
resolution of 1280x800 and graphics card nVidia GeForce 4 Go 32M and I am
looking for some assistance in configuration of xorg.conf J. So, can
somebody help me?



Bye



Goran








Re: [gentoo-user] xorg.conf

2006-03-13 Thread Dave Moore
 I have laptop HP nx9105 which has screen 15.4 resolution of 1280x800 and
 graphics card nVidia GeForce 4 Go 32M and I am looking for some assistance
 in configuration of xorg.conf J. So, can somebody help me?

Try Xorg -configure
see http://www.gentoo.org/doc/en/xorg-config.xml

Dave

--
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT d-(+) s+: a24 C++ UBL++ P L++ E--- W+++$ N+ o? K? w O? M-- V?
!PS !PE Y PGP- t++ 5++ X+ R+++ tv+ b++ DI D++ G e+ h-- r++ y+
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] xorg.conf

2006-03-13 Thread Goran Maksimović
Yes I tried but I am looking if someone has done it already or does know
what should I write in xorg.conf.

Bye

Goran

-Original Message-
From: Dave Moore [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 13, 2006 11:00 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xorg.conf

 I have laptop HP nx9105 which has screen 15.4 resolution of 1280x800 and
 graphics card nVidia GeForce 4 Go 32M and I am looking for some assistance
 in configuration of xorg.conf J. So, can somebody help me?

Try Xorg -configure
see http://www.gentoo.org/doc/en/xorg-config.xml

Dave

--
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GAT d-(+) s+: a24 C++ UBL++ P L++ E--- W+++$ N+ o? K? w O? M-- V?
!PS !PE Y PGP- t++ 5++ X+ R+++ tv+ b++ DI D++ G e+ h-- r++ y+
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list


__ NOD32 1.1441 (20060313) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf

2006-03-13 Thread Keats
i have the same card... 
my default is to use an external crt 
you just have to edit it to switch to lcd by default :) 


On Mon, 13 Mar 2006 23:25:04 +0100
Goran Maksimović [EMAIL PROTECTED] wrote:

 Yes I tried but I am looking if someone has done it already or does know
 what should I write in xorg.conf.
 
 Bye
 
 Goran
 
 -Original Message-
 From: Dave Moore [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 13, 2006 11:00 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] xorg.conf
 
  I have laptop HP nx9105 which has screen 15.4 resolution of 1280x800 and
  graphics card nVidia GeForce 4 Go 32M and I am looking for some assistance
  in configuration of xorg.conf J. So, can somebody help me?
 
 Try Xorg -configure
 see http://www.gentoo.org/doc/en/xorg-config.xml
 
 Dave
 
 --
 -BEGIN GEEK CODE BLOCK-
 Version: 3.12
 GAT d-(+) s+: a24 C++ UBL++ P L++ E--- W+++$ N+ o? K? w O? M-- V?
 !PS !PE Y PGP- t++ 5++ X+ R+++ tv+ b++ DI D++ G e+ h-- r++ y+
 --END GEEK CODE BLOCK--
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 
 __ NOD32 1.1441 (20060313) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 


xorg.conf
Description: Binary data


Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-13 Thread Jorge Almeida
On Thu, 13 Oct 2005, Holly Bostick wrote:

 Jorge Almeida schreef:
  It seems it's a known bug. I emerged nvidia-kernel and nvidia-glx 
  with ACCEPT_KEYWORDS=~x86 and it works now.
  
 
 Glad that worked for you, but please now remember to add nvidia-kernel
 and nvidia-glx to /etc/portage/package.keywords as allowed to be ~x86,
 or else Portage will try to downgrade them the next time you do an
 emerge world-- ACCEPT_KEYWORDS on an emerge command line is only
 *temporary for that emerge*, and *is not remembered permanently by Portage*.
 
I don't know if it's a good idea, in this case. After all, the current
masked version will be unmasked one day, and I may not need always the
bleeding-edge version (I'd rather use stable things, if they do the
job). But I always issue emerge -pv before emerging anything, so a
possible downgrade would be detected in advance.

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



Re: [gentoo-user] xorg.conf

2005-10-13 Thread Jorge Almeida
On Wed, 12 Oct 2005, Brett I. Holcomb wrote:

 One thing to check is do you have any /dev/nv* devices?  There was a thread in
 the forums on this which has a script for recreating them and another thread
 on this list in which I posted it.
 
That was it. I found the thread, that's why I emerged the masked
versions of the driver (see my reply to myself).
BTW: the suggestion to put the script in /etc/conf.d/local.start seems
somewhat strange: doesn't /etc/init.d/local get executed after all other
scripts in the default runlevel? Doesn't this mean that the script would
be started _after_ the X server?

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



Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-13 Thread Christoph Gysin

Jorge Almeida wrote:

Glad that worked for you, but please now remember to add nvidia-kernel
and nvidia-glx to /etc/portage/package.keywords as allowed to be ~x86,
or else Portage will try to downgrade them the next time you do an
emerge world-- ACCEPT_KEYWORDS on an emerge command line is only
*temporary for that emerge*, and *is not remembered permanently by Portage*.


I don't know if it's a good idea, in this case. After all, the current
masked version will be unmasked one day, and I may not need always the
bleeding-edge version (I'd rather use stable things, if they do the
job). But I always issue emerge -pv before emerging anything, so a
possible downgrade would be detected in advance.


Won't happen if you unmask only the specific version you are using:

# echo =media-video/nvidia-kernel-1.0.7174 ~x86  
/etc/portage/package.keywords

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-13 Thread Holly Bostick
Jorge Almeida schreef:
 On Thu, 13 Oct 2005, Holly Bostick wrote:
 
 
 Jorge Almeida schreef:
 
 It seems it's a known bug. I emerged nvidia-kernel and nvidia-glx
  with ACCEPT_KEYWORDS=~x86 and it works now.
 
 
 Glad that worked for you, but please now remember to add
 nvidia-kernel and nvidia-glx to /etc/portage/package.keywords as
 allowed to be ~x86, or else Portage will try to downgrade them the
 next time you do an emerge world-- ACCEPT_KEYWORDS on an emerge
 command line is only *temporary for that emerge*, and *is not
 remembered permanently by Portage*.
 
 
 I don't know if it's a good idea, in this case. After all, the
 current masked version will be unmasked one day, and I may not need
 always the bleeding-edge version (I'd rather use stable things, if
 they do the job). But I always issue emerge -pv before emerging
 anything, so a possible downgrade would be detected in advance.

Yes, I understand you-- but what then are you going to do when the
downgrade is detected?

You won't have a choice but to downgrade; if you try masking packages
lower than the current one, you'll get an error saying that all
available packages are masked, and if you do downgrade, your X will be
broken again until you re-emerge the unstable version with
ACCEPT_KEYWORDS on the command line-- EVERY TIME you do an emerge
(-whatever) world.

Is that what you want?

The solution for your stated preference is to unmask the packages'
keyword in /etc/portage/package.keywords, and mask all versions of the
package above the one you have now, so that they do not appear if an
update occurs and you do not want to update to a further unstable version:

#echo 'media-video/nvidia-kernel ~x86' /etc/portage/package.keywords
#echo 'media-video/nvidia-glx ~x86' /etc/portage/package.keywords
#echo 'media-video/nvidia-kernel-1.0.7676' /etc/portage/package.mask
#echo 'media-video/nvidia-glx-1.0.7676-r1' /etc/portage/package.mask

You would of course have to keep an eye on the Portage tree so you would
know when to remove the masks and unmask entries, but you could get
through your daily life without having to re-emerge everything all the time.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-13 Thread Jorge Almeida
On Thu, 13 Oct 2005, Holly Bostick wrote:

 
 The solution for your stated preference is to unmask the packages'
 keyword in /etc/portage/package.keywords, and mask all versions of the
 package above the one you have now, so that they do not appear if an
 update occurs and you do not want to update to a further unstable version:
 
 #echo 'media-video/nvidia-kernel ~x86' /etc/portage/package.keywords
 #echo 'media-video/nvidia-glx ~x86' /etc/portage/package.keywords
 #echo 'media-video/nvidia-kernel-1.0.7676' /etc/portage/package.mask
 #echo 'media-video/nvidia-glx-1.0.7676-r1' /etc/portage/package.mask
 
 You would of course have to keep an eye on the Portage tree so you would
 know when to remove the masks and unmask entries, but you could get
 through your daily life without having to re-emerge everything all the time.
 
OK, will do that. I don't do much emerge world, I usually just -p-it
and then emerge each package, that's why I didn't think of that.

Thank you (and to Christoph too).

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



Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-13 Thread Neil Bothwick
On Thu, 13 Oct 2005 08:48:27 +0100 (WEST), Jorge Almeida wrote:

  Glad that worked for you, but please now remember to add nvidia-kernel
  and nvidia-glx to /etc/portage/package.keywords as allowed to be ~x86,
  or else Portage will try to downgrade them the next time you do an
  emerge world-- ACCEPT_KEYWORDS on an emerge command line is only
  *temporary for that emerge*, and *is not remembered permanently by
  Portage*.
  
 I don't know if it's a good idea, in this case. After all, the current
 masked version will be unmasked one day, and I may not need always the
 bleeding-edge version (I'd rather use stable things, if they do the
 job). 

In this case, ~arch is not bleeding edge. The ebuild of the latest release
version of the nVidia drivers is usually ~arch, even though the drivers
themselves are tested.


-- 
Neil Bothwick

LISP: Lots of Infuriating  Silly Parentheses


pgpDhMM9U1n8n.pgp
Description: PGP signature


Re: Re: [gentoo-user] xorg.conf

2005-10-13 Thread brettholcomb
Hmm, that I can' answer yet as I am still booting to runlevel 3 and then doing 
start x.  I would assume that everthing gets run including local.start  and 
then X gets started after all that.
 
 From: Jorge Almeida [EMAIL PROTECTED]
 Date: 2005/10/13 Thu AM 03:53:59 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] xorg.conf
 
 On Wed, 12 Oct 2005, Brett I. Holcomb wrote:
 
  One thing to check is do you have any /dev/nv* devices?  There was a thread 
  in
  the forums on this which has a script for recreating them and another thread
  on this list in which I posted it.
  
 That was it. I found the thread, that's why I emerged the masked
 versions of the driver (see my reply to myself).
 BTW: the suggestion to put the script in /etc/conf.d/local.start seems
 somewhat strange: doesn't /etc/init.d/local get executed after all other
 scripts in the default runlevel? Doesn't this mean that the script would
 be started _after_ the X server?
 
 Jorge 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-13 Thread William Kenworthy
I have never seen a good reason why a package *shoulnt* be in the world
file.  Especially dependencies.  I am continually getting surprised by
emerge -s showing new versions of packages that emerge -u and sometimes
emerge -uD do not see.  Not good.

depclean is unclean = system breaker.

It has its uses, but when it goes wrong ...

BillK

On Thu, 2005-10-13 at 11:16 +0200, Holly Bostick wrote:
 Jorge Almeida schreef:
  I don't do much emerge world, I usually just -p-it and then emerge 
  each package, that's why I didn't think of that.
 
 That seems like a waste of effort -- and 'corrupts' your world file, as
 well, since everything you emerge explicitly will be entered into your
 world file, and that will then include dependencies, which should by
 rights *not* be in your world file, nothing said about dependencies of
 dependencies, also known as 'deep dependencies'.
 
 You're really making a mess doing that; you'll screw up emerge
 --depclean, for one thing, since I have no idea what it would do if a
 dependency of an uninstalled package in your world file (which would
 normally make the package a valid target for depclean) is also in your
 world file, given that dependencies are not meant to be in your world
 file (thereby invalidating the now-useless package as a depclean target):
 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xorg.conf

2005-10-12 Thread Jorge Almeida
I can't find out what I'm doing wrong. I have a nvidia card (GeForce FX
5200) and I managed to launch the X server with the nv driver. When I
try to use the nvidia driver, the server aborts, complaining about not
finding a usable screen section.

The following file is the one that works (with nv). To try nvidia, I
made two changes: Load glx (instead of dri) and nvidia (as driver)
instead of nv. Something is missing... (Didn't change identifiers and
such.)
I emerged nvidia/kernel and nvidia-glx for good measure, issued modprobe 
nvidia,
 modules-update, openglx-update nvidia...
 Kernel is 2.6.13-gentoo-r3.

Section Module
Loaddbe   # Double buffer extension
Load  fbdevhw
Load  record
SubSection  extmod
  Optionomit xfree86-dga   # don't initialise the DGA extension
EndSubSection
Loadtype1
Loadfreetype
Load   dri
EndSection
Section Files
RgbPath /usr/X11R6/lib/X11/rgb
FontPath   /usr/share/fonts/misc/
FontPath   /usr/share/fonts/TTF/
FontPath   /usr/share/fonts/Type1/
FontPath   /usr/share/fonts/75dpi/
FontPath   /usr/share/fonts/100dpi/
FontPath   /usr/share/fonts/local/
EndSection
Section ServerFlags
EndSection
Section InputDevice
Identifier  Keyboard1
Driver  kbd
Option AutoRepeat 500 30
Option XkbRules   xorg
Option XkbModel   pc104
Option XkbLayout  us_intl
EndSection
Section InputDevice
Identifier  Mouse1
Driver  mouse
Option ProtocolIMPS/2
Option Device  /dev/input/mice
Option  ZAxisMapping 4 5
Option Emulate3Buttons no
EndSection
Section Monitor
Identifier  My Monitor
HorizSync   24-80
VertRefresh 49-75
EndSection
Section Device
Identifier  Standard VGA
VendorName  Unknown
BoardName   Unknown
Driver vga
EndSection
Section Device
Identifier  ** NVIDIA (generic)   [nv]
Driver  nv
VideoRam131072
EndSection
Section Screen
Identifier  Screen 1
Device  ** NVIDIA (generic)   [nv]
Monitor My Monitor
DefaultDepth 24
Subsection Display
Depth   24
Modes   1280x1024
ViewPort0 0
EndSubsection
EndSection
Section ServerLayout
Identifier  Simple Layout
Screen Screen 1
InputDevice Mouse1 CorePointer
InputDevice Keyboard1 CoreKeyboard
EndSection


The last lines of /var/log/Xorg.0.log :

[29] 0  0   0x03c0 - 0x03df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xE000
(--) NVIDIA(0): MMIO registers at 0xFD00
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: nvidia
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-12 Thread Jorge Almeida
It seems it's a known bug. I emerged nvidia-kernel and nvidia-glx with
ACCEPT_KEYWORDS=~x86 and it works now. 

-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf

2005-10-12 Thread Brett I. Holcomb
One thing to check is do you have any /dev/nv* devices?  There was a 
thread in the forums on this which has a script for recreating them and 
another thread on this list in which I posted it.


 On Wed, 12 Oct 2005, 
Jorge Almeida wrote:



I can't find out what I'm doing wrong. I have a nvidia card (GeForce FX
5200) and I managed to launch the X server with the nv driver. When I
try to use the nvidia driver, the server aborts, complaining about not
finding a usable screen section.



--

Brett I. Holcomb
[EMAIL PROTECTED]
Registered Linux User #188143
Remove R777 to email
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.conf [SOLVED]

2005-10-12 Thread Holly Bostick
Jorge Almeida schreef:
 It seems it's a known bug. I emerged nvidia-kernel and nvidia-glx 
 with ACCEPT_KEYWORDS=~x86 and it works now.
 

Glad that worked for you, but please now remember to add nvidia-kernel
and nvidia-glx to /etc/portage/package.keywords as allowed to be ~x86,
or else Portage will try to downgrade them the next time you do an
emerge world-- ACCEPT_KEYWORDS on an emerge command line is only
*temporary for that emerge*, and *is not remembered permanently by Portage*.

 ACCEPT_KEYWORDS on an emerge command line is really a recipe for grief
if you don't complete the operation by validating the ~arch keyword in
some fashion (if you find you want to keep the package, which in this
case you do).

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



[gentoo-user] xorg.conf issue

2005-04-15 Thread Michael Sullivan
I got the alsa sound set up right (I think) and now I turn my attention
toward support for my Mitsumi Optical wheel mouse.  I never had a
problem with it before the past two days' install.  I ran X -configure
and got a configuration file:

xorg.conf.new:

baby root # cat xorg.conf.new
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/lib/X11/rgb
ModulePath   /usr/lib/modules
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/CID/
FontPath /usr/share/fonts/75dpi/
FontPath /usr/share/fonts/100dpi/
EndSection

Section Module
Load  extmod
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  glx
Load  type1
Load  freetype
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/mouse
EndSection

Section Monitor
#DisplaySize  280   210 # mm
Identifier   Monitor0
VendorName   KDS
ModelNameion VS-550
HorizSync30.0 - 55.0
VertRefresh  50.0 - 90.0
Option  DPMS
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option HWCursor  # [bool]
#Option SWCursor  # [bool]
#Option ShadowFB  # [bool]
#Option Rotate# [str]
#Option UseBIOS   # [bool]
#Option LCDClock  # freq
#Option ShadowStatus  # [bool]
#Option CrtOnly   # [bool]
#Option TvOn  # [bool]
#Option PAL   # [bool]
#Option ForceInit # [bool]
#Option Overlay   # [str]
#Option TransparencyKey   # [str]
Identifier  Card0
Driver  savage
VendorName  S3 Inc.
BoardName   ProSavage KM133
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection


And when I tried to use it to startx I got the following output:

baby root # cat xerrors
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/baby: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.11-gentoo-r5 i686 [ELF]
Current Operating System: Linux baby 2.6.11-gentoo-r5 #1 Wed Apr 13
19:34:37 Local time zone must be set--see zic manu i686
Build Date: 15 April 2005
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: Fri Apr 15 09:29:27 2005
(++) Using config file: xorg.conf.new
Using vt 7
[10e] 320 x 200, 70Hz
[133] 320 x 240, 72Hz
[143] 400 x 300, 72Hz
[153] 512 x 384, 70Hz
[11d] 640 x 400, 70Hz
[111] 640 x 480, 160Hz, 100Hz, 85Hz, 75Hz, 72Hz, 60Hz
[173] 720 x 480, 75Hz, 72Hz
[17e] 720 x 576, 75Hz, 72Hz
[114] 800 x 600, 160Hz, 100Hz, 85Hz, 75Hz, 72Hz, 60Hz, 56Hz
[15d] 848 x 480, 75Hz
[117] 1024 x 768, 130Hz, 100Hz, 85Hz, 75Hz, 72Hz, 70Hz, 60Hz
[163] 1152 x 864, 100Hz, 85Hz, 75Hz, 72Hz, 70Hz, 60Hz
[17a] 1280 x 768, 60Hz
[14f] 1280 x 960, 85Hz, 60Hz

Re: [gentoo-user] xorg.conf issue [SOLVED]

2005-04-15 Thread Michael Sullivan
It was actually /dev/input/mouse0, but I found it and now the mouse
works right.  Thanks for your help!  :)

On Fri, 2005-04-15 at 16:59 +0200, Cyrille Damez wrote:
 I guess the problem is the last line of this section:
  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol auto
  Option  Device /dev/mouse
  EndSection
 
 because of this error message:
  (EE) xf86OpenSerial: Cannot open device /dev/mouse
  No such file or directory.
 
 If I remember correctly, on my machine, the mouse device is
 /dev/mice/mouse instead of /dev/mouse. Check in /dev where
 yours is, and modify the last line of the Mouse0 section 
 of your xorg.conf file accordingly.
 
 Cheers.
 --
 gentoo-user@gentoo.org mailing list
 

--
gentoo-user@gentoo.org mailing list