Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AIGLX does not work
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
11010010110
n00b
n00b


Joined: 27 Sep 2005
Posts: 43

PostPosted: Fri Jul 20, 2007 2:19 pm    Post subject: AIGLX does not work Reply with quote

I now try to install compiz.

I installed AIGLX acc. to this manual : http://gentoo-wiki.com/HOWTO_Direct_rendering_on_Intel_Extreme_Graphics_(855GM)_chipsets . I came to the end of the manual and when I test if glx works it does not.

glxgears is on 2 - 4 fps
output of glxinfo
Quote:
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect


reboot does not help.

I enabled this in the kernel :
Code:
Processor type and features
  [*] MTRR (Memory Type Range Register) support
Device Drivers
  Graphics Support -->
     [*] Support Frame Buffer Devices
     <*> Intel 830M ... (Experimental)
  Character devices  --->
   --- /dev/agpgart (AGP Support)
   ---   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
  <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
      <*> Intel 830M ... -->
             i915


the relevant parts of my xorg :
Code:

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

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 57.0
    VertRefresh 50-70
EndSection

Section "Device"
    Identifier  "GM0"
    Driver      "i810"
    VideoRam    32768
    Option      "NoAccel"       "false"
    Option      "DRI"           "true"
    Option      "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "GM0"
    Monitor     "My Monitor"
    DefaultDepth 16

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

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

Section "DRI"
    Group 0
    Mode 0666
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection



Xorg 7.2
Kernel 2.6.20-gentoo-r8
Intel 945GM Chipset
IBM Thinkpad T60
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Fri Jul 20, 2007 3:16 pm    Post subject: Reply with quote

Make DefaultDepth 24
Do you have USE flags opengl and aiglx in make.conf ?
Do you have your video card specified in VIDEO_CARDS="" in make.conf?
If not add them and emerge -uDN world
also check opengl with eselect opengl list and opengl set #

check through http://gentoo-wiki.com/HOWTO_AIGLX
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
11010010110
n00b
n00b


Joined: 27 Sep 2005
Posts: 43

PostPosted: Fri Jul 20, 2007 3:45 pm    Post subject: Reply with quote

Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mtune=prescott -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
LDFLAGS="-O1"

# my cpu : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

USE="acpi aiglx aim alsa apm arts bash-completion -berkdb bidi bluetooth bzip bzip2 cdr cups dga divx4linux doc dri dvd dvdread encode ffmpeg flac ftp -gdbm gif glibc-omitfp -gnome -gnustep -gpm -gtk -gtk2 icq ipv6 jack -java jpeg jpeg2k kde kdeenablefinal lirc mad matroska mmx mp3 mpeg mplayer msn nptl nsplugin ogg openal opengl pcmcia pdflib png qt4 quicktime sse sse2 svg theora unicode usb userlocales vorbis wifi win32codecs wireless -wxwindows xine xinerama xscreensaver xvid yahoo zlib"

INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa synaptics -tek4957 -ur98 -vmmouse -void -wacom"

VIDEO_CARDS="-apm -ark -chips -cirrus -cyrix -dummy fbdev -glint -i128 -i740 i810 -imstt -mach64 -mga -neomagic -nsc -nv -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l vesa vga -via -vmware -voodoo -epson -fglrx -nvidia"

SYNC="rsync://mirror.hamakor.org.il/gentoo-portage rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://distfiles.gentoo.org"




what exactly should I do with opengl ?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Fri Jul 20, 2007 4:30 pm    Post subject: Reply with quote

Maybe I'm barking up the wrong tree here, but
in my xorg.conf I have to have the following
line for AIGLX to work. It doesn't seem to be in
your ServerLayout section ...

Code:
    Option      "AIGLX" "true"

_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
11010010110
n00b
n00b


Joined: 27 Sep 2005
Posts: 43

PostPosted: Fri Jul 20, 2007 4:40 pm    Post subject: Reply with quote

I tried it. doesnt work.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Jul 21, 2007 11:01 am    Post subject: Reply with quote

Another little thing: I have the ...pixmaps option in the Screen
section, not the Device section. You might try that ...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
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