Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI radeon Sticky (part 3)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
itsr0y
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2002
Posts: 81

PostPosted: Fri Apr 21, 2006 7:28 pm    Post subject: Reply with quote

taipan67, thanks for the reply. I tried doing the omit dga thing, as well as disabling those other modules (I have no idea what they are), but nothing changed. I noticed that when I quit X, I get the following message:

Code:

... startup stuff ...
(II) USBMouse: ps2EnableDataReporting: succeeded
(II) LogitechLX7: Close
Synaptics DeviceOff called
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe09f9000 at 0xb7f2b000

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Backtrace:
0: X(xf86SigHandler+0x87) [0x8087e76]
1: [0xffffe420]
2: /usr/lib/modules/input/evdev_drv.so [0xb7f2ddcb]
3: X [0x8087d50]
4: X [0x80a2761]
5: [0xffffe420]
6: /usr/lib/modules/libvgahw.so(vgaHWRestoreFonts+0x457) [0xb7af7b52]
7: /usr/lib/modules/libvgahw.so(vgaHWRestore+0x68) [0xb7af7c0f]
8: /usr/lib/modules/drivers/radeon_drv.so [0xb7bb7488]
9: /usr/lib/modules/drivers/radeon_drv.so [0xb7bbb570]
10: /usr/lib/modules/libshadowfb.so [0xb79b6a65]
11: X [0x8165177]
12: X [0x81797a8]
13: X(main+0x46c) [0x80d11bf]
14: /lib/tls/libc.so.6(__libc_start_main+0xdc) [0x4f0f6efc]
15: X [0x806fd81]

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support
    at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Perhaps this is related? I don't know.
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Fri Apr 21, 2006 9:25 pm    Post subject: Reply with quote

itsr0y, I'm afraid i don't understand that output any better than you do, but i've got a couple of suggestions that might help you to find more clues...

Your comment about seeing the posted output when you quit X suggests that you're currently using 'startx' from a command-prompt. If that's the case, you can switch between virtual-terminals & see what the X-server was up to while it was initiating. X starts in the first available VT starting from VT7, & you can switch back & forth by holding down CTL + ALT & pressing the function-key who's number corresponds to the VT you want to switch to. So, if you boot to a command-prompt & don't change VT's in the meantime, when you 'startx' you'll be switched to VT7 & your X-windows environment. Now do 'CTL-ALT-F1' & you should see the console you started it from, with an open X-server process listed in it (no terminating comand-prompt). It's possible that you might see something culpable listed there. Doing 'CTL-ALT-F7' should then take you back to X.

Two other good places to find clues are, as the server-error snippet said, /var/log/Xorg.0.log, & also 'dmesg' - both of those are usually very long & confusing, & if you felt the need to post them here for assistance in making sense of them, you wouldn't be the first, so don't worry about offending anyone. :wink:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
itsr0y
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2002
Posts: 81

PostPosted: Fri Apr 21, 2006 9:49 pm    Post subject: Reply with quote

Yep, I'm using startx while I try to get this resolved---it's easier to restart X with 'startx' than gdm. As far as log messages, the Xorg.0.log doesn't seem to have anything interesting in it - no warnings or anything. dmesg gives me the following when X starts:
Code:
mtrr: 0x90000000,0x8000000 overlaps existing 0x90000000,0x4000000
mtrr: 0x90000000,0x8000000 overlaps existing 0x90000000,0x4000000
mtrr: 0x90000000,0x8000000 overlaps existing 0x90000000,0x4000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

Which doesn't seem to be much. Now that I think about it, it might not have been working too well even with Xorg 6.8.2. All I know is it's very slow and I don't have any idea where to look. Everything seems like it should be fine, I have DRM and radeon compiled into the kernel, my xorg.conf above seems right, etc. My "eselect opengl" lists "xorg-x11" as the one and only driver. Perhaps there is some other slowdown and it's not specifically the video card, but I see it most readily when I run glxgears and get 10fps for a 2.2 GHz P4, 512mb ram, Radeon 7500 machine.

I also have an issue with various programs, particularly but not exclusively firefox, segfaulting intermittenly. I have run memtest86+ many times and nothing has come up. I'm using gcc-3.4.5, no ~x86 (save a few applications), CFLAGS="-march=pentium4 -O2 -pipe". I doubt this has anything to do with the radeon problem, but I figured I'd throw it out there.

Thanks again for the reply, and I'd appreciate any other thoughts you or anyone else has.
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Fri Apr 21, 2006 10:30 pm    Post subject: Reply with quote

itsr0y wrote:
...I see it most readily when I run glxgears and get 10fps for a 2.2 GHz P4, 512mb ram, Radeon 7500 machine...

Our hardware ain't a million miles apart, & our CFLAGS are similar, too, yet in Gnome with Firefox running i currently get 750fps, & when i built this particular system (the only time i usually bother with glxgears & glxinfo) i got 1140fps in twm, which was near as dammit the same as with 'ati-drivers' (my 9200SE works with either) - the only time i've ever seen a figure as low as your's is when 'Direct Rendering' has been disabled... 8O

Does anything look untoward if you run 'top' in a terminal? For me, X uses about 3% memory & bugger-all cpu-cycles.

The only other (slightly wild) idea i have at the moment is the possibility that slow hard-disk access might be involved. Do you have DMA set up through 'hdparm' in your init-processes? :?
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
itsr0y
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2002
Posts: 81

PostPosted: Fri Apr 21, 2006 11:35 pm    Post subject: Reply with quote

Ah, I feel like such a fool! When I ran top, conky was taking 99.9% cpu. It must have gotten screwed up when I upgraded X and wouldn't quit when you do a normal (not -9) kill, so it stayed around across X restarts. Once I killed it, I got normal speed! Thanks for helping me problem solve!

The silver lining of this was that I learned a bit about X options and ran a few speed tests. Here are my results if they are useful to anyone:
Code:

1 exa (e) or xaa (x)
2 dga (+) or no-dga (-)
3 colortiling true (+) or false (-)
4 composite on (+) or off (-)
5 backstore on (+) or off (-)
AGPFastWrite is on
PageFlip is on
AGPMode is 4
card: Radeon Mobility 7500 with 'radeon' driver, X.org 6.9

1 2 3 4 5 fps
x - - - - 1350
x + - - - 1350
x + + - - 1445
e + - + - 945
e + + - - 985
e + + + - 985
e + + + + 985

So what does this mean? Dispite the ebuild's suggestion, I will leave ColorTiling enabled since it provided a 95 fps boost! Also, I will not use EXA since it seems to be about 30% slower.

Let me ask this, though: is there any advantages to using EXA (and Composite rendering) over XAA, besides getting a few transparent windows?

Thanks again for all your help!
Back to top
View user's profile Send private message
taipan67
l33t
l33t


Joined: 04 Dec 2004
Posts: 866
Location: England (i'm told...)

PostPosted: Sat Apr 22, 2006 12:32 am    Post subject: Reply with quote

itsr0y wrote:
...I got normal speed! Thanks for helping me problem solve!

Congrats! :D

Quote:
...is there any advantages to using EXA (and Composite rendering) over XAA, besides getting a few transparent windows?

From my own experience, i have no idea. I originally installed Modular X in order to give EXA a try, but stuck with the XAA/EnablePageFlip alternative based purely on framerate, rather than experimenting further once i'd built my DE...

...Maybe i'll play around some more now, & read up on 'ColorTiling' while i'm at it - i ought to know from my first trials with 'ati-drivers' (a long time ago) that the faster framerate doesn't necessarily mean the better display... :roll:
_________________
"Anyone who goes to see a psychiatrist should have their head examined!"
Back to top
View user's profile Send private message
drvolk
n00b
n00b


Joined: 05 Jul 2003
Posts: 72

PostPosted: Thu Apr 27, 2006 6:35 am    Post subject: Reply with quote

I am not sure if it is already solved in this or all the other related "ATI sticky" threats, so here maybe again the solution for "Failed to load module "glx"" Problem, which in my opinion causes also the "symbol unresolved" und "DRI not init" Errors in Xorg.conf.log:

The problem is that the library "libglx.a" is not installed under "/usr/lib/modules/extensions" but under "/usr/lib/opengl/ati/extensions".

Do:

Code:
cd /usr/lib/modules/extensions
ln -sf /usr/lib/opengl/ati/extensions libglx.a


I have a Radeon Mobile X600 and it works with 3d on xorg-x11-6.8.2-r6 with kernel 2.6.16-r3 and ati-drivers-8.23.7 :D
Back to top
View user's profile Send private message
schlumpf
n00b
n00b


Joined: 29 Apr 2006
Posts: 8

PostPosted: Sat Apr 29, 2006 9:55 am    Post subject: xawtv with amd64 and ati radeon x550: overlay problem Reply with quote

Hi,
I have a 64bit-only system and for my Radeon X550 (PCIe) I use the x11-drivers/ati-drivers version 8.24.8 ebuild.
Initially I configured the "fglrx" driver in the xorg.conf, without any extra options. When I started xawtv I got just a black screen. When I switched the xawtv option "capture" from 'overlay' (default) to 'grabdisplay', I could see the tv image but it was fuzzy and flickered.

Then I used aticonfig to enable video overlay (see xorg.conf below), and restarted X and xawtv. Now I see some funny colored lines in overlay mode, and only a black screen in grabdisplay mode.

My xorg.conf looks like this:
Code:
Section "Module"
   Load  "dbe"
   Load  "extmod"
   Load  "glx"
   Load  "v4l"
   Load  "dri"
   Load  "type1"
   Load  "freetype"
EndSection
Section "Device"
   Identifier  "ATI Graphics Adapter 0"
   Driver      "fglrx"
   Option       "(null)"
   Option       "VideoOverlay" "on"
   Option       "OpenGLOverlay" "off"
   Option       "UseInternalAGPGART" "off"
   BusID       "PCI:3:0:0"
EndSection


In the kernel, I have the following settings (and of course the v4l stuff for the hauppauge bttv card I'm using):
Code:
<*> I2C support
  <M>   I2C device interface
     I2C Algorithms  --->
    <*> I2C bit-banging interfaces
Graphics devices -->
 <M> ATI Radeon display support
     [*]   DDC/I2C for ATI Radeon support
  --- VGA text console
     [*]   Video mode selection support
    <M> Framebuffer Console support                     
Character Devices --> AGP
 < > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)                                                   


Can anyone help me with getting the overlay to work correctly? Thank you!
Back to top
View user's profile Send private message
ChaoticCoyote
n00b
n00b


Joined: 13 Dec 2002
Posts: 8

PostPosted: Sat Apr 29, 2006 3:07 pm    Post subject: Reply with quote

I'm getting another problem. From the tail of my /ver/log/Xorg.0.log:

Code:

(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:
                30 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x1
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x82) [0x4772b2]
1: /lib/libc.so.6 [0x2aaaab6cb640]
2: /lib/libc.so.6(strlen+0x30) [0x2aaaab70bdc0]
3: /usr/X11R6/bin/X(xf86XVScreenInit+0x7ba) [0x4892aa]
4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(KaleidoscopeInitVideo+0x8a) [0x2aaaac7f9c0a]
5: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(R200ScreenInit+0xb4a) [0x2aaaac7cd83a]
6: /usr/X11R6/bin/X(AddScreen+0x236) [0x432386]
7: /usr/X11R6/bin/X(InitOutput+0x237) [0x460d37]
8: /usr/X11R6/bin/X(main+0x269) [0x432b79]
9: /lib/libc.so.6(__libc_start_main+0xf4) [0x2aaaab6b9134]
10: /usr/X11R6/bin/X(FontFileCompleteXLFD+0xa1) [0x432059]

Fatal server error:
Caught signal 11.  Server aborting


I'm running an X1300 card on a dual processor AMD Thunder K8w (2885) motherboard, kernel 2.6.15.-gentoo-r7, with xorg 7.0 and xorg-server 1.0.2-r3. The crash can be eilimated by commenting out the line that loads the "dri" module -- but then I don't have accelerated 3D/OpenGL.

Any suggestions?
_________________
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)
Software Invention for High-Performance Computing
Back to top
View user's profile Send private message
sjuerges
n00b
n00b


Joined: 22 Dec 2005
Posts: 10

PostPosted: Wed May 03, 2006 9:39 pm    Post subject: Reply with quote

I have a weird problem here. Everything works perfect, until i logout of gnome. Then the XServer locks up, and can only be killed via ssh.
I've been googling for a hour now, and trying VARIOUS fixes, nothing works. Can anyone help ?

Regards,
Sebastian

System Data:
Asus A8N-SLI Deluxe
Powercolor x800 XL

System Setup:

  • sys-kernel/gentoo-sources-2.6.16-r6
  • x11-drivers/ati-drivers-8.24.8
  • x11-base/xorg-x11-7.0-r1


Xorg.cfg
Quote:

Section "ServerLayout"
Identifier "XENON_LAYOUT"
Screen 0 "XENON_SCR" 0 0
InputDevice "XENON_MOUSE" "CorePointer"
InputDevice "XENON_KEYBOARD" "CoreKeyboard"
EndSection

Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/Type1"
EndSection

Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "dri"
Load "glx"
EndSection

Section "InputDevice"
Identifier "XENON_KEYBOARD"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection

Section "InputDevice"
Identifier "XENON_MOUSE"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "XENON_MON"
HorizSync 31.5 - 64.3
VertRefresh 50.0 - 70.0
EndSection

