Find the answer to your Linux question:
Results 1 to 3 of 3
Well, my old machine got fried by lightning, and now I have a new one, with Unichrome onboard graphics instead of Prosavage trash... But I'm still having trouble with DRI. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    72

    Unichrome DRI


    Well, my old machine got fried by lightning, and now I have a new one, with Unichrome onboard graphics instead of Prosavage trash... But I'm still having trouble with DRI.

    You see, I went to dri.freedesktop.org/snapshots and downloaded the latest "common" and "via" snapshots, decompressed them to /root/dripkg, and ran the install script (from the command line, with X turned off, of course). When I tried starting X again following the installation, though, my monitor immediately went into what appeared to be power-save mode. Turning off DPMS support, both in xorg.conf and the BIOS, did not solve the problem, and I was forced to reinstall X and the kernel.

    Could someone please tell me what's going on? Is there something I must enable or disable in order for DRI to do anything?

  2. #2
    Just Joined!
    Join Date
    Jul 2005
    Posts
    72
    BTW, here's my xorg.conf:

    Code:
    # Auto-generated by Archie mkxcfg
    # Auto-generated by Archie mkxcfg
    
    Section "ServerLayout"
    
    # Serial Mouse not detected
    # USB Mouse not detected
       Identifier     "XFree86 Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Keyboard0" "CoreKeyboard"
       InputDevice    "PS/2 Mouse" "CorePointer"
    EndSection
    
    Section "Files"
    
    # Additional fonts: Locale, Gimp, TTF...
    #   FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
    #   FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
       RgbPath      "/usr/X11R6/lib/X11/rgb"
       ModulePath   "/usr/X11R6/lib/modules"
       FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
       FontPath     "/usr/X11R6/lib/X11/fonts/misc"
       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
       FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
       FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
       FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
       FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
       FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
       FontPath     "/usr/share/fonts/ttf/western"
       FontPath     "/usr/share/fonts/ttf/decoratives"
       FontPath     "/usr/share/fonts/truetype"
       FontPath     "/usr/share/fonts/truetype/openoffice"
       FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
       FontPath     "/usr/share/fonts/latex-ttf-fonts"
       FontPath     "/usr/X11R6/lib/X11/fonts/defoma/CID"
       FontPath     "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
       FontPath     "/usr/X11R6/lib/X11/fonts/artwiz-fonts"
    EndSection
    
    Section "Module"
       Load  "GLcore"
       Load  "dbe"
       Load  "dri"
       Load  "extmod"
       Load  "glx"
       Load  "bitmap" # bitmap-fonts
       Load  "type1"
       Load  "freetype"
       Load  "record"
    EndSection
    
    Section "ServerFlags"
       Option       "AllowMouseOpenFail" "true"
    EndSection
    
    Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "keyboard"
       Option       "CoreKeyboard"
       Option       "XkbRules" "xfree86"
       Option       "XkbModel" "pc101"
       Option       "XkbLayout" "us"
       Option       "XkbVariant" "nodeadkeys"
    EndSection
    
    Section "InputDevice"
       Identifier  "PS/2 Mouse"
       Driver      "mouse"
       Option       "Protocol" "auto"
       Option       "ZAxisMapping" "4 5"
       Option       "Device" "/dev/psaux"
       Option       "Emulate3Buttons" "true"
       Option       "Emulate3Timeout" "70"
       Option       "SendCoreEvents" "true"
    EndSection
    
    Section "Monitor"
     # Warning: This may fry old Monitors
     # Very conservative. May flicker.
    #   VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
       #  Default modes distilled from
       #      "VESA and Industry Standards and Guide for Computer Display Monitor
       #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
       #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
       # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
       Identifier   "Monitor0"
     ### Uncomment if you don't want to default to DDC:
       HorizSync    31.5 - 82.0
       VertRefresh  50.0 - 100.0
       Modeline "1280x1024"  138.54  1280 1368 1504 1728  1024 1025 1028 1069 -HSync +Vsync
       Option       "DPMS" "true"
    #   HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    EndSection
    
    Section "Device"
       Identifier  "Card0"
       Driver      "via"
       Option      "DisableIRQ"
       Option      "EnableAGPDMA"
    EndSection
    
    Section "Screen"
       Identifier "Screen0"
       Device     "Card0"
       Monitor    "Monitor0"
       DefaultDepth  24   
       SubSection "Display"
          Depth     16
          Modes    "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
          Depth     24
          Modes    "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
    EndSection
    
    Section "DRI"
       Mode         0666
    EndSection

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Posts
    72
    Okay, the problem turned out to be simple enough: the X driver from the DRI snapshots was different from the one from unichrome.sf.net. So I've downloaded and compiled XOrg 6.8.2 as per the unichrome.sf.net instructions, and have the Unichrome stuff on my HD...

    But, I've just found out that VIA has proprietary drivers available for download (in RPM format) in the drivers section of viaarena.com! Anyone know how good these drivers are?

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •