Re: problem with ati driver in kernel 2.4

2010-06-12 Thread Mark Allums
You pasted a version with both the vesa driver and the ati, and seem to 
be commenting/uncommenting parts.  Are there any differences beside the 
driver?



Try replacing the relevant section of xorg.conf (XF86Config) with 
something like the following (and make sure the ati x driver is 
available) (some details may need tweaking):



# **
# Graphics device section
# **

# Any number of graphics device sections may be present

# Device configured by xf86config:

Section Device
Identifier  ATI Rage 128 Pro
Chipset ATI Rage 128 Pro PF (AGP)
Driver  r128

#VideoRam32768
# Insert Clocks lines here if appropriate
EndSection




Uncomment the VideoRam bit if needed.


Also, What type monitor do you have?  Is it an older CRT?  It may be 
being put into a mode that almost, but not quite, works, and this 
scrambles the screen.  Will it work at a low refresh rate than 75?  Try 60.



MAA





On 6/11/2010 10:31 PM, Long Wind wrote:

the ati card is AGP

let me repeat my problem clearly

the card/driver work in etch with kernel 2.6
they work in sarge with kernel 2.4
but they don't work in etch with kernel 2.4
though x server does not change!


below is /etc/X11/xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
FontPath/usr/share/fonts/X11/misc
FontPath/usr/X11R6/lib/X11/fonts/misc
FontPath/usr/share/fonts/X11/cyrillic
FontPath/usr/X11R6/lib/X11/fonts/cyrillic
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/X11R6/lib/X11/fonts/Type1
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/X11R6/lib/X11/fonts/100dpi
FontPath/usr/share/fonts/X11/75dpi
FontPath/usr/X11R6/lib/X11/fonts/75dpi
# path to defoma fonts
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Loadi2c
Loadbitmap
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadvbe
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRulesxorg
Option  XkbModelpc104
Option  XkbLayout   us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device  /dev/input/mice
Option  ProtocolImPS/2
Option  Emulate3Buttons true
EndSection

Section Device
Identifier  Generic Video Card
#   Driver  vesa
Driver  ati
EndSection

Section Monitor
Identifier  Generic Monitor
Option  DPMS
HorizSync   46.875
VertRefresh 75
#   HorizSync   28-40
#   VertRefresh 43-60
EndSection

Section Screen
Identifier  Default Screen
Device  Generic Video Card
Monitor Generic Monitor
DefaultDepth16
SubSection Display
Depth   1
Modes   800x600
EndSubSection
SubSection Display
Depth   4
Modes   800x600
EndSubSection
SubSection Display
Depth   8
Modes   800x600
EndSubSection
SubSection Display
Depth   15
Modes   800x600
EndSubSection
SubSection Display
Depth   16
Modes   800x600
EndSubSection
SubSection Display
Depth   24
Modes   800x600
EndSubSection
EndSection

Section ServerLayout
Identifier  

Re: problem with ati driver in kernel 2.4

2010-06-12 Thread Mark Allums
Let me repeat:  Some details may need tweaking.  I am not sure if the 
correct ati driver is still called r128, and I think your video card 
is not AGP, that may make some difference.


Look at your monitor's settings.

MAA



On 6/12/2010 3:25 PM, Mark Allums wrote:

You pasted a version with both the vesa driver and the ati, and seem to
be commenting/uncommenting parts. Are there any differences beside the
driver?


Try replacing the relevant section of xorg.conf (XF86Config) with
something like the following (and make sure the ati x driver is
available) (some details may need tweaking):


# **
# Graphics device section
# **

# Any number of graphics device sections may be present

# Device configured by xf86config:

Section Device
Identifier ATI Rage 128 Pro
Chipset ATI Rage 128 Pro PF (AGP)
Driver r128

#VideoRam 32768
# Insert Clocks lines here if appropriate
EndSection




Uncomment the VideoRam bit if needed.


Also, What type monitor do you have? Is it an older CRT? It may be being
put into a mode that almost, but not quite, works, and this scrambles
the screen. Will it work at a low refresh rate than 75? Try 60.


MAA





On 6/11/2010 10:31 PM, Long Wind wrote:

the ati card is AGP

let me repeat my problem clearly

the card/driver work in etch with kernel 2.6
they work in sarge with kernel 2.4
but they don't work in etch with kernel 2.4
though x server does not change!


below is /etc/X11/xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool,
using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual
page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades
*only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically
updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
FontPath /usr/share/fonts/X11/misc
FontPath /usr/X11R6/lib/X11/fonts/misc
FontPath /usr/share/fonts/X11/cyrillic
FontPath /usr/X11R6/lib/X11/fonts/cyrillic
FontPath /usr/share/fonts/X11/100dpi/:unscaled
FontPath /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath /usr/share/fonts/X11/75dpi/:unscaled
FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath /usr/share/fonts/X11/Type1
FontPath /usr/X11R6/lib/X11/fonts/Type1
FontPath /usr/share/fonts/X11/100dpi
FontPath /usr/X11R6/lib/X11/fonts/100dpi
FontPath /usr/share/fonts/X11/75dpi
FontPath /usr/X11R6/lib/X11/fonts/75dpi
# path to defoma fonts
FontPath /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Load i2c
Load bitmap
Load ddc
Load dri
Load extmod
Load freetype
Load glx
Load int10
Load vbe
EndSection

Section InputDevice
Identifier Generic Keyboard
Driver kbd
Option CoreKeyboard
Option XkbRules xorg
Option XkbModel pc104
Option XkbLayout us
EndSection

Section InputDevice
Identifier Configured Mouse
Driver mouse
Option CorePointer
Option Device /dev/input/mice
Option Protocol ImPS/2
Option Emulate3Buttons true
EndSection

Section Device
Identifier Generic Video Card
# Driver vesa
Driver ati
EndSection

Section Monitor
Identifier Generic Monitor
Option DPMS
HorizSync 46.875
VertRefresh 75
# HorizSync 28-40
# VertRefresh 43-60
EndSection

Section Screen
Identifier Default Screen
Device Generic Video Card
Monitor Generic Monitor
DefaultDepth 16
SubSection Display
Depth 1
Modes 800x600
EndSubSection
SubSection Display
Depth 4
Modes 800x600
EndSubSection
SubSection Display
Depth 8
Modes 800x600
EndSubSection
SubSection Display
Depth 15
Modes 800x600
EndSubSection
SubSection Display
Depth 16
Modes 800x600
EndSubSection
SubSection Display
Depth 24
Modes 800x600
EndSubSection
EndSection

Section ServerLayout
Identifier Default Layout
Screen Default Screen
InputDevice Generic Keyboard
InputDevice Configured Mouse
EndSection

Section DRI
Mode 0666
EndSection








--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c13ef6d.9070...@allums.com



problem with ati driver in kernel 2.4

2010-06-11 Thread Long Wind
I have HP VL420 and etch
ati rage 128 pro (or ultra?) works  fine in kernel 2.6
but in kernel 2.4, it displays strangely
I have to return to text mode (Ctrl+Alt+F1) and reboot
and I have to use vesa driver in kernel 2.4

ati driver works fine in sarge, which use kernel 2.4

Can you help?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimmzft2u6iew7gnkxnkr7tm7mqq-l3c5vfgi...@mail.gmail.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Ron Johnson

On 06/11/2010 04:12 PM, Long Wind wrote:

I have HP VL420 and etch
ati rage 128 pro (or ultra?) works  fine in kernel 2.6
but in kernel 2.4, it displays strangely
I have to return to text mode (Ctrl+Alt+F1) and reboot
and I have to use vesa driver in kernel 2.4

ati driver works fine in sarge, which use kernel 2.4

Can you help?



Before that, you need to hint us as to why you're still using a 2.4 
kernel.  Specialty h/w *might* require a different list.


--
There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
disaster, you need people with high IQs.
Thomas Sowell


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c12a8e3.4000...@cox.net



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Mark Allums

On 6/11/2010 4:12 PM, Long Wind wrote:

I have HP VL420 and etch
ati rage 128 pro (or ultra?) works  fine in kernel 2.6
but in kernel 2.4, it displays strangely
I have to return to text mode (Ctrl+Alt+F1) and reboot
and I have to use vesa driver in kernel 2.4

ati driver works fine in sarge, which use kernel 2.4

Can you help?



Kernel 2.4 is still used for some specialized reasons, but few people 
want to use it unless they have such specific reasons.  Also, few want 
to use Sarge, since it doesn't get security updates.  Perhaps you might 
give us a few details about your system and your requirements.


Do you have a severe memory constraint, for example?


