LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-20-2003, 11:14 AM   #1
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Rep: Reputation: 0
Hercules 3D Prophet 9000 PCI Errors with 9.1


Hi,

I have Mandrake Linux 9.1 which is working perfectly so far. However, every time I try and activate my Hercules 9000 PCI 64MB (infact - i select an ATI Radeon because I don't think the card exists in the list), it seems Mandrake no longer supports it - I can't see anything - and I can't get back into KDE or Gnome to see how to change the settings - which leads me to having to reinstall.

I have two monitors - one in my standard Intel 810 Graphics chipset which came with my computer, and another in my Hercules 3D Prophet 9000 PCI 64MB (Which I believe is powered by ATI Radeon)

Has anyone else managed to get this working? Thank you very much in advance to anyone who can help. - Its greatly appreciated.

Steve (totally)
 
Old 11-20-2003, 11:56 AM   #2
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
Do you change this in the x config file? If this is the case, you do not need to reboot the machine to fix the problem. Also, you shouldn't have both monitors plugged in

But, if you can't get back into kde / gnome / x then just control alt backspace to a terminal and edit the XF86Config file in /etc/X11/XF86Config

If you can't do this, then use a live CD and boot into a console and chroot into your drives. Then you can edit the config file Just go to output device section and change the driver type back to what it was.
 
Old 11-20-2003, 01:29 PM   #3
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for your reply,

I have both monitors in because quite often, when I'm messing with the monitor and display, it simply changes monitors and I don't know whats happening - and usually by the time I change over monitors in the different ports - something else goes on..

I really wondered if anyone had already tested this with a driver and got it to work. Being a linux-newbie, I simply use Mandrake's config/setup tool to try and add the display.

I dont know what driver I'm meant to be using, and last time I edited the XF86Config file - I kinda bodged up the job...

Steve
 
Old 11-20-2003, 01:51 PM   #4
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
hmmmm It would help if you knew exactly what kind of chipset it uses. If it's an ATI radeon chipset then I can help you... if not then you need to find out.
 
Old 11-20-2003, 02:17 PM   #5
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
It says it is powered by an ATI Radeon (presumably 9000 due to its name)
 
Old 11-20-2003, 02:39 PM   #6
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
ok cool....

Before reading this, bear in mind that I use a diff distro but I've tried to change the things necessary to work for you. If you need further explantions, just ask. I'm sure i can help

right, to make an ati work nicely on linux (it's not as easy as nvidia sadly ) you may need to recompile your kernel. Very easy really. But worth the higher Frames and graphics Should be fine with kernel 2.4.20 or 2.4.22 unless you have a KT400 chipset mobo (which means you should get 2.6) but follow this and see if it helps:

bring up a console and su in with root pass... then type
Code:
cd /usr/src/linux
then
Code:
make menuconfig
Now go to the Character Devices. You want to find and make sure you compile in agp support, so it should look like this:
Code:
<*> /dev/agpgart (AGP Support)
If it doesn't have the star or an M press space to put one in.... and then below choose the chipset of your mobo. Now scroll down the page a little more and make sure that DRI / DRM is disabled, so should look like:
Code:
[ ] Direct Rendering Manager (Xfree 4.1.0 and higher DRI support)
now you can exit and save the config. To compile the kernel, type
Code:
make dep && make clean vmlinuz modules modules_install
and then
Code:
mount /boot
and then make a backup of your working kernel image file:
Code:
cp /boot/vmlinuz /boot/vmlinuz.working
then copy the image to the boot section:
Code:
cp /usr/src/linux/arch/i386/boot/vmlinuz /boot
and now
Code:
/sbin/lilo - (if you use lilo)
umount /boot
Now you want to restart and make sure everything boots okay. If it does then goto www.ati.com and download the latest driver for your version of xfree... compile / make / install etc (follow the readme) and then use the fglrxconfig tool which will guide you through setting up your card and auto makes a config file for you.

For my system it's in /opt/ati/bin/fglrxconfig

Good luck
 
Old 11-20-2003, 03:22 PM   #7
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Thankyou very much. - I'm going to try it out as soon as possible - just make sure I back up everything - 'cos im bound to muck everything up first time round. I hope to buy the Power Pack edition of Mandrake 9.2 in December. If this works with 9.1 and I'm still having the same troubles with 9.2 - will it still work to use this fix?

Steve.

Thanks again!
 
Old 11-20-2003, 03:30 PM   #8
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
Yes... this fix is basically just making sure that your kernel will not have any issues with your card. Hopefully, that should have a newer kernel aswell... but yeah, what I described should work fine

backing up shouldn't be an issue to try this method. As long as you copy your working kernel image as described in the points above, then if you have problems you can just switch back to the other kernel and it will be just like before

Last edited by breakerfall; 11-20-2003 at 03:32 PM.
 
Old 11-20-2003, 03:51 PM   #9
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you very much, breakerfall, your help will be of great use to me. Thanks again!

Steve.
 
Old 11-22-2003, 10:12 AM   #10
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Hi,

I've been trying out the help you gave me - but the linux source code isn't available in /usr/src/linux - the only folder in /usr/src is RPM. Is there any other location it will be installed in?

Thanks.
Steve.
 
Old 11-23-2003, 08:25 AM   #11
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
Bummer, I'm not 100% sure about mandrake in that case then :/ Normally, /usr/src/linux is a symlink to the actual un-compressed kernel directory containing the kernel config and the build files. I just double checked as well and just realised that you have a PCI graphics card. The info I was giving, was generally directed towards AGP so sorry about that


Okay, forget the guide above .... are you saying that when you enter "Radeon" as the driver in the xconfig file, it stops working?

One thing to try would be to download the drivers from ATIs website anyway, install them and then run /opt/ati/bin/fglrxconfig through a console screen and this will create a new config and replace the driver as "fglrx" and also adds it to the loaded modules list. See if that works. After doing this and rebooting, run fgl_glxgears and see what score you get.... do glxgears aswell.

One more question... when you change the card to "radeon", do you manually edit the xfree config yourself and do the change the name of the identifier, or do you use the xfree config creator. Just that if you change the Identifier, you need to change the value further down in the screens section
 
Old 11-23-2003, 11:05 AM   #12
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Hi again,

I've just started downloading the ATI drivers for Xfree 4.30 (its gonna take 14 mins cos of dialup) anyway, when I chose the ATI Radeon driver - i first used xf86config (a few times) and also the Mandrake Control Center. When I change the setting in xf86config - the error is:

no screens found

And when I use Mandrake's Control Center - i just get a black screen. I can get back into text using the CD and booting into failsafe - but I'm kinda stuck from then on. I have to go behind my computer, plug my monitor back into Intel i810 and reinstall Mandrake.

The download has finished now - so... I'll try the steps you described.

Steve.
 
Old 11-23-2003, 11:18 AM   #13
breakerfall
Member
 
Registered: Jun 2003
Location: Manchester, UK
Distribution: Gentoo
Posts: 306

Rep: Reputation: 30
I thought that would be your problem

ha ha ha.... okay cool. Like I said in the other post, when actually changing the values in the xfree config file, for example, changing the identifier to "Hercules 9000", you need to change it in the screens section too. Easily fixed

Anyhow, nice and easy, if you want to try this before you install the drivers, edit the xfree config and don't change the identifier for now... simple change the Driver field and change it to "radeon". Don't change anything else. In fact, if you want, post your xfree config file in here for me (use the [ code] option and I can check it for you.

Then reboot and see if it's acceptable. If you maybe want to get it going a bit faster, you can try the drivers
 
Old 11-23-2003, 11:23 AM   #14
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
I tried the drivers and got the following error:

Problems occured during installation:
file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-glc22-4.3.0-3.2.8 conflicts with file from package XFree86-libs-4.3-5mdk

So I'll try looking at the xf86config - its in /etc/X11/ right?

Cheers again, Steve.

Update: hmm... there's 2 - xf86config and xf86config-4 - any particular one?
 
Old 11-23-2003, 11:25 AM   #15
totally
LQ Newbie
 
Registered: Nov 2003
Location: United Kingdom
Distribution: Mandrake 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Updated

/etc/X11/XF86Config:

Code:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Keyboard"
    Protocol "Standard"
    XkbModel "pc105"
    XkbLayout "gb"
    XkbCompat ""
    XkbOptions ""
EndSection

Section "Pointer"
    Protocol "IMPS/2"
    Device "/dev/psaux"
    ZAxisMapping 4 5
EndSection

Section "Monitor"
    Identifier "monitor1"
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
    
    # This is a set of standard mode timings. Modes that are out of monitor spec
    # are automatically deleted by the server (provided the HorizSync and
    # VertRefresh lines are correct), so there's no immediate need to
    # delete mode timings (unless particular mode timings don't work on your
    # monitor). With these modes, the best standard mode that your monitor
    # and video card can support for a given resolution is automatically
    # used.
    
    # 640x400 @ 70 Hz, 31.5 kHz hsync
    ModeLine "640x400"     25.175 640  664  760  800   400  409  411  450
    
    # 640x480 @ 60 Hz, 31.5 kHz hsync
    ModeLine "640x480"     25.175 640  664  760  800   480  491  493  525
    
    # 800x600 @ 56 Hz, 35.15 kHz hsync
    ModeLine "800x600"     36     800  824  896 1024   600  601  603  625
    
    # 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync
    ModeLine "1024x768"    44.9  1024 1048 1208 1264   768  776  784  817 Interlace
    
    # 640x400 @ 85 Hz, 37.86 kHz hsync
    ModeLine "640x400"     31.5   640  672 736   832   400  401  404  445 -HSync +VSync
    
    # 640x480 @ 75 Hz, 37.50 kHz hsync
    ModeLine "640x480"    31.5   640  656  720  840   480  481  484  500 -HSync -VSync
    
    # 800x600 @ 60 Hz, 37.8 kHz hsync
    ModeLine "800x600"     40     800  840  968 1056   600  601  605  628 +hsync +vsync
    
    # 640x480 @ 85 Hz, 43.27 kHz hsync
    ModeLine "640x480"     36     640  696  752  832   480  481  484  509 -HSync -VSync
    
    # 1152x864 @ 89 Hz interlaced, 44 kHz hsync
    ModeLine "1152x864"    65    1152 1168 1384 1480   864  865  875  985 Interlace
    
    # 800x600 @ 72 Hz, 48.0 kHz hsync
    ModeLine "800x600"     50     800  856  976 1040   600  637  643  666 +hsync +vsync
    
    # 1024x768 @ 60 Hz, 48.4 kHz hsync
    ModeLine "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync -vsync
    
    # 640x480 @ 100 Hz, 53.01 kHz hsync
    ModeLine "640x480"     45.8   640  672  768  864   480  488  494  530 -HSync -VSync
    
    # 1152x864 @ 60 Hz, 53.5 kHz hsync
    ModeLine "1152x864"   89.9  1152 1216 1472 1680   864  868  876  892 -HSync -VSync
    
    # 800x600 @ 85 Hz, 55.84 kHz hsync
    ModeLine "800x600"    60.75  800  864  928 1088   600  616  621  657 -HSync -VSync
    
    # 1024x768 @ 70 Hz, 56.5 kHz hsync
    ModeLine "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync -vsync
    
    # 1280x1024 @ 87 Hz interlaced, 51 kHz hsync
    ModeLine "1280x1024"   80    1280 1296 1512 1568  1024 1025 1037 1165 Interlace
    
    # 800x600 @ 100 Hz, 64.02 kHz hsync
    ModeLine "800x600"    69.65  800  864  928 1088   600  604  610  640 -HSync -VSync
    
    # 1024x768 @ 76 Hz, 62.5 kHz hsync
    ModeLine "1024x768"    85    1024 1032 1152 1360   768  784  787  823
    
    # 1152x864 @ 70 Hz, 62.4 kHz hsync
    ModeLine "1152x864"   92    1152 1208 1368 1474   864  865  875  895
    
    # 1280x1024 @ 61 Hz, 64.2 kHz hsync
    ModeLine "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054
    
    # 1400x1050 @ 60 Hz, 65.5 kHz
    ModeLine "1400x1050" 122.0 1400 1488 1640 1880   1050 1052 1064 1082 +HSync +VSync
    
    # 1024x768 @ 85 Hz, 70.24 kHz hsync
    ModeLine "1024x768"   98.9  1024 1056 1216 1408   768 782 788 822 -HSync -VSync
    
    # 1152x864 @ 78 Hz, 70.8 kHz hsync
    ModeLine "1152x864"   110   1152 1240 1324 1552   864  864  876  908
    
    # 1280x1024 @ 70 Hz, 74.59 kHz hsync
    ModeLine "1280x1024"  126.5 1280 1312 1472 1696  1024 1032 1040 1068 -HSync -VSync
    
    # 1600x1200 @ 60Hz, 75.00 kHz hsync
    ModeLine "1600x1200"  162   1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
    
    # 1152x864 @ 84 Hz, 76.0 kHz hsync
    ModeLine "1152x864"   135    1152 1464 1592 1776   864  864  876  908
    
    # 1280x1024 @ 75 Hz, 79.98 kHz hsync
    ModeLine "1280x1024"  135    1280 1296 1440 1688 1024 1025 1028 1066 +HSync +VSync
    
    # 1024x768 @ 100Hz, 80.21 kHz hsync
    ModeLine "1024x768"   115.5  1024 1056 1248 1440  768  771  781  802 -HSync -VSync
    
    # 1400x1050 @ 75 Hz, 82.2 kHz hsync
    ModeLine "1400x1050" 155.8   1400 1464 1784 1912  1050 1052 1064 1090 +HSync +VSync
    
    # 1600x1200 @ 70 Hz, 87.50 kHz hsync
    ModeLine "1600x1200"  189    1600 1664 1856 2160  1200 1201 1204 1250 -HSync -VSync
    
    # 1152x864 @ 100 Hz, 89.62 kHz hsync
    ModeLine "1152x864"   137.65 1152 1184 1312 1536   864  866  885  902 -HSync -VSync
    
    # 1280x1024 @ 85 Hz, 91.15 kHz hsync
    ModeLine "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync +VSync
    
    # 1600x1200 @ 75 Hz, 93.75 kHz hsync
    ModeLine "1600x1200"  202.5  1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
    
    # 1600x1200 @ 85 Hz, 105.77 kHz hsync
    ModeLine "1600x1200"  220    1600 1616 1808 2080  1200 1204 1207 1244 +HSync +VSync
    
    # 1600x1200 @ 85 Hz, 106.3 kHz hsync
    ModeLine "1600x1200" 229.5   1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
    
    # 1280x1024 @ 100 Hz, 107.16 kHz hsync
    ModeLine "1280x1024"  181.75 1280 1312 1440 1696  1024 1031 1046 1072 -HSync -VSync
    
    # 1800x1440 @ 64Hz, 96.15 kHz hsync
    ModeLine "1800X1440"  230    1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
    
    # 1800x1440 @ 70Hz, 104.52 kHz hsync
    ModeLine "1800X1440"  250    1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
    
    # 1920x1440 @ 60 Hz, 90.0 kHz hsync
    ModeLine "1920x1440"  234.0  1920 2048 2256 2600 1440 1441 1444 1500 -HSync +VSync
    
    # 1920x1440 @ 75 Hz, 112.5kHz hsync
    ModeLine "1920x1440"  297.0  1920 2064 2288 2640 1440 1441 1444 1500 -HSync +VSync
    
    # 512x384 @ 78 Hz, 31.50 kHz hsync
    ModeLine "512x384"    20.160 512  528  592  640   384  385  388  404 -HSync -VSync
    
    # 512x384 @ 85 Hz, 34.38 kHz hsync
    ModeLine "512x384"    22     512  528  592  640   384  385  388  404 -HSync -VSync
    
    # Low-res Doublescan modes
    # If your chipset does not support doublescan, you get a 'squashed'
    # resolution like 320x400.
    
    # 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio
    ModeLine "320x200"     12.588 320  336  384  400   200  204  205  225 Doublescan
    
    # 320x240 @ 60 Hz, 31.5 kHz hsync, 4:3 aspect ratio
    ModeLine "320x240"     12.588 320  336  384  400   240  245  246  262 Doublescan
    
    # 320x240 @ 72 Hz, 36.5 kHz hsync
    ModeLine "320x240"     15.750 320  336  384  400   240  244  246  262 Doublescan
    
    # 400x300 @ 56 Hz, 35.2 kHz hsync, 4:3 aspect ratio
    ModeLine "400x300"     18     400  416  448  512   300  301  302  312 Doublescan
    
    # 400x300 @ 60 Hz, 37.8 kHz hsync
    ModeLine "400x300"     20     400  416  480  528   300  301  303  314 Doublescan
    
    # 400x300 @ 72 Hz, 48.0 kHz hsync
    ModeLine "400x300"     25     400  424  488  520   300  319  322  333 Doublescan
    
    # 480x300 @ 56 Hz, 35.2 kHz hsync, 8:5 aspect ratio
    ModeLine "480x300"     21.656 480  496  536  616   300  301  302  312 Doublescan
    
    # 480x300 @ 60 Hz, 37.8 kHz hsync
    ModeLine "480x300"     23.890 480  496  576  632   300  301  303  314 Doublescan
    
    # 480x300 @ 63 Hz, 39.6 kHz hsync
    ModeLine "480x300"     25     480  496  576  632   300  301  303  314 Doublescan
    
    # 480x300 @ 72 Hz, 48.0 kHz hsync
    ModeLine "480x300"     29.952 480  504  584  624   300  319  322  333 Doublescan
EndSection
Steve.

Last edited by totally; 11-23-2003 at 11:31 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hercules 3D prophet 4500 driver TranceDude Linux - Software 7 09-04-2006 08:06 AM
Hercules 3D prophet 4500 driver TranceDude Linux - Hardware 0 08-12-2005 01:37 PM
Hercules 3d prophet 9800 pro Mirar Linux - Hardware 1 07-29-2003 09:37 AM
hercules 3d prophet 4000xt promith Linux - Hardware 0 03-07-2003 05:39 PM
Hercules 3D Prophet KyroII teeno Linux - Hardware 2 07-18-2002 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration