Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] radeon r100 (M6); xorg-6.7.99; 3D-Beschleunigung
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
christophd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 76

PostPosted: Tue Sep 07, 2004 6:15 pm    Post subject: [solved] radeon r100 (M6); xorg-6.7.99; 3D-Beschleunigung Reply with quote

Laut xorg Seite wird jetzt auch die 3D Beschleunigung beim r100 Chip unterstützt. Meine Augen leuchteten als ich die Nachricht las.

ein emerge 6.7.99-104
und # VIDEO_CARDS="radeon" emerge x11-drm-20040827.ebuild

Nur leider funktioniert das nicht so ganz.

Meine xorg.conf:

Code:
Section "Module"

    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
    Load       "glx"
    Load       "dri"
EndSection

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/TrueType/"
    FontPath   "/usr/share/fonts/freefont/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbLayout"  "de"
    Option "XkbModel"   "101"
    Option "XkbRules"   "xfree86"
EndSection

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"  "4 5"
    Option "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier  "15 inch TFT"
    HorizSync   28-80
    VertRefresh 60-72
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection


Section "Device"
    Identifier  "Default Screen"
    Driver      "radeon"
    VideoRam    16384
    BusID   "PCI:1:0:0"
    Option          "AGPMode"       "4"
    Option          "AGPFastWrite"  "true"
    Option  "EnableDepthMoves"   "True"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Default Screen"
    Monitor     "15 inch TFT"
    DefaultDepth 16

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

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection



Code:
root@buzz etc # lspci | grep Radeon
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
root@buzz etc #


Code:
(II) RADEON(0): Modeline "1152x768"  108.00  1152 34208 34320 1688  768 1052 105 5 1063
(==) RADEON(0): DPI set to (75, 75)
(**) RADEON(0): Using AGP 4x mode
(**) RADEON(0): Enabling AGP Fast Write
(**) RADEON(0): Enabling depth moves
(II) RADEON(0): Page flipping disabled
(!!) RADEON(0): For information on using the multimedia capabilities
(WW) RADEON(0): Failed to set up write-combining range (0xd8000000,0x1000000)
(II) RADEON(0): Dynamic Clock Scaling Disabled
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe1093000
(II) RADEON(0): [drm] mapped SAREA 0xe1093000 to 0x4132b000
(II) RADEON(0): [drm] framebuffer handle = 0xd8000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000217 [AGP 0x8086/0x3340; Card 0x1002/0x4c59]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xe0000000
(II) RADEON(0): [agp] Ring mapped at 0x4132d000
(II) RADEON(0): [agp] ring read ptr handle = 0xe0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x4142e000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x4142f000
(II) RADEON(0): [agp] GART texture map handle = 0xe0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x4162f000
(II) RADEON(0): [drm] register handle = 0xd0100000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1408,5957)
(II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 4905
(II) RADEON(0): Will use back buffer at offset 0x5b8000
(II) RADEON(0): Will use depth buffer at offset 0x88a000
(II) RADEON(0): Will use 4736 kb for textures at offset 0xb60000
(II) RADEON(0): [b]Render acceleration enabled[/b]
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 4899
(II) RADEON(0): X context handle = 0x00000001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 9
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): [b]Direct rendering enabled[/b]
root@buzz log #


Code:
chris@buzz etc $ glxinfo
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.....


Kennt ihr euch da aus? Laut dem log-file Ist "Direct rendering enabled" oder glxinfo sagt: direct rendering: No??


Last edited by christophd on Wed Sep 08, 2004 11:52 am; edited 1 time in total
Back to top
View user's profile Send private message
Jlagreen
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 211
Location: Baden-Württemberg, Germany

PostPosted: Tue Sep 07, 2004 6:42 pm    Post subject: Reply with quote

Hi,

vielleicht hilft ja
Code:

# opengl-update xorg-x11

weiter (als root natürlich)
_________________
Aktuelle Sys:
Dektop System
--> GF6800LE @ 12p/6v @ 415/900
-- >Think Linux, use Gentoo
Back to top
View user's profile Send private message
christophd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 76

PostPosted: Tue Sep 07, 2004 7:05 pm    Post subject: Reply with quote

der computer hat ca. 1 min gearbeitet, aber:
Code:
root@buzz chris # opengl-update xorg-x11
 * Switching to xorg-x11 OpenGL interface...                              [ ok ]
root@buzz chris #


aber leider immer noch:

Code:
chris@buzz chris $ glxinfo
name of display: :0.0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
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_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX......


Weitere Ideen?
Back to top
View user's profile Send private message
Jlagreen
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 211
Location: Baden-Württemberg, Germany

PostPosted: Tue Sep 07, 2004 7:16 pm    Post subject: Reply with quote

christophd wrote:

Code:

chris@buzz chris $ glxinfo
name of display: :0.0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering



sieht so aus, als ob du als normaler user kein zugriffsrecht auf die libGL hast, startest du den X Server als root mit "startx", oder per xdm?

ansonsten x11-drm neu emergen und wenn eventuell ati treiber noch da sind, diese unmerge und nach dem x11-drm emerge "opengl-update" erneut ausführen
_________________
Aktuelle Sys:
Dektop System
--> GF6800LE @ 12p/6v @ 415/900
-- >Think Linux, use Gentoo
Back to top
View user's profile Send private message
christophd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 76

PostPosted: Wed Sep 08, 2004 11:37 am    Post subject: Reply with quote

der X-Server startet automatisch. dh. vermutlich mit xdm.

Was muss ich tun, bzw. welcher Benutzergruppe muss ich mich hinzufügen um genügend Rechte zu bekommen?

edit: Scheint wirklich so zu sein:
Code:
root@buzz chris # /usr/X11R6/bin/glxgears
2206 frames in 5.0 seconds = 441.200 FPS
2353 frames in 5.0 seconds = 470.600 FPS
2354 frames in 5.0 seconds = 470.800 FPS
Datenübergabe unterbrochen (broken pipe)
root@buzz chris # exit
exit
chris@buzz chris $ glxgears
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
1341 frames in 5.0 seconds = 268.200 FPS
1506 frames in 5.0 seconds = 301.200 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
chris@buzz chris $


Last edited by christophd on Wed Sep 08, 2004 11:43 am; edited 1 time in total
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Wed Sep 08, 2004 11:42 am    Post subject: Reply with quote

Fuege deiner xorg.conf hinzu:

Code:

Section "DRI"
    Mode 0666
EndSection


Ansonsten mal in die Gruppe Video aufnehmen, bzw. in die Gruppe mit der das Device versehen ist.

MfG
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
christophd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 76

PostPosted: Wed Sep 08, 2004 11:51 am    Post subject: Reply with quote

Danke für eure Hilfe! Funktioniert!

470 glxgears ist zwar nicht viel. aber eine Verbesserung um 40%!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
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