Announcement

Collapse
No announcement yet.

OpenGL Broken Ubuntu Intrepid

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • OpenGL Broken Ubuntu Intrepid

    Hey,

    I can't for the life of me get OpenGL applications to work. It really sucks, because I now have to reboot into XP just to run Google Earth...

    Everything worked fine with FGLRX before I switched from Hardy to Intrepid.

    Every single app displays a message like this:
    Code:
    glxinfo 
    name of display: :0.0
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  156 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  10
      Current serial number in output stream:  10
    Here is the output of a few commands. I can always post other ones if needed.

    Thanks for the help.

    Code:
    cat /etc/X11/xorg.conf
    ### Removed some comments
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    # commented out by update-manager, HAL is now used
    #Section "InputDevice"
    #	Identifier	"Generic Keyboard"
    #	Driver		"kbd"
    #	Option		"XkbRules"	"xorg"
    #	Option		"XkbModel"	"pc105"
    #	Option		"XkbLayout"	"us"
    #EndSection
    # commented out by update-manager, HAL is now used
    #Section "InputDevice"
    #	Identifier	"Configured Mouse"
    #	Driver		"mouse"
    #	Option		"CorePointer"
    #EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	DefaultDepth	24
    EndSection
    
    Section "Module"
    	Load		"glx"
    #	Load		"dri"
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
    	screen "Default Screen"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver		"radeonhd"
    	Option          "AccelMethod"   "XAA"
    	Option	 	"NoDRI"
    EndSection
    
    Section "Extensions" 
       Option   "Composite"   "Enable" 
    EndSection
    Sorry about the long output, but "grep EE" and "grep WW" have nothing of interest.

    Code:
    $ cat /var/log/Xorg.0.log | grep -i radeon
    (--) PCI:*([email protected]:0:0) ATI Technologies Inc RV530 [Radeon X1600] rev 0, Mem @ 0xd0000000/0, 0xff8f0000/0, I/O @ 0x00009800/0, BIOS @ 0x????????/131072
    (--) PCI: ([email protected]:0:1) ATI Technologies Inc RV530 [Radeon X1600] (Secondary) rev 0, Mem @ 0xff8e0000/0
    (II) LoadModule: "radeonhd"
    (II) Loading /usr/lib/xorg/modules/drivers//radeonhd_drv.so
    (II) Module radeonhd: vendor="AMD GPG"
    (II) RADEONHD: X driver for the following AMD GPG (ATI) graphics devices:
    	RV505 : Radeon X1550, X1550 64bit.
    	RV515 : Radeon X1300, X1550, X1600; FireGL V3300, V3350.
    	RV516 : Radeon X1300, X1550, X1550 64-bit, X1600; FireMV 2250.
    	R520  : Radeon X1800; FireGL V5300, V7200, V7300, V7350.
    	RV530 : Radeon X1300 XT, X1600, X1600 Pro, X1650; FireGL V3400, V5200.
    	RV535 : Radeon X1300, X1650.
    	RV550 : Radeon X2300 HD.
    	RV560 : Radeon X1650.
    	RV570 : Radeon X1950, X1950 GT; FireGL V7400.
    	R580  : Radeon X1900, X1950; AMD Stream Processor.
    	R600  : Radeon HD 2900 GT/Pro/XT; FireGL V7600/V8600/V8650.
    	RV610 : Radeon HD 2350, HD 2400 Pro/XT, HD 2400 Pro AGP; FireGL V4000.
    	RV620 : Radeon HD 3450, HD 3470.
    	RV630 : Radeon HD 2600 LE/Pro/XT, HD 2600 Pro/XT AGP; Gemini RV630;
    	RV635 : Radeon HD 3650, HD 3670.
    	RV670 : Radeon HD 3690, 3850, HD 3870, FireGL V7700, FireStream 9170.
    	R680  : Radeon HD 3870 X2.
    	M52   : Mobility Radeon X1300.
    	M54   : Mobility Radeon X1400; M54-GL.
    	M56   : Mobility Radeon X1600; Mobility FireGL V5200.
    	M58   : Mobility Radeon X1800, X1800 XT; Mobility FireGL V7100, V7200.
    	M62   : Mobility Radeon X1350.
    	M64   : Mobility Radeon X1450, X2300.
    	M66   : Mobility Radeon X1700, X1700 XT; FireGL V5250.
    	M68   : Mobility Radeon X1900.
    	M71   : Mobility Radeon HD 2300.
    	M72   : Mobility Radeon HD 2400; Radeon E2400.
    	M74   : Mobility Radeon HD 2400 XT.
    	M76   : Mobility Radeon HD 2600;
    		(Gemini ATI) Mobility Radeon HD 2600 XT.
    	M82   : Mobility Radeon HD 3400.
    	RS600 : Radeon Xpress 1200, Xpress 1250.
    	RS690 : Radeon X1200, X1250, X1270.
    (II) RADEONHD: version 1.2.1, built from dist of git branch master, commit 761940fd
    (II) RADEONHD(0): Creating default Display subsection in Screen section
    (**) RADEONHD(0): Depth 24, (--) framebuffer bpp 32
    (**) RADEONHD(0): Option "AccelMethod" "XAA"
    
    (**) RADEONHD(0): Selected XAA 2D acceleration.
    (II) RADEONHD(0): Unknown card detected: 0x71C2:0x174B:0x0850.
    	please contact [email protected] to help rectify this.
    (--) RADEONHD(0): Detected an RV530 on an unidentified card
    (II) RADEONHD(0): Mapped IO at 0xb7ad9000 (size 0x00010000)
    (II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location
    (II) RADEONHD(0): ATOM BIOS Rom: 
    (II) RADEONHD(0): Analog TV Default Mode: 8
    (II) RADEONHD(0): Found default TV Mode PAL
    (--) RADEONHD(0): VideoRAM: 524288 kByte
    (II) RADEONHD(0): Framebuffer space used by Firmware (kb): 20
    (II) RADEONHD(0): Start of VRAM area used by Firmware: 0x7ffb000
    (II) RADEONHD(0): AtomBIOS requests 20kB of VRAM scratch space
    (II) RADEONHD(0): AtomBIOS VRAM scratch base: 0x7ffb000
    (WW) RADEONHD(0): rhdAtomAllocateFbScratch: FW FB scratch area not located at the end of VRAM. Scratch End: 0x8000000 VRAM End: 0x20000000
    (II) RADEONHD(0): Cannot get VRAM scratch space. Allocating in main memory instead
    (II) RADEONHD(0): Default Engine Clock: 500000
    (II) RADEONHD(0): Default Memory Clock: 405000
    (II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Output: 1100000
    (II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Output: 0
    (II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Input: 13500
    (II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Input: 1000
    (II) RADEONHD(0): Maximum Pixel Clock: 400000
    (II) RADEONHD(0): Reference Clock: 27000
    (II) RADEONHD(0): Default Engine Clock: 500000
    (II) RADEONHD(0): I2C bus "RHD I2C line 0" initialized.
    (II) RADEONHD(0): I2C bus "RHD I2C line 1" initialized.
    (II) RADEONHD(0): I2C bus "RHD I2C line 2" initialized.
    (II) RADEONHD(0): Detected VGA mode.
    (II) RADEONHD(0): Minimum Pixel ClockPLL Frequency Output: 0
    (II) RADEONHD(0): Maximum Pixel ClockPLL Frequency Output: 1100000
    (II) RADEONHD(0): Maximum Pixel Clock: 400000
    (II) RADEONHD(0): Reference Clock: 27000
    (II) RADEONHD(0): Connector[0] {RHD_CONNECTOR_VGA, "VGA CRT1", RHD_DDC_0, RHD_HPD_NONE, { RHD_OUTPUT_DACA, RHD_OUTPUT_NONE } }
    (II) RADEONHD(0): Connector[1] {RHD_CONNECTOR_TV, "SVIDEO TV1", DDC_NONE, RHD_HPD_NONE, { RHD_OUTPUT_DACB, RHD_OUTPUT_NONE } }
    (II) RADEONHD(0): Connector[2] {RHD_CONNECTOR_DVI, "DVI-I DFP1 CRT2", RHD_DDC_1, RHD_HPD_0, { RHD_OUTPUT_TMDSA, RHD_OUTPUT_DACB } }
    (--) RADEONHD(0): Attaching Output DAC A to Connector VGA 1
    (--) RADEONHD(0): Attaching Output DAC B to Connector TV SVIDEO
    (--) RADEONHD(0): Attaching Output TMDS A to Connector DVI-I 1
    (--) RADEONHD(0): Attaching Output DAC B to Connector DVI-I 1
    (II) RADEONHD(0): RandR: Adding RRoutput VGA_1 for Output DAC A
    (II) RADEONHD(0): RandR: Adding RRoutput TV_SVIDEO for Output DAC B
    (II) RADEONHD(0): RandR: Adding RRoutput DVI-I_1/digital for Output TMDS A
    (II) RADEONHD(0): RandR: Adding RRoutput DVI-I_1/analog for Output DAC B
    (II) RADEONHD(0): Output VGA_1 using monitor section Configured Monitor
    (II) RADEONHD(0): Output TV_SVIDEO has no monitor section
    (II) RADEONHD(0): Output DVI-I_1/digital has no monitor section
    (II) RADEONHD(0): Output DVI-I_1/analog has no monitor section
    (II) RADEONHD(0): DAC A: Sensed Output: VGA
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" registered at address 0xA0.
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" removed.
    (II) RADEONHD(0): Output VGA_1 connected
    (II) RADEONHD(0): Output TV_SVIDEO disconnected
    (II) RADEONHD(0): Output DVI-I_1/digital disconnected
    (II) RADEONHD(0): Output DVI-I_1/analog disconnected
    (II) RADEONHD(0): Using fuzzy aspect match for initial modes
    (II) RADEONHD(0): Output VGA_1 using initial mode 1152x864
    (II) RADEONHD(0): RandR 1.2 support enabled
    (==) RADEONHD(0): RGB weight 888
    (==) RADEONHD(0): Default visual is TrueColor
    (==) RADEONHD(0): Using gamma correction (1.0, 1.0, 1.0)
    (II) RADEONHD(0): Using 1360x1360 Framebuffer with 1408 pitch
    (==) RADEONHD(0): DPI set to (96, 96)
    (II) RADEONHD(0): Mapped IO at 0xb7ad9000 (size 0x00010000)
    (II) RADEONHD(0): PCI FB Address (BAR) is at 0xD0000000 while card Internal Address is 0xE0000000
    (II) RADEONHD(0): Mapped FB at 0xa7a10000 (size 0x10000000)
    (II) RADEONHD(0): Using 6831 scanlines of offscreen memory
    (II) RADEONHD(0): Using XFree86 Acceleration Architecture (XAA)
    (==) RADEONHD(0): Backing store disabled
    (==) RADEONHD(0): Silken mouse enabled
    (II) RADEONHD(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    (II) RADEONHD(0): Using HW cursor
    (II) RADEONHD(0): DPMS enabled
    (WW) RADEONHD(0): Option "NoDRI" is not used
    (II) RADEONHD(0): Setting screen physical size to 304 x 228
    (II) RADEONHD(0): DAC A: Sensed Output: VGA
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" registered at address 0xA0.
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" removed.
    (II) RADEONHD(0): DAC A: Sensed Output: VGA
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" registered at address 0xA0.
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" removed.
    (II) RADEONHD(0): DAC A: Sensed Output: VGA
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" registered at address 0xA0.
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" removed.
    (II) RADEONHD(0): DAC A: Sensed Output: VGA
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" registered at address 0xA0.
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" removed.
    (II) RADEONHD(0): DAC A: Sensed Output: VGA
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" registered at address 0xA0.
    (II) RADEONHD(0): I2C device "RHD I2C line 0:ddc2" removed.

  • #2
    A bunch of questions :

    - there is a version of fglrx available via Ubuntu package configured explicitly for Intrepid; have you tried running that ?

    - your x.conf file has a "NoDRI" option for radeonhd, which I'm pretty sure will stop 3D from working. Did you configure this yourself or was it the default conf that came with Intrepid ?

    - how old is the version of radeonhd you are running and where did you get it ?

    If you were running fglrx before I would try picking up the latest updates and then use the restricted driver manager to go back to fglrx.
    Last edited by bridgman; 10-21-2008, 09:57 PM.

    Comment


    • #3
      Thanks for the reply.

      I had the same problem with the FGLRX drivers, so I am now trying the other drivers. I was also under the impression that FGLRX doesn't support X.org 7.4 yet.

      From the repositories, I have:
      xserver-xorg-video-radeonhd 1.2.1-2build2

      I tried adding NoDRI into xorg.conf because I was getting a message in Xorg.0.log saying something like "Option "DRI" is not used" before I added it.
      (Edit: BTW, it's a Radeon X1600 512 Megs AGP)

      Now I have:

      Code:
      cat /var/log/Xorg.0.log | grep -i DRI
      	X.Org Video Driver: 4.1
      	X.Org XInput driver : 2.1
      (II) "dri" will be loaded by default.
      (II) LoadModule: "dri"
      (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
      (II) Module dri: vendor="X.Org Foundation"
      (II) Loading extension XFree86-DRI
      (II) Loading /usr/lib/xorg/modules/drivers//radeonhd_drv.so
      	Module class: X.Org Video Driver
      	ABI class: X.Org Video Driver, version 4.1
      (II) RADEONHD: X driver for the following AMD GPG (ATI) graphics devices:
      	ABI class: X.Org Video Driver, version 4.1
      (WW) RADEONHD(0): Option "NoDRI" is not used
      (II) AIGLX: Screen 0 is not DRI capable
      	Module class: X.Org XInput Driver
      	ABI class: X.Org XInput driver, version 2.1
      Last edited by patryk77; 10-22-2008, 12:26 AM.

      Comment


      • #4
        As I understand it, a version of fglrx was provided to Ubuntu and published through them a few days ago which supports the other graphics bits in Intrepid. Don't know the details though.

        AFAIK the radeonhd driver defaults to building without DRI support, so there is an option you need to specify when building it if you want 3D... and if you build with that option I think it needs headers from drm so drm source needs to be present as well. There is a wiki entry on running radeonhd with dri (linked off the radeonhd wiki page) at : http://www.x.org/wiki/radeonhd%3ADRI

        Note the wiki says that DRI and 2D accel are not supported at the same time -- AFAIK this is stopped being the case a month or so ago and the current code should support simultaneous 2D, TexVid and 3D.
        Last edited by bridgman; 10-22-2008, 02:29 AM.

        Comment


        • #5
          3D works perfectly using the default "radeon" (not "radeonhd") driver.

          Try changing:
          Code:
          Section "Device"
          	Identifier	"Configured Video Device"
          	Driver		"radeonhd"
          	Option          "AccelMethod"   "XAA"
          	Option	 	"NoDRI"
          EndSection
          to
          Code:
          Section "Device"
          	Identifier	"Configured Video Device"
          	Driver		"radeon"
          	Option          "AccelMethod"   "EXA"
          EndSection

          Comment


          • #6
            Originally posted by oibaf View Post
            3D works perfectly using the default "radeon" (not "radeonhd") driver.
            Not for me it doesn't... When I changed it to radeon, it just gave me a black screen with a blinking cursor. (Well, an underscore, technically)

            I know EXA was extremely slow with radeonhd, so maybe that would be the problem? I'll try again later with XAA, but for now I have to work.

            Comment


            • #7
              It works!

              Ok, radeon drivers work. I had to uninstall xorg-driver-fglrx for x server to boot though.

              3D seems very fast. Now if only it went into 1280x1024.

              Thanks for the help guys

              Comment


              • #8
                Either radeon or radeonhd should have no problem running at 1280x1024 AFAIK. If you want to pastebin (http://www.pastebin.com) your log and conf files someone might be able to help.

                Comment


                • #9
                  I can live with this weird resolution for now... But the problem I have is that Google Earth is EXTREMELY slow.

                  I tried AccelMethod EXA, XAA and ShadowFB, and it takes a good 30 seconds of black space with stars before the Earth appears, and even then it takes at least a minute or two before it centers and zooms.

                  I know it's not my hardware, because it ran perfectly with FGLRX.

                  Billard-GL seems to run even smoother than it did with FGLRX, though it may just be an impression I have... and I know it's not an excellent benchmark tool, but

                  Code:
                  $ glxgears 
                  12775 frames in 5.0 seconds = 2554.842 FPS
                  13607 frames in 5.0 seconds = 2721.242 FPS
                  13536 frames in 5.0 seconds = 2707.060 FPS
                  13578 frames in 5.0 seconds = 2715.494 FPS
                  13657 frames in 5.0 seconds = 2731.273 FPS
                  I even tried changing to 16-bit textures, and lowering the quality to no avail. Any suggestions?

                  Thanks

                  Comment


                  • #10
                    I forget the details, but search for "disable low impact fallbacks" and that will give some good clues. Best way to set the option seems to be by using driconf.
                    Last edited by bridgman; 10-23-2008, 07:16 PM.

                    Comment

                    Working...
                    X