Please check my xorg.conf for ATI big-desktop dual monitors
I've been struggling with my dual monitor setup in Mandriva 2008.0 for 2 solid days now and a lot of coffee support :cry:
I followed the advice on various posts from several linux websites and so far I got big-desktop to work and I can drag windows between them which is good, but with the following problems: I only have 2 resolution options in ATI Catalyst Control Center: 2560x1024 and 1024x480. Currently I have it set on 2560x1024 but the monitors dont support a high refresh rate at this resolution so they have a lot of flicker at 60Hz. The 1024x480 resolutionis way too low for practical use. The monitors are both AOpen 17" with 1024x768@85Hz as my preferred resolution. My card is an ATI Radeon 9600. When I run fglrxinfo I get the following: Code:
[johan@localhost ~]$ fglrxinfo Code:
# File generated by XFdrake (rev 230776) Johan |
When mesa shows up like that it means fglrx is not loaded.
fglrx will not load if something else is linked to agpgart. For fglrx to work drm cannot be loaded as a module. Do a lsmod and see if you have agpgart and if drm is linked to it. If drm is there, exit out of X and become su. Then rmmod drm. Then try to modprobe fglrx. If this works, change the name of drm in the relevant /lib/mod... area so it doesn't reload. If drm is there but not a module then you may need to compile your own kernel without drm support. If you do this, under the graphics section, choose /dev/agpgart as a module and have nothing else selected. You do not want DRM for fglrx. I am not sure if load "dri" is needed in xorg.conf. I tried with it and then with it commented out and saw no difference in X. Note that I am not an expert on any of this but I got fglrx working and verified opengl works and if I remember right I got the drm advice from reading around on the ATI forum or in some of the faqs or howtos in the catalyst 4 package. Good luck. |
I had it with fglrx loaded before and I couldn't get the big-desktop setup to work. I got to the current settings by accident and it worked best so far of all I've tried. Actually I'm not sure where to go from here to get fglrx running as I've done so many things up to now.
I'll look into the dri suggestions, although I'm kind of new to this so will have to google on those commands. If you can give me more details on where and how to do lsmod, rmmod and modprobe that will help! I'm comfortable with the console but don't know too much about the various commands and syntax. Thanks so far! |
If you don't need 3D, and if you are using kde, have you tried simply right clicking on a clean screen, choosing "configure desktop" and select "display". This allows you to set screen size and has a tab for multiple monitors.
|
I did try that but the moment the configuration screen opens, my displays goes to a VERY low resolution so that I can only see one corner of the open window. My mouse pointer also seem to be stuck in one corner of the screen so I can't change the resolution to anything else from there. Is there any way to correct this maybe from a console so that I can try that configuration?
|
Note that I needed to edit my reply above regarding dri. I'll try and remember how I altered screen size. Have you already tried ctrl+alt+ (- or + from numberpad)?
|
I tried it while the desktop config window is open but nothing happens :(
It does work normally though. |
When I had the screen too large to use I ended up going back to a version of xorg.conf that worked. I did not figure a way to choose a better resolution. Based on the work you have done you should create a copy of your current xorg.conf file in your home area to ensure you don't lose it if you change back to earlier version or create new one with xorgconfig.
Are you sure about your monitor values? I couldn't find vm7v at aopen during very brief review. You have: HorizSync 30.0 - 72.0 VertRefresh 50.0 - 160.0 If you are not sure, maybe double check with specs in your manual. If you can't find numbers maybe change to: HorizSync 32.0 - 82.0 VertRefresh 56.0 - 76.0 These are my guess based on looking at a couple of other aopen/acer/asus 17" monitors but they could be wrong. In your Section "ServerLayout" you have "aticonfig-Screen[0]" Later on in the xorg you also have a Screen[0] and Screen[1]. What calls aticonfig-Screen[1]? In this same section you have InputDevice "Mouse2" "SendCoreEvents" For my own knowledge, what is this meant to do? You have: Section "Device" Identifier "aticonfig-Device[0]" Driver "fglrx" Option "ATIFGLEXTENSION" "Keyboard1" BusID "PCI:1:0:0" EndSection I only have two lines, "ati..." and "fglrx". What do other two lines do? Section "Device" Identifier "aticonfig-Device[1]" Driver "fglrx" Option "HSync2" "65" Option "VRefresh2" "60" BusID "PCI:1:0:0" Screen 1 EndSection I don't know much about this either but it seems if using two monitors in one big display the outputs would need to be the same, right? Same resolution and refresh rates. If this is wrong please let me know so I can get a little smarter. Consider providing the output from typing, dmesg | grep agp , in a terminal. Likewise for lsmod | grep agp , need to be root for this one. Also provide xorg.0.log in /var/log or wherever mandriva puts it showing the lines beginning with (EE). |
I did create backups of my xorg.conf file while struggling to get this working. I had to go back to the backups several times after ruinning things beyond all hope :S
I'm not sure about the monitor values at all as I can't find the manuals or info on the net about them. I just guesstimated the values from what others were using... I changed the values to what you suggested. Quote:
I just know enough to get me into trouble but I'm learning... I'm soaking up all Linux info I can find so if you anyone can give me a link to a detailed explanation to the xorg.conf file so I can at least get to know this little sucker better that will help a lot :study: Quote:
Quote:
Code:
[root@localhost johan]# dmesg | grep agp Quote:
Code:
(II) Primary Device is: PCI 01:00:0 I'm also adding the complete log file in case there's something useful. I went through it and found some interesting reading (wannabe geek suspense novel) so here it is: Xorg.0.log Thanks for the help so far. Until I learn enough to help myself and others I need all the help I can get! Johan |
Looks like you have motherboard with IGP. Which motherboard do you have?
How are the monitors hooked up? Both to ATI 9600 (VGA + DVI)? Or one to 9600 and one to motherboard (IGP)? I would imagine (but could be wrong) that the 9600 is so much faster than the VIA IGP (P4M800?) that you want them both hooked to the 9600 video card. If they are hooked one each on the video card and motherboard (IGP) I do not know how you configure the system or the xorg.conf file. If you are hooked up this way and figure it out, please post the solution. Assuming you have them both hooked up to the 9600 you probably need to remove the via_agp module. Try the following: in a terminal, become su, type: rmmod via_agp or rmmod -f via_agp - If that doesn't work you'll have to figure how to login to a terminal mode vs a Xwindow. I think in Mandriva you do that from the options in the login area. Once via_agp module is removed, Rerun the ATI Catalyst .run file and let it change the xorg.conf file. Then log into X or ctrl+alt+backspace to get out then relog in. If this works, either add via_agp.ko (ko or gz or maybe just o) to the blacklist area in /etc/modprobe.conf, /etc/modules.conf, or in the /etc/modprobe.d/ area. Or, simply rename (mv) the via_agp.ko file in the /lib/mod*/ area to a different name such as 11via_agp. For me this is at: /lib/modules/2.6.24.5-smp/kernel/drivers/char/agp Have fun. |
The motherboard is an Asrock 775VM800.
I do have both monitors on the Radeon card and nothing on the IGP. I removed the via_agp module and ran the ATI .run file again from terminal mode. I don't see any difference in my desktop and all the problems are still the same... The ATI installer said that there were some errors during install - here's the contents of the fglrx-install.log file: Code:
[Message] Kernel Module : Trying to install a precompiled kernel module. You seem to have a lot of patience :cool: |
I just hooked up a 2nd monitor to my system so that one is HDMI and one is VGA. Then in X I used the catalyst control center and was able to select the big desktop and restart windows. I did not need to make any changes to the xorg.conf. Here is a copy of much of my xorg.conf file that seems relevant. Note that I added back "load "dri"" and have not yet removed it.
Code:
Section "ServerLayout" Regarding my suggestion to rerun ati.run file, I did not know you had the modules already. When you rerun the ati.run installer I think it erases its previous occurrences so you probably only need to reinstall your modules (probably from the rpm). The error you found is probably because the installer is looking for the kernel sources. There is usually a symlink at /usr/src/linux that points to them. In some distributions the header files are located at usr/include/linux. It will probably be easier for you at this point to reload your fglrx modules and then edit your xorg.conf by hand rather than down load the sources. If the fglrx control center is not part of the package you have should download it also in order to get the big desktop or clone. As a side note, I also tried running X without the agpgart module and it seemed to work OK. ATI, somewhere on the web, states their fglrx drivers will use it if available but also either have their own or do not really need it. I did not run it long enough to see if there were any issues with many programs. |
I'm not sure what to do to reload the fglrx modules. At this stage I've confused myself so much with the different drivers and modules and settings that I'm almost scared to start changing things again and lose whatever I have that's working with regards to big desktop.
If you could point me in the direction of what specifically to do to reload the fglrx modules I can take it from there. Thanks! |
I'm still assuming you no longer have the fglrx module. To check for it, make sure that the via_agp module is not loaded and then modprobe fglrx. Are there any errors. If not, do a lsmod | grep fglrx and see if it shows up and if it shows up linked with agpgart.
If it's not there and you want fglrx you either need to run the ati .run installer or try and get modules for fglrx for your distribution (mandriva I think). The ati installer needs the linux sources. On the 2008 mandriva dvd these appear to be located at dvd/i586/media/main and might be called kernel-source-2.6.22.9-1mdv-1-1mdv2008.0.i586.rpm. You could also try to find kernel source at mandriva website. After install make a symlink at /usr/src/linux pointing to the newly installed source. With this installed you could try running the ati.run installer again as root from a terminal login. Based on stories in links below you may need to delete previous occurrences of catalyst control center and fglrx. Or, leave the kernel stuff alone and try to install packaged module for fglrx. Something like these MAY be helpful: http://club.mandriva.com/xwiki/bin/v...control-center http://club.mandriva.com/xwiki/bin/v...9-desktop-1mdv -if you go this route browse the rpm before installing to see what it might overwrite and to see if you have other versions located in other places (/var/lib instead of /lib or /usr/ati instead of /usr/fglrx or even at /usr/share/...) You may have to search and see what other people have done as I haven't used mandriva much. One of many hits that may or may not be helpful is: http://forum.mandriva.com/viewtopic.php?t=75533 I hope you are able to get your big desktop working after all of this. Have fun. |
Thanks for all the trouble, but I solved the problem by rather using my nvidia card. It worked first time :) Only thing that is not right is when I maximise a window it goes across both screens :( Some more reading up to do. Except if you maybe know how to fix that one?
|
All times are GMT -5. The time now is 06:16 PM. |