Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Via unichrome, DRI not working (once again)

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
quetzal2005
n00b
n00b
Posts: 2
Joined: Tue Dec 06, 2005 3:09 pm
Contact:
Contact quetzal2005
Website

Via unichrome, DRI not working (once again)

  • Quote

Post by quetzal2005 » Tue Dec 06, 2005 3:23 pm

Hi everybody,

I have followed thousands of HOWTO, read every single manual and so one, but my X are not getting DRI in anyway.

If I look to me /var/log/Xorg.0.log I see the following:

Code: Select all

(II) VIA(0): direct rendering enabled
Which seems to be ok. But if I do startx and I run glxinfo | grep direct...

Code: Select all

direct rendering: No
My glxgears run just at 70 fps... :(

The only strange message in my /var/log/Xorg.0.log is the following:

Code: Select all

****INVALID MEM ALLOCATION**** b: 0xf0000000 e: 0xf4000000 correcting
Can somebody help me?

More useful info:
X version: 6.8.99.15
Kernel: 2.6.14-gentoo-r2
Top
bocacorazon
n00b
n00b
Posts: 31
Joined: Fri May 07, 2004 12:56 am

I have EXACTLY the same problem

  • Quote

Post by bocacorazon » Sun Jan 15, 2006 7:55 pm

The same path (seen every howto) the same xorg version, and the same results, down to the same error message on /var/log/Xorg.0.log.

The only thing I can add is that I have the K8M800 chipset.
Is direct rendering perhaps one of the things not yet supported for the chipset?

Bummer.
Top
chunderbunny
Veteran
Veteran
User avatar
Posts: 1281
Joined: Mon May 31, 2004 11:28 am
Location: 51°24'27" N, 0°57'15" W

  • Quote

Post by chunderbunny » Sun Jan 15, 2006 8:24 pm

Just to be sure, you are loading the dri module in your xorg.conf, right?
Top
rinnan
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Sat May 24, 2003 10:39 am
Location: Honolulu, Hawai`i

Me too! Me too!

  • Quote

Post by rinnan » Tue Jan 17, 2006 1:30 am

I am having exactly the same problem with exactly the same symptoms, I have an Epia MII12000 which runs on the CLE266 chipset. I am in fact loading "dri" in my xorg.conf.
Top
chrisaw
n00b
n00b
User avatar
Posts: 20
Joined: Sun Feb 06, 2005 9:23 pm
Location: /mnt/gentoo
Contact:
Contact chrisaw
Website

  • Quote

Post by chrisaw » Sat Jan 21, 2006 12:14 pm

*bump*

Anyone found a solution to this problem?
Top
Mark Karnowski
n00b
n00b
Posts: 2
Joined: Thu Feb 03, 2005 5:33 pm

How I solved this..

  • Quote

Post by Mark Karnowski » Mon Jan 23, 2006 1:41 am

I had an entry for dri permissions in xorg.conf, but dri didn't work until I changed the actual permissions on /dev/dri/card0 to 666. Now i get an enabled result of "yes" and glxgears run at 400 fps or better. I could probably make the permissions more restrictive; I'll figure this out and submit another message.

Hope this helps!

Mark
Top
triablo
n00b
n00b
Posts: 16
Joined: Sat Jun 04, 2005 9:13 pm

  • Quote

Post by triablo » Tue Jan 24, 2006 6:34 am

*bump again*

i'm just another one having the exact same problem, on the exact same setup. newest xorg, all drivers loaded, 2.6.15, etc)

the above solution didn't really work for me. so i was kinda wondering if you could explain the "entry for dri permissions in xorg.conf"?

do i need to set that in order for it to work?

- Thanks in advance
-- Bjørn
Top
Mark Karnowski
n00b
n00b
Posts: 2
Joined: Thu Feb 03, 2005 5:33 pm

  • Quote

Post by Mark Karnowski » Tue Jan 24, 2006 7:35 pm

Bjorn,

Reference this link:

http://www.xfree86.org/current/DRI6.html#10

I have a k8m800 board, and am using the via modules in Xorg 7.O and the via related kernel modules in 2.6.14. I am working on a how-to, which I will post when I am finished. In the meantime, here is my xorg.conf (machine specific, but it might help) :

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/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection

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

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

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "KDS"
ModelName "XF-9e"
HorizSync 30-96
VertRefresh 50-160
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 "VBEModes" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoRAM" # <i>
#Option "ActiveDevice" # [<str>]
#Option "LCDDualEdge" # [<bool>]
#Option "BusWidth" # [<str>]
#Option "Center" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "ForcePanel" # [<bool>]
#Option "TVDotCrawl" # [<bool>]
#Option "TVDeflicker" # <i>
#Option "TVType" # [<str>]
#Option "TVOutput" # [<str>]
#Option "DisableVQ" # [<bool>]
#Option "DRIXINERAMA" # [<bool>]
#Option "DisableIRQ" # [<bool>]
#Option "EnableAGPDMA" "True"
#Option "NoAGPFor2D" # [<bool>]
Identifier "Card0"
Driver "via"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1600x1200" "1024x768" "800x600" "640X480"
EndSubSection
EndSection


Regards,
Mark
Top
triablo
n00b
n00b
Posts: 16
Joined: Sat Jun 04, 2005 9:13 pm

  • Quote

Post by triablo » Fri Jan 27, 2006 4:56 pm

Thanks a lot for your reply, Mark.
So i understand you are using modular (7.0) X11?
maybe i should try that. i'll try out your config settings when i get home. cheers, and sorry for the delayed reply :)
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy