Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X vrs UniChrome Pro IGP in the Via VB7001 mini-itx mainboard
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sfullenwider
n00b
n00b


Joined: 26 Apr 2006
Posts: 9

PostPosted: Fri Jan 18, 2008 10:33 pm    Post subject: X vrs UniChrome Pro IGP in the Via VB7001 mini-itx mainboard Reply with quote

I just got a VB7001 that I intend to use for a media pc. I'm attempting (not successfully) to get X running on it.
I'm trying to use the tv-out rather than the VGA port.


I keep getting:

Code:
(WW) via: No matching Device section for instance (BusID PCI:1:0:0) found
(EE) No devices detected.

Fatal server error:
no screens found


whenever I try to start X up.

lspci output:

Code:
00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
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.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:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)


Current xorg.conf:
Code:

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/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
        Load  "glx"
        Load  "dbe"
        Load  "extmod"
        Load  "record"
        Load  "dri"
        Load  "xtrap"
        Load  "GLcore"
        Load  "type1"
        Load  "freetype"
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"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "via"
        BusID       "01:00.0"

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" "640x680"
        EndSubSection
EndSection


via driver:
Code:
[I] x11-drivers/xf86-video-via
     Available versions:  0.2.1-r1 0.2.2 {debug dri}
     Installed versions:  0.2.2(22:48:19 01/18/08)(dri -debug)
     Homepage:            http://xorg.freedesktop.org/
     Description:         VIA unichrome graphics driver


I don't really know how to proceed further. It seems like since all of this is integrated in the MB, somebody ought to have a working xorg.conf somewhere.
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Mon Jan 21, 2008 8:52 pm    Post subject: Reply with quote

Hi
I have a VIA Epia with a working UniChrome Pro graphics card. I compared my xorg.conf with yours and there is a tiny difference where you show...
Quote:
BusID "01:00.0"

I wrote mine as...
Quote:
BusID "PCI:1:0:0"

Hope this helps. My full xorg.conf is:
Quote:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
# InputDevice "touchscreen0" "SendCoreEvents"
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/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "ch"
Option "XkbVariant" "de"
EndSection

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

Section "InputDevice"
Identifier "touchscreen0"
Driver "evtouch"
Option "Device" "/dev/input/eventTCHEVENT2REPLACE"
Option "DeviceName" "touchscreen"

# Coordinates for the eGalax touchscreen for 640x480
# Option "MinX" "72"
# Option "MinY" "65"
# Option "MaxX" "1965"
# Option "MaxY" "1901"

# Coordinates for the touchkit touchscreen for 800x600
Option "MinX" "30"
Option "MinY" "108"
Option "MaxX" "1890"
Option "MaxY" "1870"
Option "ReportingMode" "Raw"
Option "SendCoreEvents" "On"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28.0 - 65.0
VertRefresh 43.0 - 72.0
Option "nodpms"
Option "noddc"
ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
ModeLine "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
Identifier "Card0"
Driver "via"
Option "VideoRAM" "131072"
Option "XvmcUsesTextures" "false"
Option "PanelSize" "1280x768"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "passwordFile" "/root/.vnc/passwd"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x768"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Back to top
View user's profile Send private message
sfullenwider
n00b
n00b


Joined: 26 Apr 2006
Posts: 9

PostPosted: Thu Jan 24, 2008 1:18 am    Post subject: Reply with quote

To clarify, are you using x11-drivers/xf86-video-via? Do you have xv working as well?
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Fri Jan 25, 2008 8:20 pm    Post subject: Reply with quote

Mmmhh, I was using xf86-video-via until last week. I entered in the "/etc/make.conf" file, in the "USE=" section, the flags "xv" and "xvmc". Here is my full "USE=" line:
Code:

USE="X alsa apache2 -3dnow a52 aac aalib acpi bluetooth bzip2 cdparanoia cdr ch it tv_check tv_pick_cgi de_tvtoday dts dvd dvdr dvdread encode esd ffmpeg flac ftp gif gps gstreamer java javascript jpeg -ldap lirc mad -matrox mime mjpeg mmx mmxext mp3 mp4 mpeg musicbrainz mysql ogg opengl pcmcia png pdf qt quicktime real sdl server sse svga tiff -unicode usb USB v4l v4l2 visualization -voodoo3 vorbis wifi win32codecs wmf gtk2 yv12 x264 xine xmms xv xvid xvmc"


That way I had a "kind-of-hardware-accellerated" mpeg-playback, but the video got currupted with resolutions higher than ~800x600.
This week I've been fiddling around with replacing the "via" driver with the "openchrome" version and the CPU-usage with mpeg2-playback dropped from 80 to 3% (mpeg4 stayed at ~40% with low-res, e.g. 640x250) and the corruption with resolutions higher than 800x600 has almost disappeared.
I am writing a tiny how-to here http://www.blah-blah.ch/Mra/Viacn400xvmc but I still have problems with >800x600 meaning that with mplayer I sometimes have to switch between video-aspects with "-monitoraspect 16:10" and "-monitoraspect 16:9" to avoid video corruption, but it is still a lot lot lot better than before.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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