LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-12-2006, 12:43 AM   #1
brianbae
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
How can I fix my xwindows graphic problem?


Hello, I installed Fedora Core 5 on my PC which has ATI Radeon X800 graphic Chipset.

When I start xwindow, it start with 800x600 and I can't change my xwindows resolution, so I installed ati-driver-installer-8.28.8.run.
After that rebooted, and startx again.

But xwindow doesn't start anymore, there is no message on screen and just black.

How can I fix this problem? Help me. I am a beginner.
 
Old 09-12-2006, 05:01 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Post your /var/log/XFree86.0.log file here (or /var/log/Xorg.0.log, if you've got a Xorg installed). All lines marked with EE or WW are errors and warnings. Somewhere should be an error.
 
Old 09-12-2006, 05:13 AM   #3
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Yes we need what Samotnik said and also tell us how you installed the ati driver?
Did you applied the /etc/X11/xorg.conf after the driver install?
Regarding that you have not been able to setup a higher resolution.
Did you choose a higher monitor? Standard is 800x600 so.. how should then the monitor be able to use for e.g. 1024x768?
So importanend Sections in your xorg.conf is also Display, Screen and Device.
 
Old 09-13-2006, 12:23 AM   #4
brianbae
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you!
I uninstalled the ati driver. Now I can see the Xwindow screen.
But I need to install ATI driver.

That was my mistake. I installed the driver as automatic option.
ATI installer support only two distributions,Red Hat and SuSE, as default.
So I need to build a package for Fedora core.

Now I used this command - sh ./ati-driver-installer-8.28.8.run --buildpkg Fedora/FC5 - for build a package but I got responses such as below

**************************************************************
Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.28.8.............................................................................................. .................................................................................................... .................................................................................................... .................................................................................................... ...........................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC5
Please install an appropriate Linux kernel module build package.
Probably kernel-smp-devel in this case.
If you've compiled a custom kernel, make sure /usr/src/linux exists
and the source tree matches the currently running kernel.
Removing temporary directory: fglrx-install
*********************************************************

How can I install the driver correctly?
 
Old 09-13-2006, 02:00 AM   #5
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
You need a kernel sources installed.
You should find a kernel source package (something like kernel-<your_kernel_number>-dev) and install it. It'll make a directory /usr/src/kernel-<number> and a link /usr/src/linux on it. If sources are installed now, make a soft link /usr/src/linux on them.
 
Old 09-13-2006, 09:03 PM   #6
brianbae
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I installed kernel source such as below. But same messages were occured.
What should I do?

[root@Brianhost src]# ls -al
합계 44
drwxr-xr-x 5 root root 4096 9월 14 09:56 .
drwxr-xr-x 14 root root 4096 9월 11 15:42 ..
drwxr-xr-x 2 root root 4096 9월 13 12:58 ATI
drwxr-xr-x 3 root root 4096 9월 14 09:48 kernels
lrwxrwxrwx 1 root root 37 9월 14 09:56 linux -> ./kernels/2.6.17-1.2174_FC5-smp-i686/
drwxr-xr-x 7 root root 4096 9월 11 15:44 redhat
[root@Brianhost src]# ls linux/
Makefile arch crypto fs init kernel mm scripts sound
Module.symvers block drivers include ipc lib net security usr
[root@Brianhost src]# pwd
/usr/src
[root@Brianhost src]# uname -r
2.6.15-1.2054_FC5smp
 
Old 09-14-2006, 07:50 AM   #7
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
It's becourse your sourses version (2.6.17-1.2174_FC5-smp-i686) didn't match your kernel version (2.6.15-1.2054_FC5smp). You need an exactly your sources.
 
Old 09-18-2006, 05:55 AM   #8
brianbae
LQ Newbie
 
Registered: Sep 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I installed ati driver successfully and use xwindows in 1920X1200.

I installed "kernel-smp-2.6.17-1.2174_FC5" and "kernel-smp-devel-2.6.17-1.2174_FC5".
And then installed ati installer such as "sh ./ati-driver-installer-8.28.8.run --buildpkg Fedora/FC5" then it makes 4 files

ATI-fglrx-8.28.8-1.fc5.i386.rpm
ATI-fglrx-control-panel-8.28.8-1.fc5.i386.rpm
ATI-fglrx-devel-8.28.8-1.fc5.i386.rpm
kernel-module-ATI-fglrx-2.6.17-1.2174_FC5smp-8.28.8-1.fc5.i386.rpm

when I installed above 4 files, they request a "libstdc++" so I installed by using yum. After all They were successfully installed.

After that I type the 'startx', but xwindow didn't start and had an error.
"/usr/lib/xorg/modules/drivers/fglrx_drv.so: cannot restore segment prot after reloc Permission denied"

By Googling I found that it was a problem of selinux, so I edited /etc/selinux/config. I changed the line that said SELINUX=enforcing to SELINUX=permissive.

But 'startx' made black screen, there was an error message that "given depth (16) is not supported by fglrx driver" in /var/log/Xorg.0.log.

Then I edited /etc/X11/xorg.conf, from "DefaultDepth 16" to "DefaultDepth 24".

After all, everything work well.

Thanks.
 
  


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
Graphic Driver: How to set up Livna graphic support? Chuong Linux - Software 11 08-20-2006 02:15 AM
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 10:02 AM
graphic problem master Linux - General 2 06-13-2004 03:13 AM
Xwindows graphic display error, multi screen areas copied zym_nwpu Linux - Software 0 11-16-2003 08:26 AM

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

All times are GMT -5. The time now is 05: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
Open Source Consulting | Domain Registration