LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-05-2006, 02:37 PM   #1
MistdragoN
LQ Newbie
 
Registered: Jul 2006
Location: SwedeN
Distribution: Linux SuSe 10.1
Posts: 8

Rep: Reputation: 0
OpenGL Problem


After i installed Mesa OpenGl every game i running lagg,
when i disable Opengl for that game it runs without lagg.

Someone who have same problem and know how to fix it..

(Sorry for my bad english)
 
Old 07-06-2006, 07:36 AM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
What video card you have? Please give more information.
Open a terminal and put
Code:
glxinfo | grep direct
and post results
 
Old 07-06-2006, 07:47 AM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
MESA OpenGl is a hack... it's not direct hardware accelerated OpenGL, it's software OpenGL translation calls... so it's basicly your CPU and memory doing the work of the accelerated video card... works, but badly.

Your chipset and driver situation is important. Follow the advise of the guy who posted before me and show what your hardware configuration is.
 
Old 07-10-2006, 04:31 AM   #4
MistdragoN
LQ Newbie
 
Registered: Jul 2006
Location: SwedeN
Distribution: Linux SuSe 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Terminal:
Code:
[drake@HeLLspawN ~]$ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
My graphic-card: Ati Powercolor X800 XT PCI/E
 
Old 07-10-2006, 06:21 AM   #5
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
You need to install ATi drivers for your video card. Go to ATi website, donwload and install the drivers.
You'll find tutorials as well on how to install the drivers
 
Old 07-10-2006, 09:26 AM   #6
MistdragoN
LQ Newbie
 
Registered: Jul 2006
Location: SwedeN
Distribution: Linux SuSe 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hammett
You need to install ATi drivers for your video card. Go to ATi website, donwload and install the drivers.
You'll find tutorials as well on how to install the drivers
I have installed those drivers
 
Old 07-11-2006, 07:54 AM   #7
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
Then is something wrong with your config file, because you don't have 3D enabled. Have a look into your xorg.conf file to see any possible error there.
 
Old 07-11-2006, 01:32 PM   #8
MistdragoN
LQ Newbie
 
Registered: Jul 2006
Location: SwedeN
Distribution: Linux SuSe 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hammett
Then is something wrong with your config file, because you don't have 3D enabled. Have a look into your xorg.conf file to see any possible error there.
xorg.conf
Code:
# /.../
# SaX generated X11 config file
# Created on: 2006-07-10T18:36:41+0200.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "se"
  Option       "XkbModel" "pc105"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "12"
  Option       "Device" "/dev/input/mice"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Logitech;MediaPlay"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  DisplaySize  340 270
  HorizSync    30-81
  Identifier   "Monitor[0]"
  ModelName    "SAMSUNG SYNCMASTER"
  Option       "DPMS"
  VendorName   "SAM"
  VertRefresh  43-75
  UseModes     "Modes[0]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068
  Modeline 	"1152x864" 102.08 1152 1224 1352 1552 864 865 868 901
  Modeline 	"1152x864" 99.64 1152 1224 1344 1536 864 865 868 901
  Modeline 	"1152x864" 98.15 1152 1224 1344 1536 864 865 868 900
  Modeline 	"1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
  Modeline 	"1024x768" 78.43 1024 1080 1192 1360 768 769 772 801
  Modeline 	"1024x768" 77.25 1024 1080 1192 1360 768 769 772 800
  Modeline 	"800x600" 47.53 800 840 920 1040 600 601 604 626
  Modeline 	"800x600" 46.87 800 840 920 1040 600 601 604 626
  Modeline 	"800x600" 46.15 800 840 920 1040 600 601 604 625
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Device"
  BoardName    "Radeon X800XT (R423) 5D57 (PCIE)"
  BusID        "5:0:0"
  Driver       "radeon"
  Identifier   "Device[0]"
  VendorName   "ATI"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection
Cannot see any error.. :S .. but i checked xorg.0.log file and couldn't find anything about the dri...so i quess i missing the dri lib or modules..

EDIT: I have installed libdri & libdrm now but still not working...

Last edited by MistdragoN; 07-11-2006 at 02:24 PM.
 
Old 07-12-2006, 05:19 AM   #9
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

Rep: Reputation: 54
do
Code:
cat /var/log/Xorg.0.log | grep EE
to see any possible errors
do as well
Code:
lsmod
to see modules loaded
Do you have agpgart enabled?
Did you choose the automatic or the manual install? Try to do the manual (if chosen the automatic) and verify you choose the right options for your system.
 
Old 07-19-2006, 09:50 AM   #10
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
Shouldn't his DRI group be 0666 instead of 0660???

Maybe that is why he isn't getting accelerated video...
 
Old 07-19-2006, 04:03 PM   #11
rajmund
LQ Newbie
 
Registered: Jun 2005
Location: Hungary
Distribution: FC5
Posts: 14

Rep: Reputation: 0
ati drivers does not support 3d. U have to use fglrx drivers, don't know how to get them to suse. For Fedora, can find them at livna.org. Also have the src there - might works.
 
Old 07-20-2006, 12:45 AM   #12
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Mesa3D is not a hack. It is another 3D rendering project like DirectX. Most projects copy OpenGL because it is used world wide in several professional applications and it is portable to many OS.

I think fglrx uses dri not glx, so comment the glx line in the module section.

The mode 0660 in the DRI section is alright but only if you are in the video section and you include Group "video" in the DRI section. If you are not and/or testing purposes, I suggest using 0666.

I recommend backing up your xorg.conf before editing it.
 
Old 07-29-2006, 11:52 AM   #13
MistdragoN
LQ Newbie
 
Registered: Jul 2006
Location: SwedeN
Distribution: Linux SuSe 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rajmund
ati drivers does not support 3d. U have to use fglrx drivers, don't know how to get them to suse. For Fedora, can find them at livna.org. Also have the src there - might works.
I can't use the fglrx driver...when testing to use them can't see a damn thing on the screen ...
 
Old 07-29-2006, 01:12 PM   #14
rajmund
LQ Newbie
 
Registered: Jun 2005
Location: Hungary
Distribution: FC5
Posts: 14

Rep: Reputation: 0
check /var/log/xorg.log for problems. is the display correctly configured ?
 
Old 07-30-2006, 03:11 AM   #15
rajmund
LQ Newbie
 
Registered: Jun 2005
Location: Hungary
Distribution: FC5
Posts: 14

Rep: Reputation: 0
http://en.opensuse.org/ATI_Driver_HOWTO
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
OpenGL problem dangerousdave Linux - Newbie 1 02-19-2005 01:19 PM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
opengl problem im_ka Fedora 1 02-24-2004 03:30 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM
OpenGL problem Kitaran Programming 0 07-28-2003 10:20 PM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration