View previous topic :: View next topic |
Author |
Message |
Palmax Maverick Guru
Joined: 14 Oct 2004 Posts: 339
|
Posted: Wed Mar 01, 2006 3:02 pm Post subject: [ati-drivers] Bug en 8.14.13-r3? <- liberar página (abie |
|
|
Buenas!
Estaba mirando porque mi alsa estaba "tonto" y petaba... un poquito de casualidad (como ocurre con muchas cosas) obtuve una bonita respuesta de mi kernel.
Mirando un poco un "dmesg" puedo ver:
Quote: | fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 23 (level, low) -> IRQ 185
[fglrx] module loaded - fglrx 8.14.13 [Jun 8 2005] on minor 0
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
[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 = 0x1f004a1b (hardware caps of chipset)
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f004312 (selected caps)
Bad page state at free_hot_cold_page (in process 'X', page c16b9580)
flags:0x80000414 mapping:00000000 mapcount:0 count:0
Backtrace:
[<c01379b3>] bad_page+0x5c/0x92
[<c01380ba>] free_hot_cold_page+0x5a/0x109
[<c013877a>] __pagevec_free+0x17/0x1c
[<c013d07e>] release_pages+0x12c/0x135
[<c01430d1>] unlink_file_vma+0x27/0x3a
[<c0147702>] free_pages_and_swap_cache+0x5f/0x77
[<c01445c8>] unmap_region+0xec/0x112
[<c01447f8>] do_munmap+0xdd/0xf3
[<c0144849>] sys_munmap+0x3b/0x57
[<c0102813>] sysenter_past_esp+0x54/0x75
Trying to fix it up, but a reboot is needed
[fglrx] free AGP = 121909248
[fglrx] max AGP = 121909248
[fglrx] free LFB = 108974080
[fglrx] max LFB = 108974080
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
|
No entiendo muy bien porque falla esto, por no entender no entiendo casi nada jejeje.
Me gustaría no solo repararlo, sino también entender un poco que sucede. Parece que es un fallo de que no se libera bien una página del proceso encargado del AGP, pero me gustaría un poco más de info.
El problema del 8.22.5 (a parte de tener que usar aticonfig <- que aún no lo he probado) es el hecho de que mi alsa se me quede "tonto", ya que cuando no uso el 8.22.5 sino el 8.14.13-r3 va bien.
Hasta luego
Palmax Maverick
palmax at gmail.com |
|
Back to top |
|
|
Palmax Maverick Guru
Joined: 14 Oct 2004 Posts: 339
|
Posted: Wed Mar 01, 2006 8:19 pm Post subject: Gringo |
|
|
Gringo ha dicho que fglrx pone que el kernel tiene agp y no debería tenerlo. Pero es que si no tiene agp como va a funcionar el radeonfb? O simplemente la salida a "pantalla"?
Bueno, la verdad es que no tengo muchos conocimientos de todo esto. Si alguien puede decir algo interesante se lo agradecería.
Un saludo
Palmax Maverick |
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Thu Mar 02, 2006 8:24 am Post subject: |
|
|
he dicho que creo que ese puede ser el problema, no recuerdo como es con los binarios de ati, pero los de nvidia vienen con su propio módulo agp p.ej. ( que lo usas si quieres por supuesto).
A ver si alguien te saca de dudas, o simplemente complila un kernel sin soporte agp y sales de dudas tu mismo
saluetes |
|
Back to top |
|
|
ozito Tux's lil' helper
Joined: 09 Apr 2005 Posts: 104 Location: Alicante (Spain)
|
Posted: Thu Mar 02, 2006 5:15 pm Post subject: |
|
|
Hola,
Gringo tiene razón, los drivers de ATI vienen con su própio módulo de AGP.
Según tu dmesg lo que pasa es que le has pedido al driver ATI que utilice el módulo AGP interno y no el del kernel; seguro que tienes una línea como está en la sección device del /etc/X11/xorg.conf:
Code: | Option "UseInternalAGPART" "yes" |
Si el driver te funciona bien, y no tienes ningún problema con la tarjeta deberías cambiar esto a "no" para seguir utilizando el AGP del kernel y qu eno te salga más ese mensaje. _________________ Usuario Linux Registrado: 296106 |
|
Back to top |
|
|
Palmax Maverick Guru
Joined: 14 Oct 2004 Posts: 339
|
Posted: Thu Mar 02, 2006 5:56 pm Post subject: Option "UseInternalAGPART" "no" =&a |
|
|
Buenas!
He puesto que no y deshabilita el opengl :'(, qué se puede hacer? Pongo yes y deshabilito el AGP de la ati? que pasa con el fbsplash?
Un saludo
Palmax Maverick
palmax at gmail.com
PD: AH! Se me olvidaba
Quote: | fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 23 (level, low) -> IRQ 185
[fglrx] module loaded - fglrx 8.14.13 [Jun 8 2005] on minor 0
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
[fglrx:firegl_unlock] *ERROR* Process 5380 using kernel context 0
|
Donde:
Quote: | root 5380 7.7 2.0 22988 20988 ? R 18:53 0:39 X :0 -nolisten tcp -br -deferglyphs 16
|
|
|
Back to top |
|
|
ozito Tux's lil' helper
Joined: 09 Apr 2005 Posts: 104 Location: Alicante (Spain)
|
Posted: Thu Mar 02, 2006 6:44 pm Post subject: |
|
|
Siento no poder ayudarte mucho más.
Hace tiempo que seguí los pasos de este hilo: https://forums.gentoo.org/viewtopic-t-301437.html para poder conseguir activar el 'Direct Renderig' pero no hubo forma. Igual puedes encontrar algo de información en él.
Saludos
PD: Conseguí activar el Direct Rendering utilizando los drivers Open Source de Xorg (radeon) _________________ Usuario Linux Registrado: 296106 |
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Thu Mar 02, 2006 7:01 pm Post subject: |
|
|
he mirao un poco en -> http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html
Y ahi pone :
Quote: | Question 4.44: I get "out of vmalloc space" errors in my dmesg output
Try adding the line:
Option "KernelModuleParm" "agplock=0"
to your xorg.conf. |
a ver si sirve
Ajusta tu xorg.conf según como hayas compilado el módulo del kernel y añade esa opción. A ver que pasa ...
Prueba tb. con otras versiones del driver en caso de error.
saluetes |
|
Back to top |
|
|
Palmax Maverick Guru
Joined: 14 Oct 2004 Posts: 339
|
Posted: Thu Mar 02, 2006 9:57 pm Post subject: Sin bloquear el agp |
|
|
Aqui teneis un bonito dmesg de arrancar y glxinfo
Code: | Linux agpgart interface v0.101 (c) Dave Jones
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 23 (level, low) -> IRQ 185
[fglrx] module loaded - fglrx 8.14.13 [Jun 8 2005] on minor 0
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected an Intel 865G Chipset, no integrated grapics found.
agpgart: Detected Intel i865G chipset
agpgart: AGP aperture is 128M @ 0xd0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState = 0x1f004a1b (hardware caps of chipset)
AGP: Found 2 AGPv3 devices
AGP: Doing enable for AGPv3
agpgart: Found an AGP 3.0 compliant device.
[fglrx] AGP enabled, AgpCommand = 0x1f004312 (selected caps)
Bad page state at free_hot_cold_page (in process 'X', page c16ca6c0)
flags:0x80000414 mapping:00000000 mapcount:0 count:0
Backtrace:
[<c01379b3>] bad_page+0x5c/0x92
[<c01380ba>] free_hot_cold_page+0x5a/0x109
[<c013877a>] __pagevec_free+0x17/0x1c
[<c013d07e>] release_pages+0x12c/0x135
[<c01430d1>] unlink_file_vma+0x27/0x3a
[<c0147702>] free_pages_and_swap_cache+0x5f/0x77
[<c01445c8>] unmap_region+0xec/0x112
[<c01447f8>] do_munmap+0xdd/0xf3
[<c0144849>] sys_munmap+0x3b/0x57
[<c0102813>] sysenter_past_esp+0x54/0x75
Trying to fix it up, but a reboot is needed
[fglrx] free AGP = 121909248
[fglrx] max AGP = 121909248
[fglrx] free LFB = 108974080
[fglrx] max LFB = 108974080
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
------------[ cut here ]------------
kernel BUG at mm/swap.c:215!
invalid operand: 0000 [#1]
PREEMPT SMP
Modules linked in: fglrx agpgart snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc
CPU: 0
EIP: 0060:[<c013cf8f>] Tainted: P B VLI
EFLAGS: 00210256 (2.6.15-gentoo-r1)
EIP is at release_pages+0x3d/0x135
eax: 00000000 ebx: c16ca6c0 ecx: f70b6a80 edx: c16ca6c0
esi: 00000001 edi: 00000000 ebp: 00000000 esp: ebd81ec8
ds: 007b es: 007b ss: 0068
Process glxinfo (pid: 5440, threadinfo=ebd80000 task=f7793a30)
Stack: 00000000 00000000 b7ef6000 ebd81f18 00000000 b7ef6000 f226bb80 00000001
f7744c80 f7744cac f6cfd880 edff50cc c01430d1 00000000 00000000 b7ef5000
c16ca6c0 00000001 00000001 00000001 c0147702 c18069d0 00000001 00000000
Call Trace:
[<c01430d1>] unlink_file_vma+0x27/0x3a
[<c0147702>] free_pages_and_swap_cache+0x5f/0x77
[<c01445c8>] unmap_region+0xec/0x112
[<c01447f8>] do_munmap+0xdd/0xf3
[<c0144849>] sys_munmap+0x3b/0x57
[<c0102813>] sysenter_past_esp+0x54/0x75
Code: 58 c7 04 24 00 00 00 00 89 44 24 04 0f 8d fa 00 00 00 8b 44 24 54 8b 1c a8 8b 03 89 da f6 c4 40 74 03 8b 53 0c 8b 42 04 40 75 08 <0f> 0b d7 00 40 29 39 c0 f0 83 43 04 ff 0f 98 c0 84 c0 0f 84 af
<6>note: glxinfo[5440] exited with preempt_count 1
scheduling while atomic: glxinfo/0x00000001/5440
[<c036fdff>] schedule+0x43/0xa7f
[<c0118b2a>] release_console_sem+0xa4/0xaa
[<c0118a0d>] vprintk+0x237/0x241
[<c0118a0d>] vprintk+0x237/0x241
[<c01189dd>] vprintk+0x207/0x241
[<c0102813>] sysenter_past_esp+0x54/0x75
[<c03713cf>] rwsem_down_read_failed+0x143/0x162
[<c011b83f>] .text.lock.exit+0x27/0x84
[<c011a8f5>] do_exit+0x16c/0x372
[<c0103a2a>] do_divide_error+0x0/0x86
[<c0103b6c>] do_invalid_op+0x0/0x86
[<c0103be6>] do_invalid_op+0x7a/0x86
[<c013cf8f>] release_pages+0x3d/0x135
[<f9a4643e>] __fgl_agp_free_memory+0x9d/0xdb [fglrx]
[<f9a5e4c7>] drm_free+0xb7/0x150 [fglrx]
[<f9a5e4c7>] drm_free+0xb7/0x150 [fglrx]
[<f9a640ca>] firegl_agpsup_free+0x9a/0xf0 [fglrx]
[<c010340b>] error_code+0x4f/0x54
[<c014007b>] madvise_willneed+0x16/0x73
[<c013cf8f>] release_pages+0x3d/0x135
[<c01430d1>] unlink_file_vma+0x27/0x3a
[<c0147702>] free_pages_and_swap_cache+0x5f/0x77
[<c01445c8>] unmap_region+0xec/0x112
[<c01447f8>] do_munmap+0xdd/0xf3
[<c0144849>] sys_munmap+0x3b/0x57
[<c0102813>] sysenter_past_esp+0x54/0x75
|
Pone que hay un bug en no sé que linea. Supongo que será por culpa de los ati-drivers, no del agp del kernel. Aki os meto un poco de xorg.conf
Quote: | # === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### 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" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === 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"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
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"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
Option "KernelModuleParm" "agplock=0"
BusID "PCI:1:0:0" # vendor=1002, device=4e50
Screen 0
EndSection
|
Si alguien entiende algo que me lo explique.
Un saludo
Palmax Maverick
palmax at gmail.com |
|
Back to top |
|
|
Palmax Maverick Guru
Joined: 14 Oct 2004 Posts: 339
|
Posted: Fri Mar 03, 2006 8:54 am Post subject: ati-driver-8.22.5 |
|
|
Lo único que se me ocurre es ir probando con alguna version de los ati-drivers que no me cale una página ni tampoco las alsa, porque como dije el 8.22.5 me calas las alsa:
Quote: |
Linux agpgart interface v0.101 (c) Dave Jones
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 23 (level, low) -> IRQ 185
[fglrx] module loaded - fglrx 8.22.5 [Feb 7 2006] on minor 0
[fglrx] Failed to load fglrx_agp module
[fglrx] Error code 256
[fglrx] Failed to load ATI module agpgart
[fglrx] Fallback to internal agpgart module
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected an Intel 865G Chipset, no integrated grapics found.
agpgart: Detected Intel i865G chipset
agpgart: AGP aperture is 128M @ 0xd0000000
Power management callback for AGP chipset installed
[fglrx] Initialization of built-in AGP-support successful.
[fglrx] AGP detected, AgpState = 0x1f004a1b (hardware caps of chipset)
AGP: Found 2 AGPv3 devices
AGP: Doing enable for AGPv3
agpgart: Found an AGP 3.0 compliant device.
[fglrx] AGP enabled, AgpCommand = 0x1f004312 (selected caps)
[fglrx] free AGP = 121909248
[fglrx] max AGP = 121909248
[fglrx] free LFB = 108974080
[fglrx] max LFB = 108974080
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
irq 193: nobody cared (try booting with the "irqpoll" option)
[<c0133c12>] __report_bad_irq+0x31/0x74
[<c0133cea>] note_interrupt+0x7d/0xa3
[<c01336ec>] __do_IRQ+0xa9/0xdd
[<c0104569>] do_IRQ+0x19/0x24
[<c01032b2>] common_interrupt+0x1a/0x20
[<c0100b4c>] default_idle+0x0/0x55
[<c0100b78>] default_idle+0x2c/0x55
[<c0100c0f>] cpu_idle+0x5a/0x75
[<c04567d2>] start_kernel+0x18f/0x191
handlers:
[<f99af5e5>] (snd_intel8x0_interrupt+0x0/0x1e5 [snd_intel8x0])
Disabling IRQ #193
|
Hay que ver la chapuzas de drivers para las ati.
Espero que los r300 sea estable dentro de poco (creo para xorg-7.0
Un saludo
Palmax Maverick |
|
Back to top |
|
|
Palmax Maverick Guru
Joined: 14 Oct 2004 Posts: 339
|
Posted: Fri Mar 03, 2006 9:52 am Post subject: 8.20.8 "estable" |
|
|
Por fin he encontrado una version de ati-drivers que no me cala ni páginas ni alsa: 8.20.8 <- así que para mi máquina le he dicho q las posteriores las enmascaro (package.mask), las he puesto con = para que así cuando salga una nueva me avise.
De todas formas me sale esto (que es como que tiene que usar el agp del kernel):
Quote: | Linux agpgart interface v0.101 (c) Dave Jones
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 928 MBytes.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 23 (level, low) -> IRQ 185
[fglrx] module loaded - fglrx 8.20.8 [Dec 6 2005] on minor 0
[fglrx] Failed to load fglrx_agp module
[fglrx] Error code 256
[fglrx] Failed to load ATI module agpgart
[fglrx] Fallback to internal agpgart module
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected an Intel 865G Chipset, no integrated grapics found.
agpgart: Detected Intel i865G chipset
agpgart: AGP aperture is 128M @ 0xd0000000
Power management callback for AGP chipset installed
[fglrx] Initialization of built-in AGP-support successful.
[fglrx] AGP detected, AgpState = 0x1f004a1b (hardware caps of chipset)
AGP: Found 2 AGPv3 devices
AGP: Doing enable for AGPv3
agpgart: Found an AGP 3.0 compliant device.
[fglrx] AGP enabled, AgpCommand = 0x1f004312 (selected caps)
[fglrx] free AGP = 121909248
[fglrx] max AGP = 121909248
[fglrx] free LFB = 108974080
[fglrx] max LFB = 108974080
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
|
¿Qué os parece?
Palmax Maverick |
|
Back to top |
|
|
|