Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i915 and xorg - how?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 11, 12, 13  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dmbtech
n00b
n00b


Joined: 06 Jan 2004
Posts: 41

PostPosted: Sat May 21, 2005 5:36 pm    Post subject: Reply with quote

Ok, so i just used vanilla source 2.6.12rc4, and it still isn't working. The install script did everything all right, but when i check glxinfo, it says: direct rendering: No . Also, when i check dmesg, i get this:
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[drm:fill_in_dev] *ERROR* Cannot initialize the agpgart module.
DRM: Fill_in_dev failed.
i915: probe of 0000:00:02.0 failed with error -22

Anyone see that before?
Back to top
View user's profile Send private message
dmbtech
n00b
n00b


Joined: 06 Jan 2004
Posts: 41

PostPosted: Sat May 21, 2005 6:14 pm    Post subject: Reply with quote

Never mind, fixed that problem. Now there is a /dev/dri/card0 and xorg seems to be detecting it, but still no direct rendering says glxinfo. What is wrong?
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Sat May 21, 2005 10:53 pm    Post subject: Reply with quote

VinzC wrote:

I have set the variable to "i810 i915"; one never knows. But I also have USE flag xv set and I don't get the error message that you have. I assume xv works correctly. Note I re-emerged XOrg multiple times. Try to set that flag and recompile XOrg.


OK, I'll try. Maybe you can try whether "xvinfo" in a running X shows whether xv is enabled or not! This would be very helpful.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Sun May 22, 2005 9:52 am    Post subject: Reply with quote

Code:
# xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) Video Overlay"
    number of ports: 1
    port base: 60
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x22
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
    number of attributes: 9
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 64)
      "XV_GAMMA0" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 526344)
      "XV_GAMMA1" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 1052688)
      "XV_GAMMA2" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2105376)
      "XV_GAMMA3" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 4210752)
      "XV_GAMMA4" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 8421504)
      "XV_GAMMA5" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 12632256)
    maximum XvImage size: 1440 x 1080
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)


Note the maximum image size: my screen is 1680x1050 :!:
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Sun May 22, 2005 12:57 pm    Post subject: Reply with quote

Damn, I wrote a long answer just to see that it wasn't grabed ...

To make long things short: My xv problem was caused by commenting the Load "extmod" line in xorg modules section - which includes e.g. the xv extension.

I have a new problem: when I switch from X to console and back X slows down from 900fps to 100fps, but I can't find any errors in the log about DRI, GL or somethings. Things seem OK but X is slow. Can anybody confirm (or better fix ;-)) this?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Sun May 22, 2005 2:30 pm    Post subject: Reply with quote

seppelrockt wrote:
I have a new problem: when I switch from X to console and back X slows down from 900fps to 100fps, but I can't find any errors in the log about DRI, GL or somethings. Things seem OK but X is slow. Can anybody confirm (or better fix ;-)) this?

I thought I dreamt when I saw it :D . Yes, I think I have the same problem. I couldn't figure out what caused that slowdown.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Tue May 24, 2005 7:25 pm    Post subject: Reply with quote

xorg-x11-6.8.99.8 is out! Did anybody test it yet?
Back to top
View user's profile Send private message
thomasa88
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2005
Posts: 143
Location: Sweden

PostPosted: Wed May 25, 2005 5:19 am    Post subject: Reply with quote

seppelrockt: Ill maybe try when I got time to compile ;)

VinzC: now I know why I got such high fps :P (5000 this morning made me suspicious), on one of my desktops I have 4 Eterms which fills the screen, they are also always on top and therefore glxgears was behind them and didnt have to draw anything :oops:
_________________
- thomasa88
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Wed May 25, 2005 6:33 am    Post subject: Reply with quote

thomasa88: And how many fps do you have now under real conditions? I tried to play NWN on my Dell 6000 with 1280x800 but no luck in the moment - it's to slow. But I was quite surprised that it run fluently at all on my hardware in this high (and widescreen) resolution and good quality - but only on WinXP atm. But in some month this should hopefully be fixed. Watching DVDs in no problem at all for me on Linux.

I will test the new xorg today - note there is a new kernel 2.6.12rc5, too (no ebuild atm) but I couldn't find any interessting news in the changelog so I might skip this version. I can not remember that there ever was a RC5 before, at least in the 2.6 line ;-)
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Wed May 25, 2005 6:36 am    Post subject: Reply with quote

thomasa88 wrote:
seppelrockt: Ill maybe try when I got time to compile ;)

VinzC: now I know why I got such high fps :P (5000 this morning made me suspicious), on one of my desktops I have 4 Eterms which fills the screen, they are also always on top and therefore glxgears was behind them and didnt have to draw anything :oops:

Tssss... shame on you.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
bbroeksema
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 78
Location: Groningen, The Netherlands

PostPosted: Wed May 25, 2005 2:40 pm    Post subject: Reply with quote

Read the whole thead twice now but can't get the thing working :?. I've an latitude 110L.

Kernel: vanilla 2.6.12-r4
Part of config:
Code:

CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=m
CONFIG_DRM_I915=m


dmesg shows me:
Code:

Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 915GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000
<snip>
[drm] Initialized drm 1.0.0 20040925
[drm] Initialized i915 1.1.0 20040405 on minor 0: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller


lspci shows me:
Code:

0000:00:02.0 VGA compatible controller: Intel Corp. Mobile Graphics Controller (rev 03)


Xorg.conf:
Code:

Section "Module"
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "dbe"     # Double buffer extension
    Load   "type1"
    Load   "freetype"
    Load   "glx"
    Load   "dri"
EndSection
Section "Files"
    RgbPath   "/usr/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/corefonts/"
    FontPath   "/usr/share/fonts/freefont/"
    FontPath   "/usr/share/fonts/sharefonts/"
    FontPath   "/usr/share/fonts/terminus/"
    FontPath   "/usr/share/fonts/ttf-bitsream-vera/"
    FontPath   "/usr/share/fonts/unifont/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/artwiz/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option   "AutoRepeat"    "500 30"
    Option    "XkbModel"   "inspiron"
    Option    "XkbLayout"   "us"
EndSection
Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option    "Protocol"    "IMPS/2"
    Option    "Device"      "/dev/input/mice"
    Option    "ZAxisMapping"  "4 5"
EndSection
Section "Monitor"
    Identifier  "LCD"
    HorizSync   31.5 - 100
    VertRefresh 30 - 90
    UseModes "TheModes"
EndSection
Section "Modes"
    Identifier "TheModes"
    ModeLine "1280x1024@60" 108.88 1280 1360 1496 1712 1024 1025 1028 1060
    ModeLine "1280x1024@70" 128.94 1280 1368 1504 1728 1024 1025 1028 1066
EndSection
Section "Device"
    Identifier  "i915GM"
    #Driver      "i810"
    Driver   "vesa"
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "i915GM"
    Monitor     "LCD"
    Option    "FlatPanelProperties" "Scaling=Centered"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
   Mode 0666
EndSection


emerge -pv xorg-x11 for use-flags:
Code:

[ebuild   R   ] x11-base/xorg-x11-6.8.99.5  -3dfx -3dnow +bitmap-fonts +cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers -ipv6 -minimal -mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB


If somebody knows something i did forget i realy like to hear it. Vesa is soooo slow :(. i get an average of 125 fps or something like that with glxgears .:cry:
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Wed May 25, 2005 8:35 pm    Post subject: Reply with quote

bbroeksema wrote:
...
Xorg.conf:
Code:

...
Section "Device"
    Identifier  "i915GM"
    #Driver      "i810"
    Driver   "vesa"
EndSection
...


What about using xorg's i810? Have you also tried without modelines? My i6k works correctly without modelines. It's VESA still but there is no need for modelines at all. XOrg's using the full resolution. You might have to gather lo-hi vertical and horizontal rates with gtf.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Wed May 25, 2005 11:09 pm    Post subject: Reply with quote

VinzC wrote:
thomasa88 wrote:
I installed xorg 6.8.99.5, latest dri snapshot install (but I commented out so it didnt replace the xorg-drivers), gentoo-sources-kernel (without drm)

So these were the snapshots you were experiencing problems with Xorg, if I understood? Maybe taking previous versions of DRI snapshots would solve this all. Someone (hoschi I think) has succeeded in getting less recent snapshots to work. But I don't know if he got that much FPS...

We would need the exact version of your kernel and snapshost. Also did you use the Common parts of DRI snapshots? Especially the ones that do not produce the expected results ;) ...


I got 1100~1200 fps with Kernel-DRM under 24Bit
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Wed May 25, 2005 11:15 pm    Post subject: Reply with quote

VinzC wrote:
seppelrockt wrote:
VinzC wrote:

Have you set VIDEO_CARDS="i810" variable in your make.conf?


No, I haven't ... When I set this and remerge xorg-x11, will the apropriate xv driver be build? I couldn't find any hint in the docs about it.

Edit: Remember, I use the DRI from the kernel, in case you thought I use some extern DRi and didn`t specify the graphics card. It would be nice to know whether somebody has xv working and whether special configuration in xorf.conf or maybe make.cong is needed? xv doesn't have to be emerged, right? I mean there is an xv ebuild in portage but this seems to be something different, doesn't it? Sorry for my silly questions, I only used nvidia driver before and never had problems with xv ... have to learn ... ;-)

Thanks for the help so far
seppelrockt

I have set the variable to "i810 i915"; one never knows. But I also have USE flag xv set and I don't get the error message that you have. I assume xv works correctly. Note I re-emerged XOrg multiple times. Try to set that flag and recompile XOrg.


interessting, i forgot this totally

<edti> 2.6.12-rc5 is out :D
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
bbroeksema
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 78
Location: Groningen, The Netherlands

PostPosted: Thu May 26, 2005 8:21 am    Post subject: Reply with quote

VinzC wrote:
bbroeksema wrote:
...
Xorg.conf:
Code:

...
Section "Device"
    Identifier  "i915GM"
    #Driver      "i810"
    Driver   "vesa"
EndSection
...


What about using xorg's i810? Have you also tried without modelines? My i6k works correctly without modelines. It's VESA still but there is no need for modelines at all. XOrg's using the full resolution. You might have to gather lo-hi vertical and horizontal rates with gtf.


Could you be more specific? I didn't try without the modelines, so i could try that. But do i have to specify any mode at all or can i do without? I tried the i810 but xorg keeps telling me: device not found at pci 0:2:1.

/edit: Without modelines isn't working also. The b*tch is driving me crazy. I've an card0 in /dev/drm so it is recognized. Only xorg won't load the i810 driver. :(
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Thu May 26, 2005 11:55 am    Post subject: Reply with quote

bbroeksema wrote:
Could you be more specific? I didn't try without the modelines, so i could try that. But do i have to specify any mode at all or can i do without? I tried the i810 but xorg keeps telling me: device not found at pci 0:2:1.
...

Here's my xorg.conf in what relates to the screen definitions:
Code:
...
Section "ServerFlags"
    Option      "AllowMouseOpenFail" "true"
    Option      "SuspendTime"        "10"
    Option      "OffTime"            "15"
EndSection

Section "Monitor"
    Identifier     "WSXGA"
    HorizSync    31.5 - 100
    VertRefresh  30-90
    Option         "DPMS"
EndSection

Section "Device"
    Identifier  "i915GM:B"
    Driver      "i810"
    VendorName  "Intel"
    BoardName   "Intel i915"
    BusID       "PCI:0:2:0"
    Screen      0
EndSection

Section "Screen"
    Identifier  "DellLFP"
    Device      "i915GM:B"
    Monitor     "WSXGA"
    DefaultDepth 24
    Option      "MonitorLayout" "CRT,LFP"
    Subsection "Display"
        Depth       8
        Modes       "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen 0 "DellLFP" 0 0
    ...
EndSection

Section "DRI"
    Mode 0666
EndSection

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
bbroeksema
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 78
Location: Groningen, The Netherlands

PostPosted: Thu May 26, 2005 12:51 pm    Post subject: Reply with quote

Still no luck for me. X keeps wandering about device not found at pci 0:2:1 even when i specify bus id 0:2:0.

This is my xorg.conf now:

Code:

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

Section "Files"
    RgbPath   "/usr/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/corefonts/"
    FontPath   "/usr/share/fonts/freefont/"
    FontPath   "/usr/share/fonts/sharefonts/"
    FontPath   "/usr/share/fonts/terminus/"
    FontPath   "/usr/share/fonts/ttf-bitsream-vera/"
    FontPath   "/usr/share/fonts/unifont/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/artwiz/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option   "AutoRepeat"    "500 30"

    Option    "XkbModel"   "inspiron"
    Option    "XkbLayout"   "us"
EndSection

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

Section "Monitor"
    Identifier  "LCD"
    HorizSync   31.5 - 100
    VertRefresh 30 - 90
EndSection

Section "Device"
    Identifier  "i915GM"
    VendorName  "Intel"
    BoardName   "Intel i915"
    BusID   "PCI:0:2:0"
    Driver      "i810"
    Screen   0
    #Driver   "vesa"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "i915GM"
    Monitor     "LCD"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection

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

Section "DRI"
   Mode 0666
EndSection


Only i use vesa in stead of i810 because of the error. I also get some strange errors in dmesg:

Code:
mtrr: no more MTRRs available
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Thu May 26, 2005 5:35 pm    Post subject: Reply with quote

seppelrockt wrote:
VinzC wrote:

I have set the variable to "i810 i915"; one never knows. But I also have USE flag xv set and I don't get the error message that you have. I assume xv works correctly. Note I re-emerged XOrg multiple times. Try to set that flag and recompile XOrg.


OK, I'll try. Maybe you can try whether "xvinfo" in a running X shows whether xv is enabled or not! This would be very helpful.


Here is my output, my Video-Playback via xvimagesink still looks ugly (wrong or two less color, mplayer said that in his output), any idea where the problem is.

Quote:

xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "Intel(R) Video Overlay"
number of ports: 1
port base: 73
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
number of attributes: 9
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 64)
"XV_GAMMA0" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 526344)
"XV_GAMMA1" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 1052688)
"XV_GAMMA2" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 2105376)
"XV_GAMMA3" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 4210752)
"XV_GAMMA4" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 8421504)
"XV_GAMMA5" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 12632256)
maximum XvImage size: 1440 x 1080
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)


Xorg:
Quote:
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"

Load "glx"
Load "dri"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/freefont/"


# ModulePath "/usr/X11R6/lib/modules"

EndSection


# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "IBM AT Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "de"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
Identifier "IBM Trackpoint"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Dev Name" "PS/2 Generic Mouse"
Option "Device" "/dev/input/mouse1"
Option "Resolution" "800"
EndSection

Section "InputDevice"
Identifier "Logitech MX310"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Dev Name" "Logitech USB-PS/2 Optical Mouse"
Option "Device" "/dev/input/mouse2"
Option "Resolution" "800"
Option "Buttons" "8"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "IBM TFT"
HorizSync 31.5 - 48.5
VertRefresh 50-70
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
Identifier "Intel915GM"
Driver "i810"
VideoRam 131072
# BusID "PCI:0:2:0"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
Identifier "IBM ThinkPad"
Device "Intel915GM"
Monitor "IBM TFT"
DefaultDepth 24

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

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
Identifier "Simple Layout"
Screen "IBM ThinkPad"

InputDevice "IBM Trackpoint" "CorePointer"
InputDevice "IBM AT Keyboard" "CoreKeyboard"
InputDevice "Logitech MX310" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection


make.conf:
Quote:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="fbcon ggi mmx sse sse2 nptl nptlonly pcmcia trusted pnp wifi usb hal sysfs sysvipc pic acpi dvd cdr gtk gtk2 gnome samba opengl openal alsa esd png jpeg tiff gif mpeg mpeg4 ffmpeg xvid xv gstreamer ogg vorbis mp3 bmp truetype cups icq nodrm -java -kde -qt -arts -crypt"
VIDEO_CARDS="i810 i915"

LANG="de_DE@euro"
LANGUAGE="49"
LINGUAS="de"

MAKEOPTS="-j2"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"


:(
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
seppelrockt
Guru
Guru


Joined: 14 May 2004
Posts: 423

PostPosted: Thu May 26, 2005 10:20 pm    Post subject: Reply with quote

You are using DRI snapshots, right? Well, I don't and video works without a glitch.

And for the PCI 0:2:1 error mentioned below by someone - I have this message, too but it doesn't harm. I think this is for the VGA out of the Notebook, but I never realy understood all those pipe messages in xorg.log
Back to top
View user's profile Send private message
bbroeksema
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 78
Location: Groningen, The Netherlands

PostPosted: Fri May 27, 2005 7:53 am    Post subject: Reply with quote

seppelrockt wrote:
You are using DRI snapshots, right? Well, I don't and video works without a glitch.

And for the PCI 0:2:1 error mentioned below by someone - I have this message, too but it doesn't harm. I think this is for the VGA out of the Notebook, but I never realy understood all those pipe messages in xorg.log


It wouldn't harm if i would see something. But when i start xorg with the i810 driver it looks like my monitor is powered of or something until i kill the xorg server.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Fri May 27, 2005 10:04 am    Post subject: Reply with quote

seppelrockt wrote:
And for the PCI 0:2:1 error mentioned below by someone - I have this message, too but it doesn't harm. I think this is for the VGA out of the Notebook, but I never realy understood all those pipe messages in xorg.log

There are two things out there.

First i915 has dual hadware "entry". The video card seems to be seen twice the same adapter. In fact this is by design. Intel says the adapter is split into two parts for acceleration in case applications can take profit of them. Using both hardware interfaces is said by Intel to speed up transfers.

Next there are pipes. Pipes are video heads or terminals. They have nothing to do with the bus IDs that XOrg sees. On a Dell inspiron, I think there are three pipes. One is for the flat panel (LFP), one for the video out (CRT) and one for S-Video out.

Xorg man pages say there should be a device section for each pipe on the system. I tried to create a device for the second PCI bus ID but it was useless and the warning message was still there. IMHO it is up to XOrg (or to the kernel) to manage both interfaces for the video card in a way that's transparent to the user. This can significantly increase frame rates I think. Looking at the warning message we all get makes me think neither XOrg or kernel modules fully support both interfaces at the same time; I think they only use one. But it's only a guess and I have no clue.

Hope this helped you a little, seppelrockt ;).
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
thomasa88
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2005
Posts: 143
Location: Sweden

PostPosted: Sat May 28, 2005 12:28 pm    Post subject: Reply with quote

Hmm, I tried with xorg 6.8.99.8 but then the driver wouldnt work anymore and after upgrading my bios to A06 (inspiron 6000) 6.8.99.5 doesnt work either :(
_________________
- thomasa88
Back to top
View user's profile Send private message
ecthalion
n00b
n00b


Joined: 22 Apr 2005
Posts: 16

PostPosted: Sat May 28, 2005 7:16 pm    Post subject: Reply with quote

Try using i915 driver, it's in kernell tree, i am using 2.6.11 official kernel, i ' ve compiled it as a module, and everything is fine. So i think gentoo kernel won't be diferent.
Bye
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5048
Location: Dark side of the mood

PostPosted: Sat May 28, 2005 7:54 pm    Post subject: Reply with quote

ecthalion wrote:
Try using i915 driver, it's in kernell tree, i am using 2.6.11 official kernel, i ' ve compiled it as a module, and everything is fine. So i think gentoo kernel won't be diferent.
Bye

If you read the thread one or two pages ago you will see thomas88 already knew that :) .
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun May 29, 2005 8:51 am    Post subject: Reply with quote

VinzC wrote:
seppelrockt wrote:
And for the PCI 0:2:1 error mentioned below by someone - I have this message, too but it doesn't harm. I think this is for the VGA out of the Notebook, but I never realy understood all those pipe messages in xorg.log

There are two things out there.

First i915 has dual hadware "entry". The video card seems to be seen twice the same adapter. In fact this is by design. Intel says the adapter is split into two parts for acceleration in case applications can take profit of them. Using both hardware interfaces is said by Intel to speed up transfers.

Next there are pipes. Pipes are video heads or terminals. They have nothing to do with the bus IDs that XOrg sees. On a Dell inspiron, I think there are three pipes. One is for the flat panel (LFP), one for the video out (CRT) and one for S-Video out.

Xorg man pages say there should be a device section for each pipe on the system. I tried to create a device for the second PCI bus ID but it was useless and the warning message was still there. IMHO it is up to XOrg (or to the kernel) to manage both interfaces for the video card in a way that's transparent to the user. This can significantly increase frame rates I think. Looking at the warning message we all get makes me think neither XOrg or kernel modules fully support both interfaces at the same time; I think they only use one. But it's only a guess and I have no clue.

Hope this helped you a little, seppelrockt ;).


very very interesting!
_________________
Just you and me strogg!
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
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 11, 12, 13  Next
Page 7 of 13

 
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