Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorgautoconfig 0.1.1 - Call for testers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 11, 2005 12:06 pm    Post subject: Xorgautoconfig 0.1.1 - Call for testers Reply with quote

New version, fewer typos! Please try Xorgautoconfig-0.1.1. Thanks!
I especially need nVidia testers for this version so if you're using nVidia, please test!

Note: This application is for PPC only.

Xorgautoconfig is a Gentoo adaption of the Xautoconfig tool that we've used in the past to set up displays on Apple computers. I've expanded the original program to support X.org, font directories, Pegasos and more. We need testers to try this out so it can be as robust as possible for use on our upcoming Gentoo LiveCDs. Who knows, your experience could be like morfic's on his mini:

"I tried Xorgautoconfig and it increased my glxgears score by 60%!" - morfic last night on IRC. Of course, your results may vary. :)

Anyway, you can get everything you need to test it here: http://dev.gentoo.org/~josejx/Xorgautoconfig.html

Thanks!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml


Last edited by JoseJX on Sun Jun 26, 2005 4:01 am; edited 5 times in total
Back to top
View user's profile Send private message
richame
n00b
n00b


Joined: 16 Jun 2003
Posts: 9

PostPosted: Sat Jun 11, 2005 6:13 pm    Post subject: how to test Reply with quote

Noob here. My ppc Xorg config is pretty lame, it runs slowly and was a bear to get running in the first place. GLXGEARS 70-100fps & no DRM support showing up in GLXINFO. Also the screen resolution is clearly not optimal. Also supsect font issues. SO, this baby is for me, except I'm a noob..

So - how to I "unpack" and "make".

I've tried extracting the .bz2 file to /usr/portage/distfiles/Xorgautoconfig/ (after mkdir Xorg...). Emerge says no ebuild, so I saved the listed ebuild file to /usr/portage/x11-misc/Xorgautoconfig/. Emerge Xorgautoconfig now says "No package manifest found".

I suspect I'm doing something that is really basic wrong.

Help would be appreciated - I realize I'm not the optimum candidate for a ver 0.1 but I'm desperate to straighten out my display issues.

Thanks,
Matt

G4 cube
Apple Studio Display (17" CRT)
768 MB RAM
120 GB hard drive
ATI Rage 128(16 mb)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 11, 2005 6:35 pm    Post subject: Reply with quote

Well, as long as you have no problem with v0.1.1 software... ;)

Since I've provided an ebuild for this, the best way to test this is to use a portage overlay. To set up a portage overlay:

Code:
1. mkdir /usr/local/portage
2. edit /etc/make.conf and add a line if it doesn't already exist:
PORTDIR_OVERLAY="/usr/local/portage"

You've now got a portage overlay. This gives you a place to add and modify ebuilds in the portage tree without actually touching the tree. This is a good thing because all of your changes usually disappear when you sync.

Now that you've got the overlay set up, you'll need to add Xorgautoconfig.

Code:
1. mkdir /usr/local/portage/x11-misc/Xorgautoconfig
2. cd /usr/local/portage/x11-misc/Xorgautoconfig
3. wget http://dev.gentoo.org/~josejx/Xorgautoconfig-0.1.1.ebuild
4. ebuild Xorgautoconfig-0.1.1.ebuild digest

You should be able to emerge Xorgautoconfig as usual now. Thanks for testing!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml


Last edited by JoseJX on Wed Jun 15, 2005 12:13 am; edited 2 times in total
Back to top
View user's profile Send private message
richame
n00b
n00b


Joined: 16 Jun 2003
Posts: 9

PostPosted: Sat Jun 11, 2005 10:30 pm    Post subject: Tried and no go - yet Reply with quote

Thanks for the directions on getting it to run. Ran perfectly. Output xorg.conf doesn't work. In fact it looks nearly identical to the output of Xautoconfig.

Output from Xorgautoconfig
Code:
# File generated by Xorgautoconfig.
Section "ServerLayout"
   Identifier   "X.Org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice   "Mouse0" "CorePointer"
   InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is 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/lib/X11/rgb"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

       ModulePath    "/usr/lib/modules"

