Jump to content

Lost 3D ability! [solved]


Guest Cyorxamp
 Share

Recommended Posts

Guest Cyorxamp

Hi,

 

I installed PowerPack 2006 a few days ago and the provided ATI drivers were wonderful and worked well... I have since updated my system (I no longer have club membership, I used Easy URPMI) and this gave me a new kernel hense loosing my ability to use the ATI driver. So I selected normal 'Radeon' instead of 'Radeon (fglrx)' and booted in so I could install the ATI drivers again... I ran XFdrake and selected them and they do appear to be in use as everything claims they are. However I have lost 3D ability! SuperTux plays like crap when on OpenGL mode and ut2004 won't even start!

 

Here is some information...

 

GLXINFO

name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None

 

Also the ATI Control Panel reports I am using Mesa Indirect GLX?

I swear unreal 1999 mentioned something called SOS OpenGL.... has this changed? is that the reason? how can I get my old setup back!

 

p.s. my new kernel is... 2.6.12-12mdk

 

Any help most appreciated :P

Link to comment
Share on other sites

You need to use the ATI (fglrx) driver. And if you're subscription is expired, you can still get updates - you don't have to pay for it. Make sure your urpmi sources are set up using the link at the top of this page.

 

Also, after installing the ATI (fglrx), make sure you have this section at the bottom of the xorg.conf file:

 

Section "DRI"
Mode 0666
EndSection

 

and you'll be right as rain.

Link to comment
Share on other sites

Guest Cyorxamp

XORG.CONF

 

# 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)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Digital Equipment Corp."
ModelName "Digital 15 in. Color Monitor (FR-PCXBV-E*)"
HorizSync 30.0-69.0
VertRefresh 50.0-110.0

# 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"
BoardName "ATI Radeon (fbdev)"
Driver "fglrx"
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"		   "0x06419064"
Option "GammaCorrectionII"		  "0x06419064"
# === OpenGL specific profiles/settings ===
Option "Capabilities"			   "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay"			   "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#	   will be disabled automatically
Option "OpenGLOverlay"			  "off"
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 "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
	Depth 8
	Virtual 1280 1024
EndSubsection

Subsection "Display"
	Depth 15
	Virtual 1280 1024
EndSubsection

Subsection "Display"
	Depth 16
	Virtual 1280 1024
EndSubsection

Subsection "Display"
	Depth 24
	Virtual 1280 1024
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

Section "DRI"
Mode 0666
EndSection

Link to comment
Share on other sites

OK, in this section:

 

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

 

you need to add a line:

 

Load "dri"

 

this is why the section I gave you to add before isn't working. Once you add this, your xorg will be configured to use direct rendering, and should then give you 3d. To check:

 

glxinfo | grep direct

 

and then run:

 

glxgears

 

leave it running for 5-10 seconds, and see what the output is.

Link to comment
Share on other sites

Guest Cyorxamp

Still nothing, did all that you asked and when playing on OpenGL mode on SuperTux it's crap and ut2004 still won't load... both worked fine when I first installed Mandriva and it came with it's propreitary drivers.

 

glxinfo | grep direct

direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

 

glxgears

1078 frames in 5.0 seconds = 215.484 FPS
1075 frames in 5.0 seconds = 214.982 FPS
1076 frames in 5.0 seconds = 215.144 FPS
1076 frames in 5.0 seconds = 215.063 FPS
1077 frames in 5.0 seconds = 215.201 FPS
1074 frames in 5.0 seconds = 214.777 FPS
1076 frames in 5.0 seconds = 215.159 FPS
1075 frames in 5.0 seconds = 214.997 FPS
1056 frames in 5.0 seconds = 211.015 FPS
1063 frames in 5.0 seconds = 212.555 FPS
1072 frames in 5.0 seconds = 214.338 FPS
etc...
etc.......
etc.............

Link to comment
Share on other sites

Did you reboot after making the change? And if so, maybe you need to try:

 

urpmi dkms-ati

 

but make sure you have ALL urpmi repositories, main, contrib, updates, plf-free and plf-nonfree.

Link to comment
Share on other sites

Guest Cyorxamp

Yup, when I was on Easy Urmpi... I selected them all and they all connected... I distinctly remember it installing dkms-ati

 

I think Mandriva may have run it's course, i'll probably go back to Ubuntu.

Edited by Cyorxamp
Link to comment
Share on other sites

Don't give up so easily :P

 

rpm -qa | grep dkms

 

and lets see if it's actually installed. My ATI Radeon 9250 at home doesn't use dkms-ati, and works fine with the config I gave you. Of course, at 1200fps with glxgears but this isn't a true measure anyway.

Link to comment
Share on other sites

OK, my ATI card doesn't work with dkms-ati either, so maybe remove these items:

 

urpme dkms dkms-ati dkms-minimal

 

will do it all in one go. Then check your /etc/X11/xorg.conf and make sure it has the info I gave before, namely the Section DRI and Load DRI lines. Then, make sure mesa is installed:

 

urpmi Mesa

 

mesa has to be typed as Mesa, else it won't install and then reboot and you should have opengl. This is what I do with my system, and it works this way.

 

ATI cards are a real pain though. And ATI's drivers don't work for me no matter what I try. I'm stuck with ATI (fglrx) which works fine when you've played with the config like I've just mentioned.

Link to comment
Share on other sites

Guest Cyorxamp

I can't do what your asking...

 

When I installed drivers from ATI using their driver it is fine... but when installing them through RPMdrake it asks me to install dkms as well as dependancies!

 

The whole thing is just messed up... All because I upgraded the kernel it 'loses' the graphics... linux is screwy.

Edited by Cyorxamp
Link to comment
Share on other sites

It shouldn't have asked you to install the dkms drivers unless you asked it to. The dkms-ati drivers are practically the same as the ones from ati. The reason they are like this is so that when you change your kernel the dkms-ati module is injected into the new kernel during bootup, and therefore means you don't have to reinstall the drivers manually that you downloaded from ati.

 

Perhaps you need to remove the ones you installed from ati, and use the dkms drivers. However, I now get the feeling that when you updated your kernel, you didn't update the kernel source.

 

rpm -qa | grep kernel

 

and post the output.

 

If you installed ATI's drivers manually from their website, I'd recommend you remove them. Hopefully you remember the filename, and can filter it out from the installed apps using:

 

rpm -qa | grep ati

 

or similar, as I don't know what the rpm for ati's driver is called.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...