Section "Device"
Identifier "XENON_DEV"
Driver "fglrx"
Option "(null)"
Option "UseInternalAGPGART" "off"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "XENON_SCR"
Device "XENON_DEV"
Monitor "XENON_MON"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection


Added to log after kill (rest of /var/log/Xorg.0.log is from X Startup)
Quote:

(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x2000 at 0x2b12a2174000
(EE) fglrx(0): === [R200DALSetControllerConfigForRemap] === CWDDC ControllerSetConfig failed: 6 - 0
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.


From /var/log/everything/current
Quote:

May 3 23:02:08 [kernel] [fglrx] free PCIe = 51118080
May 3 23:02:08 [kernel] [fglrx] max PCIe = 51118080
May 3 23:02:08 [kernel] [fglrx] free LFB = 116322304
May 3 23:02:08 [kernel] [fglrx] max LFB = 116322304
May 3 23:02:08 [kernel] [fglrx] free Inv = 134217728
May 3 23:02:08 [kernel] [fglrx] max Inv = 134217728
May 3 23:02:08 [kernel] [fglrx] total Inv = 134217728
May 3 23:02:08 [kernel] [fglrx] total TIM = 0
May 3 23:02:08 [kernel] [fglrx] total FB = 0
May 3 23:02:08 [kernel] [fglrx] total PCIe = 16384
Back to top
View user's profile Send private message
supernov
Apprentice
Apprentice


Joined: 18 Feb 2005
Posts: 164

PostPosted: Sat May 06, 2006 12:43 pm    Post subject: Reply with quote

OmG!

uname gave me the fact that I was running the previous kernel! I tried so many things to explain all the behaviour I was constantly seeing,
I'm not a noob anymore, but now I really dropped my trousers. :) For some reason, in previous gentoo installations, I didn't have to
mount boot. It was probably done automatically, but with the new one I apparently changed this (which is a good thing I believe). So here I was
compiling new kernels, copying them to /boot, checking to see if they were copied, updating my linux link... and probably was doing all
that virtually!? Mounting the boot did the trick, after that my modules loaded, eth0 was working again and even the ati-drivers with
fglrx!! Incredible, weeks I spend behind the screen for this. :)

So, what works for me on this system is gentoo 2.6.16-r6 with ati-drivers 8.23.7, not forgetting to mount /boot when copying new kernels:

- Ati Radeon 9600
- SiS chipset controllers
- Realtek, SiS ethernet controllers

Thanks m8's!
Back to top
View user's profile Send private message
WareKala
n00b
n00b


Joined: 03 Jul 2004
Posts: 7

PostPosted: Sun May 07, 2006 3:08 pm    Post subject: TV-Out Reply with quote

I have a Radeon 9100, 128mb ram, using fglrx drivers. I just seem to not be able to configure X correctly. The machine has no monitor connected, only TV, and I did get TV-out working, but it's limited to 800x600 resolution even though I know that it does 1024x768 under Windoze. I imagine it should be able to do that under Linux, too, as nVidia cards do, too. But no, what ever I try, I can't get 1024x768. Can anyone help me? Oh, and I've got another rather strange problem: when playing videos with f.ex. MPlayer using XV for display output, the picture is cropped somehow strange and stretched. Using -vo gl2 (or any other for that matter) shows the picture as it should. What's wrong? Also, the whole machine comes crashing down when X is killed, but I'm going to look into that later on, I want those first two problems solved. I hope someone here knows how to fix them.. Maybe someone could just paste a working TV-only 1024x768 configuration?
Back to top
View user's profile Send private message
linuxn00bie255
n00b
n00b


Joined: 04 Dec 2005
Posts: 58

PostPosted: Mon May 08, 2006 7:59 pm    Post subject: Reply with quote

Hey all. I have a terribly annoying problem that occurs whenever X has to stop. For instance when I want to log out of KDE to switch users with KDM. Or if I simply startx and stop it again. My entire screen goes black. I can still move around the virtual consoles BUT I don't get to see what is going on. I tested this by typing in the commands to reboot and hoping I didn't make any typos. If I shutdown the computer from a virtual console with X running off to the side. I see this lovely error!

