[Grafikarte] OpenGL rendering

P

phibos

Grünschnabel
Also ich würde gerne das OpenGL rendering aktivieren :
Code:
 glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Hab dann ein wenig gegooglet und habe gelesen es liegt am Grafikarten treiber .
So dann habe ich mal geschaut hab laut Notebook Handbuch eine billige VIA Chrome9 Karte .
So dann habe ich weiter geooglet und eine Tutorial gefunden in dem behauptet wird man soll den openchrome treiber benutzen , gemacht aber dann ging mal garnix, mehr, ich musste xorg.conf restaurieren , jetzt geht es zwar wieder aber rendering habe ich noch immer nicht. .
Xorg.conf.
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# 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

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "Standardgrafikkarte"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Standardbildschirm"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Standardgrafikkarte"
Monitor "Standardbildschirm"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

Wenn ihr noch infos braucht bitte sagen.
Hoffe jemand kann mir Helfen.

Danke
EDIT:\\ Vergessen: Verwende Debian ...
 
Zuletzt bearbeitet:
lspci -v
auf der Konsole ausführen und hier die Ausgabe davon angeben.
 
lspci -v

00:00.0 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
Subsystem: VIA Technologies, Inc. K8M890CE Host Bridge
Flags: bus master, medium devsel, latency 8
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [80] AGP version 3.0
Capabilities: [50] Power Management version 2
Capabilities: [60] HyperTransport: Slave or Primary Interface
Capabilities: [58] #00 [0000]

00:00.1 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
Flags: bus master, medium devsel, latency 0

00:00.2 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
Flags: bus master, medium devsel, latency 0

00:00.3 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
Flags: bus master, medium devsel, latency 0

00:00.4 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
Flags: bus master, medium devsel, latency 0

00:00.5 PIC: VIA Technologies, Inc. K8M890CE I/O APIC Interrupt Controller (prog-if 20 [IO(X)-APIC])
Flags: bus master, fast devsel, latency 0

00:00.7 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
Flags: bus master, medium devsel, latency 0

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: d8000000-d8ffffff
Prefetchable memory behind bridge: c0000000-cfffffff
Capabilities: [70] Power Management version 2

00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [68] Power Management version 2
Capabilities: [70] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable+
Capabilities: [dc] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [180] Unknown (5)

00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [68] Power Management version 2
Capabilities: [70] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable+
Capabilities: [dc] HyperTransport: MSI Mapping
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [180] Unknown (5)

00:0f.0 IDE interface: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10d9
Flags: bus master, medium devsel, latency 64, IRQ 225
I/O ports at 4cb0
I/O ports at 4ca4
I/O ports at 4ca8
I/O ports at 4ca0
I/O ports at 4c80
I/O ports at 4400
Capabilities: [c0] Power Management version 2

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07) (prog-if 8a [Master SecP PriP])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10d9
Flags: bus master, medium devsel, latency 64
I/O ports at 4c90
Capabilities: [c0] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 64, IRQ 209
I/O ports at 4c00
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 64, IRQ 217
I/O ports at 4c20
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 64, IRQ 225
I/O ports at 4c40
Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Flags: bus master, medium devsel, latency 64, IRQ 233
I/O ports at 4c60
Capabilities: [80] Power Management version 2

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
Subsystem: VIA Technologies, Inc. USB 2.0
Flags: bus master, medium devsel, latency 64, IRQ 225
Memory at d9300000 (32-bit, non-prefetchable)
Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
Subsystem: VIA Technologies, Inc. Unknown device 3237
Flags: medium devsel
Capabilities: [c0] Power Management version 2

00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
Subsystem: VIA Technologies, Inc. Unknown device 337e
Flags: bus master, medium devsel, latency 64
Capabilities: [58] HyperTransport: Interrupt Discovery and Configuration
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10d9
Flags: bus master, medium devsel, latency 64, IRQ 233
I/O ports at 4800
Memory at d9300400 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2

00:13.0 PCI bridge: VIA Technologies, Inc. VT8237A Host Bridge (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
Memory behind bridge: d9000000-d90fffff
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [70] Subsystem: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [70] Subsystem: VIA Technologies, Inc. VT8237A PCI to PCI Bridge

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Flags: fast devsel

01:00.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 3230 (rev 01) (prog-if 00 [VGA])
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10d9
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 10
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at d8000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [60] Power Management version 2
Capabilities: [70] AGP version 3.0

04:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
Subsystem: Fujitsu Siemens Computer GmbH Unknown device 10d9
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at d9000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
Capabilities: [100] Virtual Channel


*textzukurz*
 
https://help.ubuntu.com/community/OpenChrome
Bin nach diesem Tutorial noch mal vorgegagne und jetzt habe ich das:
bei glxinfo | grep direct
0000: f0000001 00000300 f0000006 00000001
0010: f000000b 00000000 f000000c 00180200
0020: f000000d 00180200 f000000e 80200020
0030: f0000002 00000000 f0000003 00000000
0040: f0000004 00000000 f0000000 f0002001
0050: f000000b 00000000 f210f110 00010000
0060: cccccccc cccccccc cccccccc cccccccc
0070: cccccccc cccccccc cccccccc cccccccc
******************************************
fire_buffer: DRM_VIA_PCICMD returned -22
direct rendering: Yes
OpenGL renderer string: Mesa DRI UniChrome 20060710

Aber wenn ich ein OpenGL Programm aufrufe passiert:

/Desktop/OpenGL# ./cube
0000: f0000001 00000300 f0000006 00000000
0010: f000000b 00000000 f000000c 0000f834
0020: f000000d 0000f834 f000000e 82000200
0030: f0000002 00000001 f0000003 00000001
0040: f0000004 01f301f3 f0000000 f0002001
0050: f000000b 00000000 f210f110 00010000
0060: cccccccc cccccccc cccccccc cccccccc
0070: cccccccc cccccccc cccccccc cccccccc
******************************************
fire_buffer: DRM_VIA_PCICMD returned -22
Abgebrochen

Hoffe das es für das Problem auch ne Lösung gibt ...

Danke
 
gibt der xserver irgendwelche fehler aus

Code:
grep EE /var/log/Xorg.0.log
 
grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "via" (module does not exist, 0)
(EE) CHROME(0): [drm] drmAgpAcquire failed 19

Ok das modul "via" HABE ICH DER xORG.CONF in der Section Module eingetragen , trag ich gleich wieder aus ...
Aber mein Problem liegt ja dann wohl daran:

(EE) CHROME(0): [drm] drmAgpAcquire failed 19

Danke

EDIT:\\ Hab noch ein bisschen gegooglet und das gefunden:
via_agp will have to be loaded before drm loads. Easiest way to
assure this is to compile agpgart and via_agp into the kernel.
Seite:http://wiki.openchrome.org/pipermail/openchrome-users/2006-October/002167.html

Soll ich der xorg.conf das modul zum laden eintragen ?

EDIT2:\\ Hab es jetzt in die Section module eingetragen allerdings kommt dan wieder :
grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "via_agp" (module does not exist, 0)
(EE) Failed to load module "via" (module does not exist, 0)
(EE) CHROME(0): [drm] drmAgpAcquire failed 19
EDIT3:\\ Komisch lsmod sagt mir das ein modul via geladen ist ... aber kein via_agp .
modprobe via_agp liefert keinen fehler ...
 
Zuletzt bearbeitet:
Ich würde mir eine neue AGP Grafikkarte kaufen.
 
Nein ist ein angelöteter Chip und herumlöten am Mainboard halte ich für nicht so schlau ...;(
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

Da der openchrome Treiber nur manchmal funktioniert - manchmal habe ich streifen am Bildschirm musste ich wieder zurück zum vesa Treiber ....

Hoffe jemand hat noch eine Idee

Danke
 
Zuletzt bearbeitet:
Easiest way to
assure this is to compile agpgart and via_agp into the kernel.

das würde ich testen ... und wenn dann so alles laufen sollte, kannste dich immer noch schlau machen, wie du das modular löst, wenn du unbedingt den distri kernel haben willst.


EDIT: wobei eine message weiter in deinem link ist doch die lösung

Anyway, thanks for the great advice! :) I didn't recomplile the kernel, but changed the /etc/modules.autoload.d/kernel-2.6 file, so the modules load in this order (making the assumtion modules load from top to bottom):

agpgart
via_agp
via
drm

du kannst das auch erstmal so testen, in dem du die module entlädst, und in dieser reihenfolge manuell wieder einlädst.
 
Zuletzt bearbeitet:
Also die datei zum laden der module gibt es bei mir nicht es gibt lediglich eine Datei /etc/modules .
Ich habe jetzt mal die Module dort eingetragen und meine xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# 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

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load "agpgart"
Load "via_agp"
Load "via"
Load "drm"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "Standardgrafikkarte"
Driver "openchrome"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Standardbildschirm"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Standardgrafikkarte"
Monitor "Standardbildschirm"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

Wenn ich das mache bekomme ich :
glxinfo | grep render
0000: f0000001 00000300 f0000006 00000001
0010: f000000b 00000000 f000000c 00180200
0020: f000000d 00180200 f000000e 80200020
0030: f0000002 00000000 f0000003 00000000
0040: f0000004 00000000 f0000000 f0002001
0050: f000000b 00000000 f210f110 00010000
0060: cccccccc cccccccc cccccccc cccccccc
0070: cccccccc cccccccc cccccccc cccccccc
******************************************
fire_buffer: DRM_VIA_PCICMD returned -22
direct rendering: Yes
OpenGL renderer string: Mesa DRI UniChrome 20060710
.
Werde jetzt noch als Treiber via probieren und dann editieren .

EDIT:\\ Wenn ich VIA als treiber nehme startet gdm nicht, als error kommt agpgart und via_agp not found . Wo kann ich die Module installieren ?
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

das witzige ist lsmod zeigt mir aber agpgart und via_agp an( wahrscheinlich weil ich sie in die datei module eingetragen habe) aber der X Server sagt trotzdem module not found .
 
Zuletzt bearbeitet:
du kannst das auch erstmal so testen, in dem du die module entlädst, und in dieser reihenfolge manuell wieder einlädst.

das schlage ich dir vor.

boote in die konsole, bzw beende x in die konsole.

entlade (rmmod) die module agpgart, via_agp, via, drm

und dann lade(modprobe) sie in der besagten reihenfolge einzeln neu.

wenn das dann geht, finde raus wie du es automatisierst.

ansonsten:

Easiest way to
assure this is to compile agpgart and via_agp into the kernel.

btw. in der xorg. conf ham die module nix zu suchen

das witzige ist lsmod zeigt mir aber agpgart und via_agp an

das wird in deinem Link(klickmich) (eine message vorher) auch gesagt, und gelöst (eine message später) in dem die module in der richtigen reihenfolge geladen werden

wahrscheinlich weil ich sie in die datei module eingetragen habe

nein, dort bringen sie nix ausser warnings und fhlermeldungen


btw, lsmod wird bei dir in etwa sowas zeigen.

Code:
agpgart                26288  2 drm,via_agp,via


dann entlädst du erst drm, via_agp und via und danach kannste agpart entladen, wobei du agpart wahrscheinlich so lassen kannst, ist ja eh das erste, das du laden sollst.
 
Zuletzt bearbeitet:
Wenn ich versuche via herauszuladen bleibt er hängen ...
 
was heisst hängen bleiben ? Fehlermeldung ?

das ganze ohne gui selbstverständlich
 
nichts bleibt einfach stehen bei rmmod via , reagiert auch nicht mehr auf tastatur eingaben ...
 
Damit das geht muss folgendes via rc.modules geladen werden:
Code:
/sbin/modprobe via_agp 2> /dev/null
/sbin/modprobe agpgart 2> /dev/null
/sbin/modprobe radeon 2> /dev/null  # oder andere Grafik-Karte
/sbin/modprobe drm 2> /dev/null    # wichtig !!!
#/sbin/modprobe savage 2> /dev/null
Falls das Laden der Module nicht geht - insbesondere weil sie nicht da sind - ist der installierte Kernel unvollstaendig. Nachgucken ob die Module da sind: /lib/modules/<GENAUE!!!-kernel-version>/kernel/drivers/
Wenn nicht, anderen Kernel installieren !!

Ferner sehr wichtig: war einmal ein privater Treiber (ATI oder NVIDIA) installiert, muss der komplett desinstalliert werden, oft muss man anschliessend noch per Hand alle libGL* Bibliotheken entfernen, danach mesa neu installieren !!

In /etc/X11/xorg.conf , insbesondere section device und den Schluss (composite enable) beachten (Beispiel radeon)
Code:
# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"


# This loads the font modules

#    Load        "xtt"
    Load        "speedo"
    Load	"i2c"
    Load        "bitmap"
    Load	"ddc"
    Load	"type1"
    Load	"freetype"
    Load	"extmod"         # in jedem Fall
#    Load	"synaptics"
    Load	"vbe"
    Load        "int10"

# This loads the DBE extension module.
    Load        "dbe"             # Double buffer extension

# This loads the DRI module
    Load       "dri"               # muss an sein !!
    Load       "drm"               # muss an sein                 
# This loads the GLX module
    Load       "glx"                 # muss an sein


# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection


EndSection

# Alle 3D brauchan /dev/shm;  LIBGLL-MESA, LIBGLL-MESA-DRIVER
#  fglrx braucht XGL, sisplay :1, COMPOSITE AUSSCHALTEN
#  gLX braucht aiglx, DISPLAY :0

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

#    RgbPath	"/usr/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 

    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/OTF"
    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/local/"
    FontPath   "/usr/lib/X11/fonts/misc/"
    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/lib/X11/fonts/Type1/"
    FontPath   "/usr/lib/X11/fonts/TTF/"
    FontPath   "/usr/lib/X11/fonts/OTF/"
    FontPath   "/usr/lib/X11/fonts/cyrillic/"
    FontPath   "/usr/lib/X11/fonts/75dpi/"
    FontPath   "/usr/lib/X11/fonts/100dpi/"
    FontPath   "/usr/share/fonts/Type1"
    FontPath   "/usr/lib/X11/fonts/Speedo/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/lib/xorg/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

     Option "AIGLX"  "on"    #  on bei radeon  , off bei fglrx -Driver, diese mit XGL

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"br-abnt2"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "PS/2"	# PS/2 Mouse
    Option "Device"      "/dev/input/mice"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.

    Option "ZAxisMapping"   "4 5 6 7"

# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "monitor"

    Option      "DPMS"      # Bei artist vhd, bei Sabayon nicht

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5 - 70     # WARNUNG !!! Falls zu klein, wird VESA-Driver geladen

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-100

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

#Section "Device"
#    Identifier	"Standard VGA"
#    VendorName	"Unknown"
#    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

#    Driver     "vga"

# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

#EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "ATIRadeon8500"
    Driver      "ati"           # oder "ati"    Achtung: oben Option "AIGLX"  on bei radeon  , off bei fglrx -Driver setzen
#     Driver     "ffb"   # ohne acceleration , in /usr/lib/xorg/modules/driver
#                                       wichtig:  libgl1-mesa installiert und radeon  benutzen
#    VideoRam    65536              # fraglich, bei S und nicht

        Option          "DRI" "true"
        Option          "AGPSize"       "32"  #fixes white title bars

     Option "HWCursor" "true" 
#    Option "SWCursor" "true"     # ggf ändern damit keine haesslichen Effekte um den Cursor rum

    Option "RenderAccel" "true"     # fraglich,  oder  on
    Option "AllowGLXWithComposite" "true"     # fraglich
#    Option "BusType" "PCI"        # an ist zumindest nicht falsch  ... oder vielleicht doch
#    Option "BusID"  "PCI:1:0:0"    # falls mehrere Grafik-Karten vhd, # lspi  und angeben welche
    Option "ColorTiling" "on"       # OK, zum. nicht falsch, schaltet ggf selbst ab	oder 1
    
#    Option "AGPFastWrite"   "yes"   # Nicht bei ATI, führt zum Blockieren .  Selbst wenn in lspci -vv fuer Karte und MB angegeben.  Definitiv keine messbare Verschnellerung.
    Option "AccelMethod"   "XAA"    # oder XAA.   EXA können nicht alle Karten.  Bei Radeon XAA 10% schneller als EXA

     Option "XAANoOffscreenPixmaps"  # alt, nur an falls es ohne ihm Probleme gibt
     Option "ExaNoOffscreenPixmaps"    # EXA neuer und schneller 
    Option "BackingStore"  "true"  #    empfehlenswert
        Option          "DMAForXv"       "true" #This can speed up movie playback but can in rare cases case instability
      Option    "SubPixelOrder" "none"
      Option    "mtrr" "on"
    Option          "AccelDFS"       "true" #seemed to speed things up using EXA acceleration
    Option       "VideoOverlay" "on"    # unklar, vielleicht noetig
#    Option       "OpenGLOverlay" "off"    # unklar,  vielleicht noetig  Keinen Einfluss auf speed
    Option          "TripleBuffer"   "true" #This *might* help if you use something like Beryl and have slow video playback.    # fraglich, bei Sabayon und Artist nicht da
    
    Option          "AGPMode"         "4"          # falls in lspci -vv fuer mainboard und video-Karte x4 angegeben
    #Option "ForcePCIMode" "True"    # Falls PCI-Karte (keine AGP-Karte !!!, kein MB-AGP) und Probleme
    #Option  "UseInternalAGPGART" "no"   # yes falls schnellerer AGPGART vom mainbord benutzen, aber unklar obs funktioniert
    # This forces the AGP mode 4x. If you want to use a  different value, just change it
						    
#    Option          "EnablePageFlip"  "on"    # Beschleunigt etwa 10% bei XAA und macht dies schneller als EXA, bei EXA kein Unterschied.   Besser nur falls FW in lspci OK  Geht nur mit XAA.   Problematisch.

# von unten kopiert, da unklar wohin:
           Option         "RenderAccel" "true"
           Option         "AllowGLXWithComposite" "true"
           Option         "AddARGBGLXVisuals" "true"                    # noetig dass Fensterleiste kommt
	   Option         "DisableGLXRootClipping" "True"
	    
     
    # Insert Clocks lines here if appropriate
EndSection

# In /root/.drirc  :
#<driconf>
#    <device screen="1" driver="r200">
#        <application name="Default">
#            <option name="allow_large_textures" value="2" />
#        </application>
#    </device>
#</driconf>


# in KDE  Control Center ? Appearance & Themes ? Style ? Effects: 
#  Enable GUI Effects should be checked, but Combobox, Tooltip, Menu, Menu tear-off handles, and Menu Drop Shadow    
# should be disabled. These options interfere with Beryl's built-in effects. 



# evtl in /etc/gdm/gdm.conf  0=Standard bzw 1=.. setzen, sonst schaltet RADEON DRI aus;  
#  GdmXserverTimeout=10. If it is 10, change it to 50.


# editieren /usr/share/xsessions/xgl.desktop :

#[Desktop Entry]
#Encoding=UTF-8
#Name=XGL
#Exec=/usr/bin/startxgl.sh
#Icon=
#Type=Application

#editieren /usr/bin/startxgl.sh   oder startxgl:

#Xgl -fullscreen :1 -ac -accel xv -accel glx:pbuffer &        
#DISPLAY=:1                                                  # Fuer XGL DISPLAY :1 manchmal auch :0, für AIGLX :0
# Start GNOME
#exec gnome-session                                 # oder:
#exec dbus-launch --exit-with-session gnome-session

# ausführbar machen mit: chmod +x /usr/bin/startxgl.sh

#log out and press CTRL+ALT+BACKSPACE. Click Options and then Select Session. Choose XGL. 
#Log in and click "Just for this session" 
 
# To edit beryl related settings, run csm. To edit the window manager themes, run "beryl-settings".
 
# Damit Fensterdekorationan (incl. Titelbar) kommen:  / Emerald, Heliodor oder Aquamarine mit
#  beryl-manager starten   / in beryl-settings: decoration plugin enabled
#  /  AddARGBGLXVisuals True    unten 

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 0"   # Bei glx, AIGLX: screen :0 , bei fglrx, XGL screen 1 
    Device      "ATIRadeon8500"
    Monitor     "monitor"
    DefaultDepth 16

           Option         "RenderAccel" "true"
           Option         "AllowGLXWithComposite" "true"
           Option         "AddARGBGLXVisuals" "true"                    # noetig dass Fensterleiste kommt
	   Option         "DisableGLXRootClipping" "True"
	    


    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

 Section "dri"     # oder DRI ??
    Mode 0666                   # unbedingt
 EndSection

   Section "extensions"
          Option         "Composite" "Enable"             # enable bei radeon,  disable bei fglrx Driver
   EndSection
 
Zuletzt bearbeitet:
@werner rc.modules finde ich bei debian auf die schnelle nicht, deine aussagen sind zwar prinzipiell richtig, aber ich denke sie helfen bei dem problem gerade nicht und deine xorg.conf is zwar n schickes stück arbeit(werde ich mir noch mal genauer zu gemüte ziehen), aber einige punkte kann ich nicht nachvollziehen.

z.B.
Load "drm" # muss an sein

das wäre mir neu.

ok back to problem

nichts bleibt einfach stehen bei rmmod via , reagiert auch nicht mehr auf tastatur eingaben ...

hmmh sehr seltsam, habe gerade mal bei mir getestet, also das via_agp und agp_gart modul kann man gar nicht entladen( dachte ich mir schon, aber es kam ja auch mehr auf drm und via an).

via ist doch einfach nur dein graphikkarten-modul ... versteh ich nicht, warum der da hängen bleibt.


wie auch immer ich habe die datei bei debian gefunden in die du die module einträgst:

/etc/modules

dort mal deine module in der richtigen reihenfolge eintragen (untereinander eins pro zeile), neustarten und hoffen ;)
 
Zuletzt bearbeitet:

Ähnliche Themen

X startet nichtmehr

Zweiter Monitor geht bei Vollbildspielen aus.

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Windows clients können nicht mehr auf lange laufendes System zugreifen

2 Bildschirme unter Suse

Zurück
Oben