PDA

View Full Version : How do I convert software



goldstar1
11th February 2007, 01:03 AM
I have 2 os's on my computer, Mandriva and Fedora 6.

I got a wonderful 22" viewsonic vx2235wm lcd display for my birthday.

It has a 1680x1050 resolution which fits perfectly in Mandriva, but in Fedora, I have to move the mouse to the edge of the screen in order to catch the last 1" or so of screen.

I feels like the driver that Mandriva is using is somehow different than the one Fedora uses.

My question is, is there a way I can convert Mandriva's rpm software into Fedora's rpm software?

I would like to take the driver that Mandriva uses for this display, and convert it so it would work in Fedora 6.

Thanx for your answers.

leigh123linux
11th February 2007, 01:12 AM
Not a hope in hell


is there a way I can convert Mandriva's rpm software into Fedora's rpm software?

Dies
11th February 2007, 01:22 AM
Not a hope in hell

LOL.

What kind of graphics card are you using ?

goldstar1
11th February 2007, 01:22 AM
LOL... well... okay then... I once thought everything was configurable in linux

goldstar1
11th February 2007, 01:23 AM
a Radeon 9600

Dies
11th February 2007, 01:26 AM
If you haven't installed the ATI drivers yet, see this thread, scroll down to the FC6 section and run the commands :

http://forums.fedoraforum.org/showthread.php?t=127305

I have similar issues with Nvidia until I install the proper drivers.

Actually Leigh is an ATI guy so he can probably help out if you have any problems following that thread, maybe, lol.

goldstar1
11th February 2007, 01:28 AM
Thanx...I'll try that

leigh123linux
11th February 2007, 01:39 AM
32 bit only and requires a i686 kernel to check

rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

if its i586 dont continue and post back


su -
rpm -ivh http://rpm.livna.org/fedora/6/i386/livna-release-6-1.noarch.rpm
yum install kmod-fglrx xorg-x11-drv-fglrx
yum update kmod-fglrx xorg-x11-drv-fglrx
gedit /etc/X11/xorg.conf

delete everything there and replace with this


# Xorg configuration created by leigh123

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "int10"
Load "vbe"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" # this is set for a us keyboard
EndSection

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "auto detect"
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "fglrx"
VendorName "ATI"
BoardName "ATI Technologies Inc"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480" # you can add more resolutions here
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "False"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

reboot

to check its working type

fgl_glxgears

the result should be a 3d spinning cube

goldstar1
11th February 2007, 01:48 AM
This is what it says...

[George@localhost ~]$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

kernel-2.6.18-1.2798.fc6.i586
kernel-2.6.19-1.2895.fc6.i586
kernel-headers-2.6.19-1.2895.fc6.i386
kernel-xen-2.6.19-1.2895.fc6.i686
yum-kernel-module-1.0.2-2.fc6.noarch

leigh123linux
11th February 2007, 01:56 AM
The fglrx driver wont work with a xen kernel

boot the none xen kernel (This kernel-2.6.19-1.2895.fc6.i586 )

su -
yum remove kernel-xen
su -c "yum install yum-utils"
yumdownloader kernel.i686
su -c "rpm -ivh --replacefiles --replacepkgs kernel-2*.i686.rpm"

reboot

and then repeat to check for i686

rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

it should look like this


kernel-2.6.18-1.2798.fc6.i586
kernel-2.6.19-1.2895.fc6.i686
kernel-headers-2.6.19-1.2895.fc6.i386
yum-kernel-module-1.0.2-2.fc6.noarch

goldstar1
11th February 2007, 02:13 AM
I got a i586 that needs to be converted to i686...

How do i get kernel-2.6.19-1.2895.fc6.i586 to a i686?

kernel-2.6.18-1.2798.fc6.i586
kernel-2.6.19-1.2895.fc6.i586
kernel-headers-2.6.19-1.2895.fc6.i386
yum-kernel-module-1.0.2-2.fc6.noarch

leigh123linux
11th February 2007, 02:30 AM
su -


su -c "yum install yum-utils"


yumdownloader kernel.i686


su -c "rpm -ivh --replacefiles --replacepkgs kernel-2*.i686.rpm"

--------------------------

goldstar1
11th February 2007, 03:19 AM
Okay...I got a i686 kernel...renamed my xorg.conf to xorg.conf.old and created another using your xorg.conf.

now i don't have any digital signal at all. Im writing this in Mandriva...(geeze I hate the fonts that come with Mandriva)

I have to work on this later but I wanted to thank you Leigh for your help. See ya later...

goldstar1
11th February 2007, 09:30 AM
Okay all is well now...
What I did is place as my resolution at "1680x1050" at this location
Section "Screen"
Modes "1024x768" "800x600" "640x480" # you can add more resolutions here
Before Rebooting
I actually had to remove all the resolutions and leave just my "1680x1050" otherwise i got a 640x480 resolution and at that resolution, the letters were huge!

Again Thanx Leigh...your aughsome dude