# 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)

# For X Font Server support, uncomment this and comment the other FontPaths
# Note that this is not required for most configurations
#       FontPath   "unix/:-1"
   FontPath   "/usr/share/fonts/local/"
   FontPath   "/usr/share/fonts/encodings/"
   FontPath   "/usr/share/fonts/util/"
   FontPath   "/usr/share/fonts/misc/"
   FontPath   "/usr/share/fonts/75dpi/"
   FontPath   "/usr/share/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/fonts/100dpi/"
   FontPath   "/usr/share/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/fonts/cyrillic/"
   FontPath   "/usr/share/fonts/Type1/"
   FontPath   "/usr/share/fonts/TTF/"
   FontPath   "/usr/share/fonts/ukr/"
   FontPath   "/usr/share/fonts/default/"
   FontPath   "/usr/share/fonts/afms/"
EndSection

Section "Module"
   Load   "extmod"
#   Load   "dri"
   Load   "dbe"
   Load   "record"
   Load   "glx"
   Load   "type1"
   Load   "freetype"
   Load   "fbdevhw"
EndSection

Section "Extensions"
#    Option "Composite"   "Disable"   # Experimental
#    Option "Damage"      "Disable"
#   Options "Xfixes"   "Disable"
EndSection

Section "ServerFlags"
    Option    "blank time"   "10"   # 10 minutes
    Option    "standby time"   "20"
    Option    "suspend time"   "30"
    Option    "off time"   "60"
### Uncomment this Server flag if X should not change resolutions.
### This is useful if mode changing crashes / corrupts the X server
#   Option  "DisableVidModeExtensions"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver      "kbd"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "us"
    Option       "XkbOptions"    "compose:rwin"
### Uncomment this if your layout uses nodeadkeys
   #Option      "XkbVariant"   "nodeadkeys"
EndSection

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

Section "Monitor"
   Identifier   "Monitor0"
   ModelName   "Monitor Model"
   Option      "DPMS"
   HorizSync   78-82
   VertRefresh   60-60

EndSection

Section "Device"
   Identifier   "Card0"
   #Option   "ShadowFB"   "true"
   Driver   "fbdev"
   BusID   "PCI:0:16:0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device      "Card0"
   Monitor      "Monitor0"
   DefaultDepth   15
   SubSection "Display"
      Depth      8
      Modes       "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes       "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes       "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      15
      FbBpp      8
      Modes      "1024x768"
   EndSubSection
EndSection

Section "DRI"
   Group 0
   Mode 0666
EndSection


my "working" xorg.conf (edited from Xautoconfig original output)
Code:
# File generated by Xautoconfig.
Section "ServerLayout"
   Identifier   "XFree86 Configured"
   Screen      0  "Screen0" 0 0
   InputDevice   "Mouse0" "CorePointer"
   InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is 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.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

       RgbPath      "/usr/X11R6/lib/X11/rgb"
    # For XFS, uncomment this and comment the others
    # FontPath    "unix/:-1"
    FontPath    "/usr/share/fonts/local/"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/CID/"
    FontPath    "/usr/share/fonts/Speedo/"
    FontPath    "/usr/share/fonts/75dpi/"
    FontPath    "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load   "dbe"
   Load   "extmod"
   Load   "fbdevhw"
   Load   "glx"
   Load   "record"
   Load   "freetype"
   Load   "type1"
#   Load   "dri"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver      "kbd"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

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

Section "Monitor"
   Identifier   "Monitor0"
   ModelName   "Monitor Model"
   Option      "DPMS"
#   HorizSync   78-82
   HorizSync   60-82
   VertRefresh   60-180
#   HorizSync   93.985
#   VertRefresh   116.318

EndSection

Section "Device"
   Identifier   "Card0"
   #Option   "ShadowFB"   "true"
# i added
#   Option   "UseFBDev"
#   Driver   "fbdev"
   Driver   "r128"
#   BusID   "PCI:0:16:0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device      "Card0"
   Monitor      "Monitor0"
# i added - change form 16 to 8
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes       "1280x1024" "1024x768" "640x480" "800x600"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes       "1280x1024" "1024x768" "640x480" "800x600"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes       "1280x1024" "1024x768" "640x480" "800x600"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes       "1280x1024" "1024x768" "640x480" "800x600"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes       "1280x1024" "1024x768" "640x480" "800x600"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes       "1280x1024" "1024x768" "640x480" "800x600"
   EndSubSection
EndSection

#i added
#Section "Modes"
#   Identifier   "Modes0"
#   Modeline   "1024x768" 93.985 1024 1040 1048 1064 768 784 792 808 -HSync -VSync
#   Modeline   "1024x768" 100.01 1024 1040 1048 1064 768 784 792 808 -HSync -VSync
#EndSection   

Section "DRI"
   Group 0
   Mode 0666
EndSection


Output from fbset
Code:

Mode "1024x768"
    # D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz
    DotClock 100.001
    HTimings 1024 1040 1048 1064
    VTimings 768 784 792 808
    Flags    "-HSync" "-VSync"
EndMode


My lspci output
Code:

0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 03)
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:10:1a.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link)
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun GEM) (rev 01)


Let me know - I'd love get my display up to par.

Thanks again for the help loading and your coding.

Matt
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 11, 2005 11:09 pm    Post subject: Reply with quote

Okay, the problem is that it isn't being detected as a Rage 128, so it's chickening out and giving you a "safe" configuration. (Wonder why that doesn't work either. :p)

Can you email me your lspci -vv and the rest of that information? The address is on the site linked to from the first post. Thanks!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
divotion
n00b
n00b


Joined: 09 Jun 2005
Posts: 18

PostPosted: Tue Jun 14, 2005 4:50 am    Post subject: Hi JoseJX Reply with quote

Aim too noob! I have unpacked the package! in the same directionary i give in ... make ... ! Then he compile but i cant start Xorgautoconfig!

What i must make for start Xorgautoconfig?

Then i have Apple G5 2x2.5ghz whit a X800xt graficcart! And i cant start Xorg! I have boot problem by configuring Xorg! This tool is good for me! But i cant start it!

Have you a idea?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Jun 14, 2005 5:10 am    Post subject: Reply with quote

If you've compiled from source, there is a binary called Xorgautoconfig in the root of the project directory. If you've used the ebuild, it goes in /usr/sbin. However, support in X.org is minimal for those cards, so it may not work for you.

Good luck.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
divotion
n00b
n00b


Joined: 09 Jun 2005
Posts: 18

PostPosted: Tue Jun 14, 2005 5:59 am    Post subject: Reply with quote

OK! THX for the fast replay!
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Jun 15, 2005 5:24 pm    Post subject: Reply with quote

Error with 0.1.1, the previous version 0.1 emerges fine

Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/Xorgautoconfig-0.1.1 to /
>>> md5 files ;-) Xorgautoconfig-0.1.ebuild
>>> md5 files ;-) Xorgautoconfig-0.1.1.ebuild
>>> md5 files ;-) files/digest-Xorgautoconfig-0.1.1
>>> md5 files ;-) files/digest-Xorgautoconfig-0.1
>>> md5 src_uri ;-) Xorgautoconfig-0.1.1.tar.bz2
>>> Unpacking source...
>>> Unpacking Xorgautoconfig-0.1.1.tar.bz2 to /var/tmp/portage/Xorgautoconfig-0.1.1/work
>>> Source unpacked.
gcc -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c -o Xorgautoconfig.o Xorgautoconfig.c
Xorgautoconfig.c: In function `main':
Xorgautoconfig.c:212: error: parse error before '||' token
make: *** [Xorgautoconfig.o] Error 1

!!! ERROR: x11-misc/Xorgautoconfig-0.1.1 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! emake failed!
!!! If you need support, post the topmost build error, NOT this status message.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jun 15, 2005 9:36 pm    Post subject: Reply with quote

Yep, I lied when I said fewer typos. :p

It's fixed now. Also, people who were getting reversed values for vsync should try again with the file that is currently in my devspace. If you've previously used the 0.1.1 version of the ebuild, remove the file from distfiles and re-digest it.

Sorry!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Jun 20, 2005 6:17 am    Post subject: Reply with quote

Strange! But Xorgautoconfig fails with a "Segmentation fault" here. :? Some info:

lspci -v
fbset -i
Current /etc/X11/xorg.conf
cat /proc/cpuinfo

Edit: forgot to mention: I have an Nvidia card ;)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jun 20, 2005 1:51 pm    Post subject: Reply with quote

Could you compile it by hand, run it and send me a core file? Thanks!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ruyneto
n00b
n00b


Joined: 20 Jun 2005
Posts: 5

PostPosted: Mon Jun 20, 2005 2:49 pm    Post subject: Reply with quote

Hello, I donwloaded and compile it on hand, but when I run it gives me a message:
Could not find /dev/fb0

anyone know why this??
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Jun 20, 2005 2:59 pm    Post subject: Reply with quote

JoseJX wrote:
Could you compile it by hand, run it and send me a core file? Thanks!
I never "emerged" that software!! I just compiled it by hand, and ran the new executable formed: Xorgautoconfig.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jun 20, 2005 4:23 pm    Post subject: Reply with quote

ppurka: Okay, so send me the core file it produces when it segfaults please, or provide backtrace with gdb. Either is fine.

ruyneto: When are you running Xorgautoconfig (from an install maybe)? Is /dev/fb0 present? If not, /dev probably isn't mounted and the program can't work.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ruyneto
n00b
n00b


Joined: 20 Jun 2005
Posts: 5

PostPosted: Mon Jun 20, 2005 5:42 pm    Post subject: Reply with quote

I have /dev present but not /dev/fb0 what is thos for??

thanks
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Jun 20, 2005 5:51 pm    Post subject: Reply with quote

JoseJX wrote:
ppurka: Okay, so send me the core file it produces when it segfaults please, or provide backtrace with gdb. Either is fine.
Ok, emerging gdb right now. I never had gdb on my system, since I never required it ;)

btw, running the executable never produced any core files. So, sorry don't have that. I will run it will gdb and provide you with a backtrace after it is emerged.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Jun 20, 2005 6:08 pm    Post subject: Reply with quote

Hi,
SO I emerged gdb and got the following:
Code:
 gdb Xorgautoconfig
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /tmp/Downloadz/Xorgautoconfig-0.1.1/Xorgautoconfig
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
The current xorg.conf has been copied into /etc/X11/xorg.conf.autobak

Program received signal SIGSEGV, Segmentation fault.
0xb7f28a24 in strncmp () from /lib/libc.so.6
(gdb) bt
#0  0xb7f28a24 in strncmp () from /lib/libc.so.6
#1  0x0804a652 in ?? ()
#2  0x00000000 in ?? ()
#3  0x08051b65 in _IO_stdin_used ()
#4  0x0000000b in ?? ()
#5  0x00000003 in ?? ()
#6  0x00000000 in ?? ()
#7  0x00000000 in ?? ()
#8  0x00000000 in ?? ()
#9  0x00000000 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0xfffffffa in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x080570a8 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x000007c1 in ?? ()
#26 0x704f2309 in ?? ()
#27 0x6e6f6974 in ?? ()
#28 0x68532209 in ?? ()
#29 0x776f6461 in ?? ()
#30 0x09224246 in ?? ()
#31 0x75727422 in ?? ()
#32 0x090a2265 in ?? ()
#33 0x76697244 in ?? ()
#34 0x22097265 in ?? ()
#35 0x65646266 in ?? ()
#36 0x090a2276 in ?? ()
#37 0x49737542 in ?? ()
#38 0x50220944 in ?? ()
#39 0x333a4943 in ?? ()
#40 0x303a303a in ?? ()
#41 0x00000a22 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000000 in ?? ()
#46 0x00000000 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000000 in ?? ()
#51 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000000 in ?? ()
[.. many such lines...]
#568 0x00000000 in ?? ()
#569 0xb7ffaa94 in realloc () from /lib/ld-linux.so.2
#570 0xb7ed763f in __libc_start_main () from /lib/libc.so.6
#571 0x08048ee1 in ?? ()

This leads me to suspect that my glibc probably needs a recompile ( does it? :? ) I don't think this is a proper place to ask this question but I find that I have upgraded gcc recently, and haven't upgraded glibc:
Code:
genlop -l --date 1 year ago | grep glibc
     Sun Oct 31 17:51:11 2004 >>> sys-libs/glibc-2.3.4.20040808-r1
     Sat Mar  5 05:01:38 2005 >>> sys-libs/glibc-2.3.4.20040808-r1
     Sun Mar 20 19:12:30 2005 >>> sys-libs/glibc-2.3.4.20041102-r1

genlop -l --date 1 year ago | grep gcc 
     Sun Oct 31 17:04:46 2004 >>> sys-devel/gcc-config-1.3.6-r3
     Sun Oct 31 17:16:18 2004 >>> sys-devel/gcc-3.3.4-r1
     Mon Nov 29 21:40:06 2004 >>> sys-devel/gcc-config-1.3.6-r4
     Thu Jan  6 03:45:19 2005 >>> sys-devel/gcc-config-1.3.8-r4
     Sun Jan 30 01:01:02 2005 >>> sys-devel/gcc-3.3.5-r1
     Sat Mar  5 05:27:22 2005 >>> sys-devel/gcc-3.3.5-r1
     Wed Mar 30 02:56:36 2005 >>> sys-devel/gcc-config-1.3.10-r1
     Sat Apr  9 17:36:58 2005 >>> sys-devel/gcc-config-1.3.10-r2
     Fri Apr 29 11:44:30 2005 >>> sys-devel/gcc-3.3.5.20050130-r1
     Sat Jun 11 02:19:29 2005 >>> sys-devel/gcc-config-1.3.11-r2
I will wait till I find out more about upgrading glibc. I will try out your program again after that.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Jun 20, 2005 7:03 pm    Post subject: Reply with quote

Hey! Hey!! I never noticed!! is this only for ppc????!!! :oops: :oops: :oops: Never mind my posts then :oops: :oops:
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jun 20, 2005 10:37 pm    Post subject: Reply with quote

Yep, sorry! (I should have read your cpuinfo! ;) ) I added a note to the post to make it a little more obvious.

ruyneto: I'm guessing this is your problem too? PPC requires a framebuffer since we can't use the VGA extensions.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ruyneto
n00b
n00b


Joined: 20 Jun 2005
Posts: 5

PostPosted: Mon Jun 20, 2005 10:43 pm    Post subject: Reply with quote

My cpu is an x86, and give this error , maybe it's only working im ppc
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jun 20, 2005 11:06 pm    Post subject: Reply with quote

ruyneto: Yes, it runs *only* on PPC.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ruyneto
n00b
n00b


Joined: 20 Jun 2005
Posts: 5

PostPosted: Mon Jun 20, 2005 11:19 pm    Post subject: Reply with quote

Ok, i will wait when it's come to x86, thanks.

An sorry i think it was for all systems
Back to top
View user's profile Send private message
Forty-Two
n00b
n00b


Joined: 14 Jul 2003
Posts: 54

PostPosted: Tue Jun 21, 2005 3:53 am    Post subject: Reply with quote

I'm getting a segfault as well...

Code:
tux ~ # gdb Xorgautoconfig
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/sbin/Xorgautoconfig
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x0ff131e8 in fwrite () from /lib/libc.so.6


(apparently cuts out before it even backsup the old xorg)

800mhz imac g4
nvidia gforce 2 mx
2.6.12 kernel (vanilla)

Hope that helps, and hopefully it'll be easy to fix, I wanna be a nvidia tester. :wink:
_________________
"We appologize for the inconvenince"
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jun 22, 2005 8:27 pm    Post subject: Reply with quote

Unfortunately, it doesn't help very much. Can you send me an strace (along with the other information requested in site linked from the original post) to my gentoo.org address? Thanks!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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