DarkFoss Posted September 7, 2006 Report Share Posted September 7, 2006 I hope this helps you and others too ;) and a big thanks to everyone that posted in, https://mandrivausers.org/index.php?showtopic=33774 I used that thread as a loose guide to resolving my lack of 3D B) as suggested in the above thread I pasted Section "DRI" Mode 0666 EndSection at the bottom of the conf file.. that alone did not help so looking it over I noticed and change 2 lines # === Video Overlay for the Xv extension === Option "VideoOverlay" "on" to "off" and # === OpenGL Overlay === # Note: When OpenGL Overlay is enabled, Video Overlay # will be disabled automatically Option "OpenGLOverlay" "off" to "on" Option "CenterMode" "off" Originally I had also changed "Centermode" "off" to on and that resulted in X not starting so I had to use vim from init 3 to change that back to off issued start x and I was good to go. Note I lost Aiglx but gained XGL also glxgears only runs at 500 and 495 fullscreen no fg_glxgears Enabling FPS in PPracer and it shows anywhere from 75 to 180Fullscreen at 1280x768 running Chromium from the console tracks FPS and I got a steady 50-70 Fullscreen as well so don't get hung up on glx numbers 3D performance is what counts ;) here's the whole file, # File generated by XFdrake (rev 57713) # ********************************************************************** # Refer to the xorg.conf man page for details about the format of # this file. # ********************************************************************** Section "Files" # font server independent of the X server to render fonts. FontPath "unix/:-1" # minimal fonts to allow X to run without xfs FontPath "/usr/share/fonts/misc:unscaled" EndSection Section "Extensions" 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 does not work EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer Load "dri" # direct rendering EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" Option "XkbOptions" "compose:rwin" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" EndSection Section "Monitor" Identifier "monitor1" VendorName "Samsung" ModelName "Samsung SyncMaster 711N/712N" HorizSync 30-81 VertRefresh 56-85 # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4) ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +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 EndSection Section "Monitor" Identifier "monitor2" VendorName "Samsung" ModelName "Samsung SyncMaster 711N/712N" HorizSync 30-81 VertRefresh 56-85 # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4) ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +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 EndSection Section "Device" Identifier "device1" VendorName "ATI Technologies Inc." BoardName "ATI Radeon (fglrx)" Driver "fglrx" Screen 0 BusID "PCI:1:0:0" Option "DPMS" # === disable PnP Monitor === #Option "NoDDC" # === disable/enable XAA/DRI === Option "no_accel" "no" Option "no_dri" "no" # === FireGL DDX driver module specific settings === # === Screen Management === Option "DesktopSetup" "0x00000000" Option "MonitorLayout" "AUTO, AUTO" Option "IgnoreEDID" "off" Option "HSync2" "unspecified" Option "VRefresh2" "unspecified" Option "ScreenOverlap" "0" # === TV-out Management === Option "NoTV" "yes" Option "TVStandard" "NTSC-M" Option "TVHSizeAdj" "0" Option "TVVSizeAdj" "0" Option "TVHPosAdj" "0" Option "TVVPosAdj" "0" Option "TVHStartAdj" "0" Option "TVColorAdj" "0" Option "GammaCorrectionI" "0x00000000" Option "GammaCorrectionII" "0x00000000" # === OpenGL specific profiles/settings === Option "Capabilities" "0x00000000" # === Video Overlay for the Xv extension === Option "VideoOverlay" "off" # === OpenGL Overlay === # Note: When OpenGL Overlay is enabled, Video Overlay # will be disabled automatically Option "OpenGLOverlay" "on" Option "CenterMode" "off" # === QBS Support === Option "Stereo" "off" Option "StereoSyncEnable" "1" # === Misc Options === Option "UseFastTLS" "0" Option "BlockSignalsOnLock" "on" Option "UseInternalAGPGART" "no" Option "ForceGenericCPU" "no" # === FSAA === Option "FSAAScale" "1" Option "FSAADisableGamma" "no" Option "FSAACustomizeMSPos" "no" Option "FSAAMSPosX0" "0.000000" Option "FSAAMSPosY0" "0.000000" Option "FSAAMSPosX1" "0.000000" Option "FSAAMSPosY1" "0.000000" Option "FSAAMSPosX2" "0.000000" Option "FSAAMSPosY2" "0.000000" Option "FSAAMSPosX3" "0.000000" Option "FSAAMSPosY3" "0.000000" Option "FSAAMSPosX4" "0.000000" Option "FSAAMSPosY4" "0.000000" Option "FSAAMSPosX5" "0.000000" Option "FSAAMSPosY5" "0.000000" EndSection Section "Device" Identifier "device2" VendorName "ATI Technologies Inc." BoardName "ATI Radeon (fglrx)" Driver "ati" Screen 0 BusID "PCI:1:0:1" Option "DPMS" Option "XaaNoOffscreenPixmaps" "1" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection Subsection "Display" Depth 15 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection EndSection Section "Screen" Identifier "screen2" Device "device2" Monitor "monitor2" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection Subsection "Display" Depth 15 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240" EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" Screen "screen2" RightOf "screen1" #Option "Xinerama" EndSection Section "DRI" Mode 0666 EndSection Quote Link to comment Share on other sites More sharing options...
scoonma Posted September 7, 2006 Report Share Posted September 7, 2006 This is really valuable. Probably we should try to collect well working combinations of video cards and corresponding configuration files. Xorg.conf settings can be nasty sometimes, and information about all those options, their meanings and working combinations seems to be spread all over the net. I've managed to get the fglrx driver for my ATI 9600SE working again. Xgl is untried yet, but I'll do this soon. However, there's another point which gave some trouble: The proprietary driver (plus the plf one, which basically seem to deliver a stripped version of those files) obviously does not like to coexist with some regular libGL files. Main goal was a coexistence of both solutions. My xorg.conf has two Device sections, one for ati/radeon from xorg and one for the fglrx driver. By simply changing the device name (the name identifier) within the screen section below I hoped to be able to switch drivers (plus restarting X of course). But that would've been too easy, right? Fglrx installs his libGL.so.1.2 in /usr/lib/ati (plus symbolic link), the regular libGL.so.1.2 resides in /usr/lib though. Only after renaming the regular one and setting a link at the other library the driver wanted to do 3D hardware rendering. What puzzles me is the fact that it's actually running now (fglrxinfo and fgl_glxgears do work), but the sceen startx is being executed from displays the following: (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrxdri.so: undefined symbol CreateNewScreen_20050727) (EE) AIGLX: reverting so software rendering For me this looks like an unsuccessful library call, and in every other similar case before 3D rendering was not possible (if X would start working at all; normally X refuses to start on *every* strict error as I've experienced). Or do the messages just mean the very special AIGLX part (from xorg) won't work, but the libraries from fglrx origin can compensate, and using Xgl might be possible regardless? However, many thanks again for the config file! scoonma Quote Link to comment Share on other sites More sharing options...
DarkFoss Posted September 7, 2006 Author Report Share Posted September 7, 2006 Cool glad it was helpful. I see the post was moved sorryabout that. Since it was hardware related I posted there.. since it involved beta 3 I thought about posting it in Cooker lol putting it here would have been my 3rd choice :P Quote Link to comment Share on other sites More sharing options...
scoonma Posted September 7, 2006 Report Share Posted September 7, 2006 No problem about the move. :-) I've checked Xgl now and... nope! .xsession-errors clearly states that Composite Extension is needed by Xgl, but enabling that within xorg.conf disables 3D acceleration for the fglrx driver at all. So if you have a more recent ATI card (r300 and up) and want to try out the new 3D desktop features, you seem to be bound to the xorg/AIGLX combination at the moment (but I don't know wether you can overcome this by compiling Xgl 'n stuff yourself - not that I'd advise it if you're not really sure how to do that). Cheers, scoonma Quote Link to comment Share on other sites More sharing options...
DarkFoss Posted September 8, 2006 Author Report Share Posted September 8, 2006 Sorry to here XGL doesn't work for you. 3D and XGLboth work for me. Just lost Aiglx when I installed the propritary drivers. Quote Link to comment Share on other sites More sharing options...
scoonma Posted September 8, 2006 Report Share Posted September 8, 2006 Sorry to here XGL doesn't work for you. Don't worry, I'm considering 3D desktop as a feature just to play with by now. ;-) 3D and XGLboth work for me. Just lost Aiglx when I installed the propritary drivers. This is what amazes with your config! The combination "ati drivers from xorg" plus Xgl was never possible here, with the Xgl option also greyed out by the new 3D desktop configuration module in MCC whenever using ati/xorg. OTOH, if I chose to use the proprietary drivers, the option itself is working, but functionality is not there (yet?). Your xorg.conf reflects settings for both the proprietary and the free solution, with the latter one activated. But there's no loading of the Composite Extension?!? I always thought that would be an absolute necessity with the xorg drivers to get 3D desktop functions working with Xgl. Folks here state the Composite Extension would only be necessary with nvidia, and it should not be used for ATI: http://www.debianforum.de/forum/viewtopic....1aa5bb0c7d3bf50 But this cannot be the whole truth, otherwise those message stating the extension being missed would not show up here in .xsession-errors. I'm wondering wether the mainboard is troublemaker: It has an nforce2 chip layout, so the module nvidia-agp is used, no matter what's being loaded later on. Setting "UseInternalAGPGART" to "on" or "off" makes no difference. Still being puzzled... scoonma Quote Link to comment Share on other sites More sharing options...
DarkFoss Posted September 8, 2006 Author Report Share Posted September 8, 2006 "Your xorg.conf reflects settings for both the proprietary and the free solution, with the latter one activated. But there's no loading of the Composite Extension?!? I always thought that would be an absolute necessity with the xorg drivers to get 3D desktop functions working with Xgl." Your right after I installed the proprietary drivers I ran XFdrake and made sure that option was unchecked. I did have it checked using the install default drivers. That option was not fglx btw like it had been in past Mandriva installs.Instead is was a new driver something like Radeon (Aigl) ? Aiglx worked with that combination it also worked after installing the fglx and unchecking it. I should have taken step by step notes, but since I was "winging it" :unsure: I'm going to install Mona tonite and I will try to do a step by step perhaps then something useful for everyone may come about. Quote Link to comment Share on other sites More sharing options...
scoonma Posted September 9, 2006 Report Share Posted September 9, 2006 Hi DarkFoss, thx for making this clear. Yes, standard driver for cards with our chip series used to be radeon or ati respectively, inserting the radeon module when loading. This is at least what I've understood how the drivers work by now. Don't worry about your information not precise enough. Maybe I did not explain this right (or some language shortcoming/adjustment?): Me thinks I'm quite understanding your description semantically, but what I did not understand is why your config is working from a technical point of view. The fglrx driver is not like the xorg ones, i.e. being modular, but a single one for a large number of ATI cards with similar video chips. Besides your card belonging to a newer generation than mine and thus more capable, your config was the most close to mine I could find until now. So I copied it and adapted where needed. Maybe the difference of inbuilt rendering chips (here is R350) is the reason why you can run the fglrx/Xgl combination and me not. Knowing wether this is the case would at least calm my curiosity. :-) Cheers, scoonma Quote Link to comment Share on other sites More sharing options...
Guest Jon Garate Posted October 24, 2006 Report Share Posted October 24, 2006 Really, really, really aprecciate this. Finally, after 2 weeks of endless research in forums & sites, this xorg.conf worked for me. At first attempt I just tried changing the parammeters you specified and didnt work, then I decided to copy & replace the whole file and now I have full access to 3D Environment. Just can't express in words how happy I am :) Now here my system details for further help to anybody: - Ati Radeon 9800XT 256mb - AMD 64 Athlon XP 2000+ - Mandriva Free 2007 (DVD-version) - Kernel 2.6.17-5mdv (The one that comes within the DVD install) I used the following repositories to download the plf ATI drivers: urpmi.addmedia plf-free ftp://ftp.free.fr/pub/Distributions_Linux.../binary/x86_64/ with hdlist.cz urpmi.addmedia plf-nonfree ftp://ftp.free.fr/pub/Distributions_Linux.../binary/x86_64/ with hdlist.cz urpmi.addmedia main ftp://ftp.belnet.be/linux/mandrake/offici...ia/main/release with media_info/hdlist.cz urpmi.addmedia contrib ftp://ftp.u-picardie.fr/mirror/ftp.mandri...contrib/release with media_info/hdlist.cz I downloaded the Ati-xorg drivers from there and MCC package manager did & downloaded the dependencies for me. Then I just went XFdrake in console (as root) and enabled Ati radeon "fglrx" drivers (which were selected by default in my case), after all this I just changed the xorg.conf file by this one. This explanation might not be the best since Im quite new to GNU/Linux environment but hope can endorse new people to give it a shot B) . Thanks again, Jon Garate. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.