LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-22-2004, 12:09 PM   #1
waslit
LQ Newbie
 
Registered: Sep 2003
Location: Ireland
Posts: 23

Rep: Reputation: 0
Lightbulb opengl freeze


Well after all the difficulty I've been having getting the ati drivers to work on my laptop.
I finally got it to work after much playing around. What I did was tell it to do 1600x1200 with edid option set on and noddc set on and it seemed to work out the correct modelines and everything. And it did it for the sizes I wanted here are the results

(**) fglrx(0): Mode "1680x1050": 147.1 MHz, 65.2 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1680x1050" 147.10 1680 1784 1968 2256 1050 1051 1054 1087
(**) fglrx(0): Mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1400x1050" 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
(**) fglrx(0): Mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
(**) fglrx(0): Mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1280x960" 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
(**) fglrx(0): Mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
(**) fglrx(0): Mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(II) fglrx(0): Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
(**) fglrx(0): Mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync

my question is how do I now use these results so that I don't have to make x try to work out the modes. Can I tell it these modes and get it to work. I have already tried to put the modelines into my monitor section but it didn't work.

The other problem I'm having is with opengl. Everything seems to freeze in opengl. For example if I run glxinfo, the first thing that comes up is display and then it just stays there. Cursor blinking and all. Any Ideas? I have already tried reinstalling the drivers and then building them but still no go.

Thanx in advance
 
Old 06-24-2004, 12:26 PM   #2
waslit
LQ Newbie
 
Registered: Sep 2003
Location: Ireland
Posts: 23

Original Poster
Rep: Reputation: 0
Hmmm No replies yet? Well maybe this will help. As you can see dri does install. But I still dont get anything. It doesn't even really freeze. Just kinda sticks. I really could do with some help please.


(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf8bd3000
(II) fglrx(0): [drm] mapped SAREA 0xf8bd3000 to 0x400c3000
(II) fglrx(0): [drm] framebuffer handle = 0xd0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 3.9.0
(II) fglrx(0): Date: May 11 2004
(II) fglrx(0): Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.6
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xdfef0000
(II) fglrx(0): [agp] Mode=0x1f004e0b bridge: 0x1039/0x0648
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f004f0a
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f004302)
(II) fglrx(0): [agp] grafics chipset has AGP v3.0 (native mode)
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xf8d89000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xd0000000 FBMappedSize: 0x008f6000
(II) fglrx(0): FBMM initialized for area (0,0)-(1728,1359)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1728,1050) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1056)
(II) fglrx(0): Largest offscreen area available: 1728 x 295
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(WW) fglrx(0): Option "NoDDC" is not used
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Dashed Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
26 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "yes"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) Mouse0: ps2EnableDataReporting: succeeded
 
Old 06-25-2004, 12:03 PM   #3
waslit
LQ Newbie
 
Registered: Sep 2003
Location: Ireland
Posts: 23

Original Poster
Rep: Reputation: 0
Unhappy

Okay even more debugging and I found some help on the dri wikki pages. Here are the results of a debug of the libgl with glxinfo. But it still just stops after the last line. Kinda like its still waiting for something. But again no error mesg

[root@priest priest]# export LIBGL_DEBUG=verbose
[root@priest priest]# glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 3.9.0 fglrx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/fglrx_dri.so
libGL: XF86DRIGetClientDriverName: 3.9.0 fglrx (screen 0)
drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:0:0

I really hope this can help further and somone can point me in the right direction.
 
Old 06-25-2004, 12:14 PM   #4
waslit
LQ Newbie
 
Registered: Sep 2003
Location: Ireland
Posts: 23

Original Poster
Rep: Reputation: 0
Here is the results from a ldd on glxinfo. Still no errors and nothing seems wrong. I just don't get it

[root@priest priest]# ldd /usr/X11R6/bin/glxinfo
linux-gate.so.1 => (0xffffe000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x45fee000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x466da000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00de7000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00d1d000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00114000)
libm.so.6 => /lib/tls/libm.so.6 (0x00cf2000)
libc.so.6 => /lib/tls/libc.so.6 (0x00bd5000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x00317000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x002cd000)
libdl.so.2 => /lib/libdl.so.2 (0x00d17000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00bbc000)
 
  


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 programs freeze Starch Slackware 8 03-19-2005 07:48 PM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
OpenGL Games freeze after 10-15 minutes of play NLawrence Linux - General 7 04-17-2004 06:44 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM
OpenGL is needed by plib-1.7.0- but i have opengl ! qwijibow Linux - Newbie 0 08-05-2003 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:59 AM.

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