Code:
kernel BUG at arch/i386/mm/pageattr.c:152!
invalid opcode: 0000 [#1]
PREEMPT SMP
Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device fglrx agpgart snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc
CPU:    0
EIP:    0060:[<c01156a9>]    Tainted: P      VLI
EFLAGS: 00010082   (2.6.16-gentoo-r6 #1)
EIP is at __change_page_attr+0x1d2/0x1ec
eax: 0000ada0   ebx: c16dd600   ecx: c100ada0   edx: c1000000
esi: c056df6c   edi: 00000163   ebp: f6eb0000   esp: f71afd20
ds: 007b   es: 007b   ss: 0068
Process X (pid: 6580, threadinfo=f71ae000 task=f7e93030)
Stack: <0>f6eb0000 f6eaf000 36c001e3 c16dd600 00000010 00000000 00000202 c011570a
       c16dd600 00000163 f72fc560 f8a40000 00000004 00001000 c01152fd c16dd400
       00000011 00000163 f8a00ea0 00000000 f89963d1 f8a40000 00000010 00000163
Call Trace:
 [<c011570a>] change_page_attr+0x47/0x5c
 [<c01152fd>] iounmap+0xd3/0x106
 [<f89963d1>] agp_generic_free_gatt_table+0x69/0xcd [fglrx]
 [<f899d67a>] agp_backend_cleanup+0xf/0x55 [fglrx]
 [<f899d6c0>] agp_power+0x0/0x21 [fglrx]
 [<f89a1136>] __ke_agp_uninit+0x19/0x24 [fglrx]
 [<f89a96e5>] _firegl_release_agp+0x15/0x140 [fglrx]
 [<f89abf25>] firegl_takedown+0x335/0xc40 [fglrx]
 [<f89ab27f>] firegl_release+0x12f/0x190 [fglrx]
 [<c015f565>] __fput+0x187/0x199
 [<c015db80>] filp_close+0x4d/0x79
 [<c011fbb9>] close_files+0x7e/0x88
 [<c011fc2a>] put_files_struct+0x2b/0x55
 [<c01206c1>] do_exit+0x133/0x421
 [<c0120a1a>] do_group_exit+0x3c/0x9c
 [<c0129c5d>] get_signal_to_deliver+0x208/0x2a2
 [<c0102bbc>] do_signal+0x75/0x151
 [<f89ab37a>] firegl_ioctl+0x9a/0x230 [fglrx]
 [<c0170e8a>] do_ioctl+0x76/0x96
 [<c017105c>] vfs_ioctl+0x65/0x1d0
 [<c01021eb>] restore_sigcontext+0x10b/0x16a
 [<c017120c>] sys_ioctl+0x45/0x6d
 [<c0102cd0>] do_notify_resume+0x38/0x3c
 [<c0102e8e>] work_notifysig+0x13/0x19
Code: 44 24 08 e8 fb fd ff ff 89 d9 e9 d1 fe ff ff 80 3e 00 78 17 29 d3 c1 fb 05 c1 e3 0c 0b 5c 24 24 89 1e f0 ff 49 04 e9 c6 fe ff ff <0f> 0b 98 00 ba d9 43 c0 e9 b9 fe ff ff 0f 0b 7c 00 ba d9 43 c0
 <1>Fixing recursive fault but reboot is needed!
scheduling while atomic: X/0x00000002/6580
 [<c0412cc8>] schedule+0x764/0x769
 [<c01156bd>] __change_page_attr+0x1e6/0x1ec
 [<c011dfdb>] printk+0x17/0x1b
 [<c012093a>] do_exit+0x3ac/0x421
 [<c011dfdb>] printk+0x17/0x1b
 [<c0104141>] do_trap+0x0/0x108
 [<c026a862>] vsnprintf+0x25c/0x4de
 [<c01044c2>] do_invalid_op+0x0/0xc3
 [<c0104570>] do_invalid_op+0xae/0xc3
 [<c0160814>] invalidate_inode_buffers+0x1b/0x80
 [<c01156a9>] __change_page_attr+0x1d2/0x1ec
 [<c038e66f>] pci_conf1_write+0x93/0xca
 [<c010f0bd>] smp_call_function+0xfa/0x146
 [<c010eed5>] do_flush_tlb_all+0x0/0x5c
 [<f88f9000>] igetbyte+0x0/0x21 [snd_intel8x0]
 [<f88f9000>] igetbyte+0x0/0x21 [snd_intel8x0]
 [<c010ef73>] flush_tlb_all+0x42/0x5c
 [<c0103923>] error_code+0x4f/0x54
 [<c01156a9>] __change_page_attr+0x1d2/0x1ec
 [<c011570a>] change_page_attr+0x47/0x5c
 [<c01152fd>] iounmap+0xd3/0x106
 [<f89963d1>] agp_generic_free_gatt_table+0x69/0xcd [fglrx]
 [<f899d67a>] agp_backend_cleanup+0xf/0x55 [fglrx]
 [<f899d6c0>] agp_power+0x0/0x21 [fglrx]
 [<f89a1136>] __ke_agp_uninit+0x19/0x24 [fglrx]
 [<f89a96e5>] _firegl_release_agp+0x15/0x140 [fglrx]
 [<f89abf25>] firegl_takedown+0x335/0xc40 [fglrx]
 [<f89ab27f>] firegl_release+0x12f/0x190 [fglrx]
 [<c015f565>] __fput+0x187/0x199
 [<c015db80>] filp_close+0x4d/0x79
 [<c011fbb9>] close_files+0x7e/0x88
 [<c011fc2a>] put_files_struct+0x2b/0x55
 [<c01206c1>] do_exit+0x133/0x421
 [<c0120a1a>] do_group_exit+0x3c/0x9c
 [<c0129c5d>] get_signal_to_deliver+0x208/0x2a2
 [<c0102bbc>] do_signal+0x75/0x151
 [<f89ab37a>] firegl_ioctl+0x9a/0x230 [fglrx]
 [<c0170e8a>] do_ioctl+0x76/0x96
 [<c017105c>] vfs_ioctl+0x65/0x1d0
 [<c01021eb>] restore_sigcontext+0x10b/0x16a
 [<c017120c>] sys_ioctl+0x45/0x6d
 [<c0102cd0>] do_notify_resume+0x38/0x3c
 [<c0102e8e>] work_notifysig+0x13/0x19


So yeah... Does anyone else have this issue? You may also note that when I am using X (the one and only login I get per boot) It runs great. Great framerates in glxgears and fgl_glxgears (I know those aren't amazing benchmarks). Additionally UT2k4 runs really well. I have considered not worrying about 3D acceleration and switching to the open source drivers which do work when I shut down, but I feel like I'm so close to getting these to work that it's not worth it...

If anyone knows anything thanks in advance!
Back to top
View user's profile Send private message
Erlend
Guru
Guru


Joined: 26 Dec 2004
Posts: 493

PostPosted: Mon May 08, 2006 8:39 pm    Post subject: Reply with quote

Does anybody else get this problem?

Run fgl_glxgears:
Code:
 
Using GLX_SGIX_pbuffer
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  32
  Current serial number in output stream:  32



And glxinfo gives:
Code:
name of 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
...


I'm running Xorg-7 and a 2.6.15 kernel.

Thanks,

Erlend
Back to top
View user's profile Send private message
DownSet
n00b
n00b


Joined: 21 Jan 2006
Posts: 32
Location: Riverside, CA

PostPosted: Tue May 09, 2006 12:54 am    Post subject: Reply with quote

Heres the error im getting
Code:
Mikes ~ # grep -e WW -e EE /var/log/Xorg.0.log.old
Current Operating System: Linux Mikes 2.6.16-gentoo-r6 #2 SMP PREEMPT Mon May 8 14:44:46 GMT 2006 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/CID/" does not exist.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Loading extension MIT-SCREEN-SAVER
(WW) Warning, couldn't open module glx
(EE) Failed to load module "glx" (module does not exist, 0)
(WW) Warning, couldn't open module speedo
(EE) Failed to load module "speedo" (module does not exist, 0)
(WW) Warning, couldn't open module fglrx
(EE) Failed to load module "fglrx" (module does not exist, 0)
(EE) No drivers available.


Code:
Mikes ~ # lsmod
Module                  Size  Used by
fglrx                 450604  0


Code:
Mikes ~ # fglrxinfo
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual!


Xorg.conf

Code:
Section "ServerLayout"
   Identifier     "Layout"
   Screen      0  "aticonfig Screen 0" 0 0
   InputDevice    "Keyboard" "CoreKeyboard"
   InputDevice    "mice" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
   Load  "freetype"
   # Load "xtt"
   Load  "extmod"
   Load  "glx"
   Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "type1"
   Load  "speedo"
EndSection

Section "InputDevice"
   Identifier  "mice"
   Driver      "mouse"
   Option       "Protocol" "Auto"
   Option       "Emulate3Buttons"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier  "Keyboard"
   Driver      "keyboard"
   Option       "XkbModel" "pc102"
   Option       "XkbLayout" "us"
EndSection

Section "Monitor"
   Identifier   "Monitor"
   HorizSync    31.5 - 108.0
   VertRefresh  50.0 - 130.0
EndSection

Section "Monitor"
   Identifier   "aticonfig Monitor 0"
EndSection

Section "Device"
   Identifier  "Card"
   Driver      "ati"
   BusID       "PCI:1:0:0"
EndSection

Section "Device"
   Identifier  "ATI Graphics Adapter 0"
   Driver      "radeon"
#        Driver      "fglrx"
   BusID       "PCI:1:0:0"
EndSection

Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
    Group 27    # video
#    Mode 0660
EndSection

Section "Screen"
   Identifier "Screen"
   Device     "Card"
   Monitor    "Monitor"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600"
   EndSubSection
EndSection

Section "Screen"
   Identifier "aticonfig Screen 0"
   Device     "ATI Graphics Adapter 0"
   Monitor    "aticonfig Monitor 0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection



I have a clean install of Gentoo 2.6.16-r6 and x11 6.8, anyone have any ideas?
Back to top
View user's profile Send private message
DrUberEgo
n00b
n00b


Joined: 21 May 2005
Posts: 5

PostPosted: Tue May 09, 2006 7:39 pm    Post subject: Does the Xpress 200 chipset work at all? Reply with quote

Yes, I know... buy an nvidia card. I hate ATI now too but I'm stuck with a Shuttle XPC box that has an Xpress 200 chipset in it and was wondering if somebody could help me get it working.

Processor: AMD Athlon FX-55.
Video (lspci): 01:05.0 VGA compatible controller: ATI Technologies Inc RS480 [Radeon Xpress 200G Series]
ati-drivers version is at: 8.24.8
Kernel Version: 2.6.17-rc3

fglrx modules seems to load fine and pulls in agpgart as well (do I even need agpgart? My box has PCIe slot for
video)

The problem is rather severe: After running aticonfig whenever I start X the screen goes black, I lose video signal and a couple of seconds later the console comes back displaying a kernel panic. I never get any X11 or graphics at all.

Nobody else seems to be complaining about this problem, or if they did their post was so long ago that I doubt it applies to the latest ATI drivers since ATI says that the Xpress 200 is supported.

Any ideas?

Thanks.
Back to top
View user's profile Send private message
jevge
n00b
n00b


Joined: 08 Jun 2004
Posts: 17
Location: Hungary

PostPosted: Fri May 12, 2006 1:37 pm    Post subject: eselect error Reply with quote

Sorry if this was asked before, but i couldn't find anything trough search...

I managed to enable 3d on my r300, with the official ati drivers ( 8.24.8 )
(had to include intermodule support in kernel).
Everything is working, the modules are loading like they should, according to glxinfo, i have direct rendering:
Code:

# glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes

I was happy until i tried to view a film in fullscreen. It was very, very slow.
So i figured i have to change the renderer with eselect.
But when i tried to change it there was an error:

Code:
# eselect opengl set ati
!!! Error: Unrecognized option: ati
exiting.


Apparently i have only the xorg renderer:

Code:
# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *


How could i enable the hw opengl rendering (the "ati" option)?
I suppose i just have to edit a symlink somewhere, to let eselect know i have hw acceleration? :D

Some other info:

Code:
# dmesg | grep fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 804 MBytes.
[fglrx] module loaded - fglrx 8.24.8 [Apr 11 2006] on minor 0
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] Kernel AGP support doesn't provide agplock functionality.
[fglrx] AGP detected, AgpState   = 0x1f00420b (hardware caps of chipset)
[fglrx] AGP enabled,  AgpCommand = 0x1f004302 (selected caps)
[fglrx] free  AGP = 524562432
[fglrx] max   AGP = 524562432
[fglrx] free  LFB = 116387840
[fglrx] max   LFB = 116387840
[fglrx] free  Inv = 0
[fglrx] max   Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total AGP = 131072


Code:
# lspci
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
02:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300 ND [Radeon 9700 Pro]
02:00.1 Display controller: ATI Technologies Inc Radeon R300 [Radeon 9700 Pro] (Secondary)
Back to top
View user's profile Send private message
CloudBolt
Apprentice
Apprentice


Joined: 04 Feb 2006
Posts: 192
Location: The Netherlands

PostPosted: Fri May 12, 2006 7:51 pm    Post subject: Re: eselect error Reply with quote

jevge wrote:



Code:
# dmesg | grep fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 804 MBytes.
[fglrx] module loaded - fglrx 8.24.8 [Apr 11 2006] on minor 0
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] Kernel AGP support doesn't provide agplock functionality.
[fglrx] AGP detected, AgpState   = 0x1f00420b (hardware caps of chipset)
[fglrx] AGP enabled,  AgpCommand = 0x1f004302 (selected caps)
[fglrx] free  AGP = 524562432
[fglrx] max   AGP = 524562432
[fglrx] free  LFB = 116387840
[fglrx] max   LFB = 116387840
[fglrx] free  Inv = 0
[fglrx] max   Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total AGP = 131072




this output says enough, you've compiled your kernel with the Direct Rendering Manager(under Device Drivers->Character Devices if I remember correctly). recompile your kernel, this time NOT using the direct rendering manager(just disable it completely). afterwards, reboot, then remerge the ati drivers, run
Code:
eselect opengl set ati
and start X.
_________________
GNU/Linux is an operating system.
IBM OS/2 is half an operating system.
Windows is a shell.
DOS is a boot partition virus.
Back to top
View user's profile Send private message
jevge
n00b
n00b


Joined: 08 Jun 2004
Posts: 17
Location: Hungary

PostPosted: Fri May 12, 2006 9:06 pm    Post subject: Reply with quote

Hmm. No, the DRM isn't enabled, and i didn't emerged the ati driver, i installed the one from ati.com...
So obviously i can't remerge it ;). I think that one symlink is missing, but don't know which one, and where to look...
Back to top
View user's profile Send private message
DownSet
n00b
n00b


Joined: 21 Jan 2006
Posts: 32
Location: Riverside, CA

PostPosted: Fri May 19, 2006 4:29 am    Post subject: Reply with quote

Ok i got it down to this
Code:
(II) Loading /usr/lib/modules/drivers/fglrx_drv.so
dlopen: /usr/lib/modules/drivers/fglrx_drv.so: undefined symbol: __glXActiveScreens
(EE) Failed to load /usr/lib/modules/drivers/fglrx_drv.so
(II) UnloadModule: "fglrx"
(EE) Failed to load module "fglrx" (loader failed, 7)


It sees the driver now, but i need to get this fixed, anyone know the answer to this?
Back to top
View user's profile Send private message
Admiral_Trigger_Happy
Guru
Guru


Joined: 05 Sep 2004
Posts: 337
Location: Australia

PostPosted: Fri May 19, 2006 8:51 am    Post subject: Reply with quote

If I try to get ati-drivers 8.23.7 or 8.24.8 working on any 2.6.26+ kernel I get a hard lock whenever I start X, has anyone got any decent solutions?
I need to upgrade my kernel but I also must have acclerated opengl.
So currently I'm stuck on 2.6.14*
_________________
Admiral Trigger Happy
-------------------------------
www.kiba-dock.org
Back to top
View user's profile Send private message
cosmicnut
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2004
Posts: 94

PostPosted: Fri May 19, 2006 9:00 am    Post subject: Reply with quote

Have you tried emerging the "ati-drivers-extra" ebuild. It seems that it links to a later version of the ATI drivers than doing the standard ati-drivers ebuild 8O
I was having all sorts of "symbol" problems due to my kernel version, emerging the extras with the newer driver version made all my problems go away!
Back to top
View user's profile Send private message
Erlend
Guru
Guru


Joined: 26 Dec 2004
Posts: 493

PostPosted: Tue May 23, 2006 9:21 am    Post subject: Fglrx GDM Shutdown Crash Reply with quote

Are other people getting the kernel crash when they try and logout/shutdown the computer?

I've been getting this for the last 3-4 months now (3 different driver versions) and it really annoying me. Is it "normal", is my kernel badly configured?

Thanks,

Erlend
Back to top
View user's profile Send private message
sebgarden
Guru
Guru


Joined: 21 Dec 2002
Posts: 353

PostPosted: Thu May 25, 2006 10:31 am    Post subject: Reply with quote

I also have this problem of X crashing every time I want to restart/stop:
- if log out of gdm and try to reboot/stop the machine, the screen goes black and the box freezes
- if I am still in the gnome session and tell gnome to directly restart/stop the machine, the box freezes with the gnome background on the screen
- if I try to stop the machine pushing the on/off button on the box, I get the same freezes.

Additionaly, after a freeze and a hard reboot, firefox config get screwed and I have no bookmarks anymore if I started firefox during the last gnome session. If I started evolution during the last gnome-session and didn't shut it down completely with evolution --force-shutdown before trying to reboot/stop, then my email account setup also get screwed and I have to redo it (fortunately, my stored email are still there).

I don't know from where this problem comes but, as mentionned before, it is _really_ annoying. I think I will switch to the xorg ati drivers, if I can get them working. Why oh why is graphics configuration under linux such a hell !?!?

Seb the gardener.
Back to top
View user's profile Send private message
Erlend
Guru
Guru


Joined: 26 Dec 2004
Posts: 493

PostPosted: Thu May 25, 2006 10:36 am    Post subject: A fix... Reply with quote

A fix for the X crash when you logout.

Recompile the kernel without vesa-tng support - use vesafb instead.

http://www.thinkwiki.org/wiki/Problems_with_fglrx#Hardlock_on_X_logout

There are more, like making the x-server restart everytime you logout, but I didn't try them.

Erlend
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 5 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum