LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-29-2007, 09:47 PM   #31
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128

Original Poster
Blog Entries: 1

Rep: Reputation: 15

This whole thing is completely different ....
I mean how am i supposed to compare :P

Code:
# File generated by XFdrake (rev 230776)

Section "Extensions"
    Option "Composite"
EndSection
# File generated by XFdrake (rev 230776)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    #DontZap # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier "Mouse2"
    Driver "evdev"
    Option "bustype" "0x0003"
    Option "relBits" "+0+1+2"
    Option "product" "0x0107"
    Option "vendor" "0x062a"
    Option "HWheelRelativeAxisButtons" "7 6"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "COMPAQ FS7600"
    HorizSync 30-70
    VertRefresh 50-160
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    BoardName "ATI Radeon X1300 - X1950"
    Driver "fglrx"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    Screen "screen1"
EndSection
 
Old 12-30-2007, 04:59 AM   #32
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
The document is separated by section names, like "Section device" and "subSection device".

As far as I know the order of the contents of the file or of the lines within each section is of no consequence. Sometimes lines from Section Monitor are found in Section display and Section screen and vis-a-vis.

This is as good as it got as far as documentation for the install.
http://www.rage3d.com/articles/atilinuxhowto/

And the xorg site with the example files (compressed) mentioned above.

As far as I figure, if fglrx is rendering, you should be able to set up compiz, go to the "configure your computer" select hardware, Configure 3d desktop effects. And follow the instructions. Look out for aiglx, xgl and such and test them to find what works best.
 
Old 12-30-2007, 11:05 AM   #33
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by GlennsPref View Post
As far as I figure, if fglrx is rendering, you should be able to set up compiz, go to the "configure your computer" select hardware, Configure 3d desktop effects. And follow the instructions. Look out for aiglx, xgl and such and test them to find what works best.

When i try to set Compiz for 3D desktop and go to advanced option XGL is selected but it is still slow

Would it be because of AGP ?

And the link with the howto says to use fglrx but i think it changed to aticonfig but it still doesn't work ;(

aticonfig --initial --input=/etc/X11/xorg.conf this usually says nothing to do or if it does something everything goes black...

Last edited by iro_number1; 12-30-2007 at 11:09 AM.
 
Old 12-30-2007, 04:31 PM   #34
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
Check your agp, and 3d rendering with....

glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions: (etc.)

If it says "direct rendering: yes" agp is working. post the output here so I can see.(please)

Make sure it does not say messa (or mesa?) for glx vendor.

If it is still slow, your system may not be using the fglrx driver.

Check again for errors from when x starts. cat /var/log/Xorg.0.log | grep EE With this we look for any mention of EE in the file, for the last boot.

Did you mean compiz is working, like flipping srceens and all the effects?

Then if so, it must be the fglrx driver. Do you reboot after changing settings?

I know this is not windows, so we should not have to reboot all the time, but once this is sorted, you'll be back to normal linux.(no reboot mantra)

Please also show the output of the xsession errors, as you did before, I can't see the command now while editing/posting. BTW, the file .xsession-errors in your root directory and home directory is a text file you may check manually. This file is long because it holds many days info log.

Regards, Glenn
 
Old 12-30-2007, 04:57 PM   #35
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by GlennsPref View Post
Check your agp, and 3d rendering with....

glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions: (etc.)

If it says "direct rendering: yes" agp is working. post the output here so I can see.(please)

Make sure it does not say messa (or mesa?) for glx vendor.
Section "Device"
Identifier "device1"
BoardName "ATI Radeon X1300 - X1950"
Driver "fglrx"
Option "DPMS"
EndSection

It still says no direct rendering
 
Old 12-30-2007, 07:12 PM   #36
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
Check the install log for the ati-drivers.

You may find it in /var/log/ ati or fglrx or radeon file.

And look near the bottom for errors. And post them here.

No point worrying about compiz yet.

Glenn
 
Old 12-30-2007, 07:49 PM   #37
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
I found an equivelant ati xorg page here....

https://a248.e.akamai.net/f/674/9206...t712-inst.html

You can check your dependencies from their lists amongst this page.
 
Old 12-31-2007, 03:48 PM   #38
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128

Original Poster
Blog Entries: 1

Rep: Reputation: 15
I have everything except for:

# XFree86-Mesa-libGL
# libstdc++
# XFree86-libs

And i can't download those....
 
Old 12-31-2007, 05:42 PM   #39
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
What told you those packages are missing?

You may not need xfree as you have xorg. They are similar X session managers (i think)

But you can probably find it at rpmbone.

Here ya go....

http://rpm.pbone.net/index.php3

See if you can get a version match.

During the ati install, (from this link..https://a248.e.akamai.net/...)

click xorg. As mandriva ports with xorg and not xfree. (XF86free)

Last edited by GlennsPref; 12-31-2007 at 05:50 PM.
 
Old 01-01-2008, 12:42 AM   #40
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128

Original Poster
Blog Entries: 1

Rep: Reputation: 15
I uninstalled the driver and installed it again and during the boot up my screen turned black but didn't turn off (or went stand by) so i booted up safe mode ant typed in aticonfig --initial as it said during the install and typed in KDE and it said:

Code:
irek@localhost ~]$ kde
Authentication failed - cannot start X server.
Perhaps you do not have console ownership?xinit: Server error.
So i went su and started KDE with no problems...
So what the hell is that?

p.s. thx for helping me so far
 
Old 01-01-2008, 01:47 AM   #41
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
What version of the ati catalyst installer do you have?

I thought of this after reading this post, buggy, 7.11 and 7.12 but released every couple of weeks....

http://www.linuxquestions.org/questi...s-card-610101/

I wondered if you may be having a similar problem.
 
Old 01-01-2008, 02:01 AM   #42
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128

Original Poster
Blog Entries: 1

Rep: Reputation: 15
hmm i don't think so... but my whole xorg.conf changed (I think, it looks different not that much i just glanced at it)... so could the problem be there?

Code:
# File generated by XFdrake (rev 230776)

Section "Extensions"
    Option "Composite"
EndSection
# File generated by XFdrake (rev 230776)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    #DontZap # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier "Mouse2"
    Driver "evdev"
    Option "bustype" "0x0003"
    Option "relBits" "+0+1+2"
    Option "product" "0x0107"
    Option "vendor" "0x062a"
    Option "HWheelRelativeAxisButtons" "7 6"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "COMPAQ FS7600"
    HorizSync 30-70
    VertRefresh 50-160
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    BoardName "ATI Radeon X1300 - X1950"
    Driver "fglrx"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    Screen "screen1"
EndSection

Section "DRI"
    Mode    0666
EndSection

Last edited by iro_number1; 01-01-2008 at 02:04 AM.
 
Old 01-01-2008, 06:35 AM   #43
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
what did you find in the ati-install-log
/var/logs/...

regards, Glenn
 
Old 01-01-2008, 10:25 AM   #44
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Well ati log doesn't exist... but fglrx-install log exists in /usr/share/ati

so here it is
Code:
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.22.12-desktop-1mdv/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.22.12-1mdv'

  WARNING: Symbol version dump /usr/src/linux-2.6.22.12-1mdv/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2947: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22.12-1mdv'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- recreating module dependency list
- trying a sample load of the kernel modules
done.
And i'm really tired of this problem.. you know any good distros out there that would make my life simpler?
 
Old 01-01-2008, 05:15 PM   #45
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,392
Blog Entries: 33

Rep: Reputation: 218Reputation: 218Reputation: 218
Hey, I was once like you. I know how it feels, but this stuff works, we just need to find out how.

The ati log looks good, don't worry about the symbols warnings, it's mostly for developers tools.

Edit xorg.conf and # the line

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
# Load "dri" # direct rendering
EndSection

As direct rendering should be taken care of from fglrx, now. (just an educated guess)

And reboot.
Check if 3d rendering is in place with... glxinfo
Check for any screen errors... cat /var/log/Xorg.0.log | grep EE

You may want to check ... lsmod (list kernel modules loaded)

You may also check for IRQ sharing... lspci and lspci -v (verbose)

If the module is not there try... insmod fglrx (insert module)

And post back any info you garner.

There is a simpler way, using dkms, but there are a few packages for the kernel and the driver, and is ment to make it easier for newbs. (no offence)

But didn't we consider this earlier?
regards, Glenn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2008 leram12 Linux - Newbie 3 12-21-2007 04:46 AM
MANDRIVA 2008 & ati driver installer xcrom Mandriva 2 11-02-2007 02:43 PM
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 04:53 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 07:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration