Gentoo Forums
Gentoo Forums
Quick Search: in
last update killed dri(gma x3100 issue)[dri issue solved]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
truekaiser
Guru
Guru


Joined: 05 Mar 2004
Posts: 588
Location: Kansas in the Fascist state formally known as the U.S.A.

PostPosted: Sun Dec 09, 2007 1:17 am    Post subject: last update killed dri(gma x3100 issue)[dri issue solved] Reply with quote

Something in the last weekly update seems to have killed dri. On top of that i can't re-emerge many graphics related packages because of this error.
Code:

in file included from /usr/local/include/xf86drm.h:661
from glxdri.c:44:
/usr/local/include/xf86mm.h:133 error: field 'bo_arg' has incomplete type
glxdri.c: in function 'glxDRIEnterVT':
glxdri.c:818: warning: unused variable 'ret'


error that glxinfo gives.
Code:

libGL error: drmMap of framebuffer failed (invalid argument)


device section of the xorg.conf file

Code:

Section "Device"
        Identifier  "GMAX3100"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile Integrated Graphics Controller"
        #Option      "PageFlip" "true"
        #Option      "TripleBuffer" "true"
        Option      "DRI"   "true"
        #Option      "CacheLines" "32786"
        #Option          "XVideo"        "true"
        #Option  "XAANoOffscreenPixmaps" "true"
        #Option  "AccelMethiod" "XAA"
        #Option  "XvMCSurfaces" "6"
        #BusID       "PCI:0:2:0"
        #Option  "AperTexSize" "131702"
EndSection


on this video card.

Code:

00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
   Subsystem: Dell Unknown device 01f3
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Interrupt: pin A routed to IRQ 16
   Region 0: Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
   Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
   Region 4: I/O ports at efe8 [size=8]
   Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
      Address: 00000000  Data: 0000
   Capabilities: [d0] Power Management version 3
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 PME-Enable- DSel=0 DScale=0 PME-
      Bridge: PM- B3+


I have tried reverting to the last stable versions of the software and i ran into the above error. fyi i only had libdrm-2.3.1 installed outside of portage, it was needed to get 3d working in the first place.
_________________
"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
—Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.


Last edited by truekaiser on Mon Dec 10, 2007 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 754
Location: elmwood

PostPosted: Sun Dec 09, 2007 9:25 am    Post subject: Reply with quote

What version of the Intel driver are you using and what version of Mesa do you have installed?
Back to top
View user's profile Send private message
truekaiser
Guru
Guru


Joined: 05 Mar 2004
Posts: 588
Location: Kansas in the Fascist state formally known as the U.S.A.

PostPosted: Sun Dec 09, 2007 10:42 am    Post subject: Reply with quote

Abraxas wrote:
What version of the Intel driver are you using and what version of Mesa do you have installed?


xf86-video-i810-2.2.0 and i can't downgrade because the compile fails due to above compiling error.
mesa is 6.5.2-r1 because i tried recompiling xorg-server but it would not compile with a newer version because the newer one had ntpl locked off and gave me a error saying it won't compile if one has been compiled with ntpl off in mesa.
_________________
"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
—Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 754
Location: elmwood

PostPosted: Sun Dec 09, 2007 12:34 pm    Post subject: Reply with quote

truekaiser wrote:
Abraxas wrote:
What version of the Intel driver are you using and what version of Mesa do you have installed?


xf86-video-i810-2.2.0 and i can't downgrade because the compile fails due to above compiling error.
mesa is 6.5.2-r1 because i tried recompiling xorg-server but it would not compile with a newer version because the newer one had ntpl locked off and gave me a error saying it won't compile if one has been compiled with ntpl off in mesa.


So what version of xorg-server are you currently using?
Back to top
View user's profile Send private message
truekaiser
Guru
Guru


Joined: 05 Mar 2004
Posts: 588
Location: Kansas in the Fascist state formally known as the U.S.A.

PostPosted: Sun Dec 09, 2007 12:40 pm    Post subject: Reply with quote

Abraxas wrote:
truekaiser wrote:
Abraxas wrote:
What version of the Intel driver are you using and what version of Mesa do you have installed?


xf86-video-i810-2.2.0 and i can't downgrade because the compile fails due to above compiling error.
mesa is 6.5.2-r1 because i tried recompiling xorg-server but it would not compile with a newer version because the newer one had ntpl locked off and gave me a error saying it won't compile if one has been compiled with ntpl off in mesa.


So what version of xorg-server are you currently using?


xorg-x11-7.2
xorg-server-1.3.0.0-r2

emerge --info
Code:

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz
Timestamp of tree: Sat, 08 Dec 2007 01:00:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx aim alsa arts berkdb bitmap-fonts cairo cdr cdrw cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo ffmpeg firefox flac font-server fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv isdnlog java joystick jpeg kde kerberos ldap mad midi mikmod mjpeg mmx mp3 mpeg msn mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pdf perl png pnp pppd python qt3 qt3support qt4 quicktime readline real reflection samba sdl session spell spl sse sse2 sse3 ssl ssse3 svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vcd vidix vorbis win32codec win32codecs x264 x86 xine xml xorg xpm xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="vesa i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

_________________
"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
—Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 754
Location: elmwood

PostPosted: Sun Dec 09, 2007 9:28 pm    Post subject: Reply with quote

The intel 2.2.0 driver requires xorg-server 1.4, so that could be one of your problems.
Back to top
View user's profile Send private message
truekaiser
Guru
Guru


Joined: 05 Mar 2004
Posts: 588
Location: Kansas in the Fascist state formally known as the U.S.A.

PostPosted: Sun Dec 09, 2007 9:43 pm    Post subject: Reply with quote

Abraxas wrote:
The intel 2.2.0 driver requires xorg-server 1.4, so that could be one of your problems.


i can't install it to check it out. the compile bug i posted in the first post is getting in the way. the compile chokes on mesa 7.0.2

edit: i fixed the compile error so i will see if it does fix it.
_________________
"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
—Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.
Back to top
View user's profile Send private message
truekaiser
Guru
Guru


Joined: 05 Mar 2004
Posts: 588
Location: Kansas in the Fascist state formally known as the U.S.A.

PostPosted: Mon Dec 10, 2007 6:58 pm    Post subject: Reply with quote

Ok i got 3d working again, but now i lost the use of my touchpad.

here is my xorg.conf

Code:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice      "Touchpad" "AlwaysCore"
    #Option   "AIGLX" "true"
    #Option "StandbyTime" "30"
    #Option "SuspendTime" "60"
EndSection

Section "Files"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera"
    FontPath    "/usr/local/share/fonts"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "CoreKeyboard"
    Option      "XkbRules"  "xorg"
    Option      "XkbModel"  "pc101"
    Option      "XkbLayout" "us"
EndSection

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

Section "InputDevice"
   Identifier "Touchpad"
   Driver "synaptics"
   Option "SendCoreEvents"
   Option "Device"   "/dev/input/mouse0"
   Option "Protocol" "auto-dev"
   Option "SHMConfig" "on"
   Option "LeftEdge" "130"
   Option "RightEdge" "940"
   Option "TopEdge" "130"
   Option "BottomEdge" "640"
   Option "FingerLow" "7"
   Option "FingerHigh" "8"
   Option "MaxTapTime" "180"
   Option "MinTapTime" "110"
   Option "ClickTime" "1"
   Option "EmulateMidButtonTime" "75"
   Option "VertScrollDelta" "20"
   Option "HorizScrollDelta" "20"
   Option "MinSpeed" "0.40"
   Option "MaxSpeed" "0.65"
   Option "AccelFactor" "0.030"
   Option "EdgeMotionMinSpeed" "200"
   Option "EdgeMotionMaxSpeed" "200"
   Option "UpDownScrolling" "1"
   Option "LeftRightScrolling" "0"
   Option "LeftRightRepeat" "0"
   Option "CircularScrolling" "1"
   Option "CircScrollDelta" "0.1"
   Option "CircScrollTrigger" "3"
   Option "VertEdgeScroll" "on"
   Option "HorizEdgeScroll" "0"
EndSection

Section "Monitor"
    #DisplaySize      300   190    # mm
    Identifier   "Monitor0"
    #VertRefresh  43 - 60
    #HorizSync    28 - 80
    VendorName   "SEC"
    ModelName    "4457"
    #Option       "DPMS"
EndSection


Section "Device"
        Identifier  "GMAX3100"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile Integrated Graphics Controller"
        #Option      "PageFlip" "true"
        #Option      "TripleBuffer" "true"
        Option      "DRI"   "true"
        #Option      "CacheLines" "32786"
        #Option          "XVideo"        "true"
        Option  "XAANoOffscreenPixmaps" "false"
        Option  "AccelMethiod" "EXA"
        #Option  "XvMCSurfaces" "6"
        #BusID       "PCI:0:2:0"
        #Option  "AperTexSize" "131702"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "GMAX3100"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        Modes     "1440x900"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        Modes     "1440x900"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes     "1440x900"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes     "1440x900"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes     "1440x900"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes     "1440x900" "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
  # Option "Composite" "true"
EndSection

_________________
"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
—Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.
Back to top
View user's profile Send private message
Stormkings
Guru
Guru


Joined: 27 Sep 2002
Posts: 352
Location: Europe

PostPosted: Wed Dec 12, 2007 11:00 am    Post subject: Reply with quote

Hi
I had not touchpad either when I installed the intel 2.2.0 driver. So I switched back to 2.1.1 where xrandr is not working properly.
This isn't really helpful but I think it shows that you're not the only one with that problem.
dk
Back to top
View user's profile Send private message
truekaiser
Guru
Guru


Joined: 05 Mar 2004
Posts: 588
Location: Kansas in the Fascist state formally known as the U.S.A.

PostPosted: Wed Dec 12, 2007 11:09 am    Post subject: Reply with quote

Stormkings wrote:
Hi
I had not touchpad either when I installed the intel 2.2.0 driver. So I switched back to 2.1.1 where xrandr is not working properly.
This isn't really helpful but I think it shows that you're not the only one with that problem.
dk


thanks. i fixed the touchpad issue it seems that the new version of xorg-server is instance sensitive meaning that which ever pointer device is listed first will be the main one and any others will be ignored or droped.
The only other issue i have right now is that i lost all kinds of transparency even the psudo kind will cause what ever app that trys to use it to crash.
_________________
"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
—Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.
Back to top
View user's profile Send private message
jhoff484
n00b
n00b


Joined: 15 Dec 2007
Posts: 1

PostPosted: Sat Dec 15, 2007 12:18 am    Post subject: truekaiser Reply with quote

Quote:
edit: i fixed the compile error so i will see if it does fix it.


Were you referring to the "error: field 'bo_arg' has incomplete type" compile error? If so, can you elaborate on how you went about fixing it?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT - 5 Hours
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