(Most driver updates these days probably assume the 2.6 kernel.  You may 
have to roll back to an older driver, if there is one.  Also, it seems 
you are unsure what hardware you actually have.  It might help to find 
out for sure.  The difference might be significant.)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c12af7e.6070...@allums.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Long Wind
My reason for using old s/w doesn't matter

There are plenty of reason for running old s/w
that's why archive.debian.org exists
not only to offer sarge
but potato and rex!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktime5nh0elfxw63erz4ha7ruxurjm0bhtusjp...@mail.gmail.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Ron Johnson

On 06/11/2010 07:04 PM, Long Wind wrote:

My reason for using old s/w doesn't matter



Only if you're paying us lots of money for sustaining *really* way 
past EOL kit.


But you aren't...


There are plenty of reason for running old s/w
that's why archive.debian.org exists
not only to offer sarge
but potato and rex!



--
There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
disaster, you need people with high IQs.
Thomas Sowell


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c12d486.3020...@cox.net



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Mark Allums

On 6/11/2010 7:04 PM, Long Wind wrote:

My reason for using old s/w doesn't matter

There are plenty of reason for running old s/w
that's why archive.debian.org exists
not only to offer sarge
but potato and rex!




Yes.  We don't need to know specific reasons.  However, just knowing, as 
an example, that you only have 32M of memory, would tell us that a 
suggestion to only run 2.6 kernels would not be helpful and to skip that 
line of thinking.


I personally have not run a 2.4 kernel since 2.6 was released, so I 
cannot help there (my memories are fading).  I did some Googling and 
found that you are not alone in having problems, but a random check of a 
few sites revealed that every person required a different solution, so I 
must fall back on general suggestions.


I don't suppose you are having a difficulty with your BIOS?  On older 
computers, the AGP aperture had to be set correctly.  Also: under Sarge, 
is the agpgart driver set up properly?


Sometimes a scrambled screen is a hardware problem, and sometimes it is 
a memory problem.


If all else fails, I used to have some success when compiling the kernel 
myself, rather than using a stock kernel.  This is a blue sky 
suggestion, it may not be helpful.


Did you mean Etch with 2.4 kernel is not working, but it works in Sarge, 
and Etch with 2.6 works?  Thus it is the combination that doesn't work? 
 Then it is a function of of X under 2.4?  Have you looked in X-related 
forums and lists?  Have you looked in ATI-related lists and forums? 
Have you tried searching for similar issues under (*gasp*) other Linux 
distributions?  Have you looked in HP forums?




Good Luck!






--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c12dad1.5010...@allums.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Mark Allums

On 6/11/2010 7:54 PM, Mark Allums wrote:

On 6/11/2010 7:04 PM, Long Wind wrote:

My reason for using old s/w doesn't matter

There are plenty of reason for running old s/w
that's why archive.debian.org exists
not only to offer sarge
but potato and rex!



 but a random check of a

few sites revealed that every person required a different solution, so I
must fall back on general suggestions.

I don't suppose you are having a difficulty with your BIOS? On older
computers, the AGP aperture had to be set correctly. Also: under Sarge,
is the agpgart driver set up properly?



Sorry, I meant under Etch, not Sarge.

MAA


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c12db82.2030...@allums.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Long Wind
Thank Mark Allums !

I use kernel 2.4 because of producer, a video capturing application
video capturing is hard to learn and config
As I'm happy with the old producer
I'm unwilling to spend more energy on learning/upgrading

My machine is HP vl420 running P4
with 128Mx3 memory




On 6/11/10, Mark Allums m...@allums.com wrote:
 On 6/11/2010 7:04 PM, Long Wind wrote:


  Yes.  We don't need to know specific reasons.  However, just knowing, as an
 example, that you only have 32M of memory, would tell us that a suggestion
 to only run 2.6 kernels would not be helpful and to skip that line of
 thinking.

  I personally have not run a 2.4 kernel since 2.6 was released, so I cannot
 help there (my memories are fading).  I did some Googling and found that you
 are not alone in having problems, but a random check of a few sites revealed
 that every person required a different solution, so I must fall back on
 general suggestions.

  I don't suppose you are having a difficulty with your BIOS?  On older
 computers, the AGP aperture had to be set correctly.  Also: under Sarge, is
 the agpgart driver set up properly?

  Sometimes a scrambled screen is a hardware problem, and sometimes it is a
 memory problem.

  If all else fails, I used to have some success when compiling the kernel
 myself, rather than using a stock kernel.  This is a blue sky
 suggestion, it may not be helpful.

  Did you mean Etch with 2.4 kernel is not working, but it works in Sarge,
 and Etch with 2.6 works?  Thus it is the combination that doesn't work?
 Then it is a function of of X under 2.4?  Have you looked in X-related
 forums and lists?  Have you looked in ATI-related lists and forums? Have you
 tried searching for similar issues under (*gasp*) other Linux distributions?
  Have you looked in HP forums?



  Good Luck!






  --
  To UNSUBSCRIBE, email to
 debian-user-requ...@lists.debian.org with a subject of
 unsubscribe. Trouble? Contact listmas...@lists.debian.org
  Archive:
 http://lists.debian.org/4c12dad1.5010...@allums.com




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinfxopxpofj0ndpsfjxcrdyqjmizwj0wzn7l...@mail.gmail.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Ron Johnson

