You are not logged in.

#1 2007-11-12 04:04:13

geek.arnuld
Member
From: INDIA
Registered: 2007-05-03
Posts: 135
Website

glxinfo/glxgears freeze the system like hell

I am running the latest updated Archlinux 64 bit box:

[arnuld@gnu ~]$ pacman -Q mesa
mesa 7.0.1-1
[arnuld@gnu ~]$ pacman -Q xorg-server
xorg-server 1.4-5

I am using openchrome and X runs fine. NO freezes in normals runs but as soon as I type glxinfo or glxgears it freezes the system sad an I can not do anything. keyboard, mouse all stop responding as if my system is dead, the only solution is Manual Reset button on my cabinet.

 
[arnuld@gnu ~]$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01)


------------------------------------------------------------------------------------------------


[arnuld@gnu ~]$ cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

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

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync    30 - 70
    VertRefresh  50 - 160
    Option         "DPMS"
    DisplaySize  269 201  # 96 DPI @ 1024x768
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "PrintVGARegs"           # [<bool>]
        #Option     "PrintTVRegs"            # [<bool>]
        #Option     "I2CScan"                # [<bool>]
        #Option     "VBEModes"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "ExaNoComposite"         # [<bool>]
        #Option     "ExaScratchSize"         # <i>
        #Option     "HWCursor"               # [<bool>]
        #Option     "SWCursor"               # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoRAM"               # <i>
        #Option     "ActiveDevice"           # [<str>]
        #Option     "BusWidth"               # [<str>]
        #Option     "Center"                 # [<bool>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForcePanel"             # [<bool>]
        #Option     "TVDotCrawl"             # [<bool>]
        #Option     "TVDeflicker"            # <i>
        #Option     "TVProgressive"          # [<bool>]
        #Option     "TVType"                 # [<str>]
        #Option     "TVOutput"               # [<str>]
        #Option     "DisableVQ"              # [<bool>]
        #Option     "DisableIRQ"             # [<bool>]
        #Option     "EnableAGPDMA"           # [<bool>]
        #Option     "NoAGPFor2D"             # [<bool>]
        #Option     "NoXVDMA"                # [<bool>]
        #Option     "VbeSaveRestore"         # [<bool>]
        #Option     "DisableXvBWCheck"       # [<bool>]
        #Option     "MaxDRIMem"              # <i>
        #Option     "AGPMem"                 # <i>
    Identifier  "Card0"
    Driver      "via"
    VendorName  "Unknown Vendor"
    BoardName   "Unknown Board"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        Modes      "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        Modes      "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes      "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes      "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes      "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes      "1024x768" "800x600"
    EndSubSection
EndSection


Section    "DRI"
    Mode  0666
EndSection

[arnuld@gnu ~]$

I found one other thread with the same problem as mine but nobody replied to his 2nd question:

http://bbs.archlinux.org/viewtopic.php?id=39667

BTW, just out of curiosity , I only watch Bruce Lee's movies and do internet. I do not play games etc. So, is there any use of DRI for me ?

Offline

#2 2007-11-12 08:47:47

Aakko
Member
Registered: 2007-10-23
Posts: 65

Re: glxinfo/glxgears freeze the system like hell

Welcome to the world of Unichrome. Via's integrated graphics chips open gl support in Linux is very poor. I have KM400 and I got GL working with it somehow. When libgl was updated to version 7.0.1 in extra-repo installing it broke the opengl on my system. X simply locked up when ever I tried to start any opengl software. I found from the openchrome.org:

"The 3D driver that complements the openchrome driver can be obtained from the DRI project. For now you should use the Mesa-6.4 branch; the last version known to work sort of reliably is Mesa-6.4.1."

I built libgl, unichrome-dri and mesa -packages with ABS from Mesa-6.4.1-branch and installed latest openchrome -driver from svn. Now opengl with my unichrome chip works pretty "stable". Of course it can't run the latest opengl -stuff but atleast I can run Blender with my laptop.

Offline

Board footer

Powered by FluxBB