On 06/11/2010 08:18 PM, Long Wind wrote:

Thank Mark Allums !

I use kernel 2.4 because of producer, a video capturing application
video capturing is hard to learn and config


Are you implying that there's some specialized PCI card for which 
there's no known 2.6 driver?



As I'm happy with the old producer
I'm unwilling to spend more energy on learning/upgrading

My machine is HP vl420 running P4
with 128Mx3 memory





--
There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
disaster, you need people with high IQs.
Thomas Sowell


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c12e586.2050...@cox.net



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Mark Allums

On 6/11/2010 8:18 PM, Long Wind wrote:

Thank Mark Allums !

I use kernel 2.4 because of producer, a video capturing application
video capturing is hard to learn and config
As I'm happy with the old producer
I'm unwilling to spend more energy on learning/upgrading

My machine is HP vl420 running P4
with 128Mx3 memory



So you have 384M?  That is small by today's standards, but should be 
enough to do what you want.


The ATI rage pro is a PCI card, right?

What does your /etc/X11/XF86Config have in it?  (paste or attach)





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c12e53b.7010...@allums.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Long Wind
the ati card is AGP

let me repeat my problem clearly

the card/driver work in etch with kernel 2.6
they work in sarge with kernel 2.4
but they don't work in etch with kernel 2.4
though x server does not change!


below is /etc/X11/xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
FontPath/usr/share/fonts/X11/misc
FontPath/usr/X11R6/lib/X11/fonts/misc
FontPath/usr/share/fonts/X11/cyrillic
FontPath/usr/X11R6/lib/X11/fonts/cyrillic
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/X11R6/lib/X11/fonts/Type1
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/X11R6/lib/X11/fonts/100dpi
FontPath/usr/share/fonts/X11/75dpi
FontPath/usr/X11R6/lib/X11/fonts/75dpi
# path to defoma fonts
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Loadi2c
Loadbitmap
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadvbe
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
EndSection

Section Device
Identifier  Generic Video Card
#   Driver  vesa
Driver  ati
EndSection

Section Monitor
Identifier  Generic Monitor
Option  DPMS
HorizSync   46.875
VertRefresh 75
#   HorizSync   28-40
#   VertRefresh 43-60
EndSection

Section Screen
Identifier  Default Screen
Device  Generic Video Card
Monitor Generic Monitor
DefaultDepth16
SubSection Display
Depth   1
Modes   800x600
EndSubSection
SubSection Display
Depth   4
Modes   800x600
EndSubSection
SubSection Display
Depth   8
Modes   800x600
EndSubSection
SubSection Display
Depth   15
Modes   800x600
EndSubSection
SubSection Display
Depth   16
Modes   800x600
EndSubSection
SubSection Display
Depth   24
Modes   800x600
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
Screen  Default Screen
InputDevice Generic Keyboard
InputDevice Configured Mouse
EndSection

Section DRI
Mode0666
EndSection


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktilpnt1tjq_qzdivtbivds7u_k3xcuox499mw...@mail.gmail.com



Re: problem with ati driver in kernel 2.4

2010-06-11 Thread Ron Johnson

On 06/11/2010 10:31 PM, Long Wind wrote:

the ati card is AGP

let me repeat my problem clearly

the card/driver work in etch with kernel 2.6
they work in sarge with kernel 2.4
but they don't work in etch with kernel 2.4
though x server does not change!



Then why not use a 2.6 kernel?

--
There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
disaster, you need people with high IQs.
Thomas Sowell


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c130b9e.1050...@cox.net