LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-21-2009, 03:39 PM   #16
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17

Hmm i setted 1280x1024 and changed vesa with radeon and when i relog in X, my res is like 1152x768, not 1280x1024. Hmm what should i edit so i could actually use it afterall?
 
Old 08-21-2009, 03:41 PM   #17
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Assuming radeon driver will fail to display that high resolution instead of removing it or decrease color depth you could install ATI proprietary driver (fglrx) as I described above. Perhaps fglrx driver will be better in that case than radeon one. But first try standard radeon.
 
Old 08-21-2009, 03:56 PM   #18
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by w1k0 View Post
By the way: I just discovered that during unsuccessful attempt to install new driver it modified my xorg.conf. Now I see in it some sections as:

Code:
Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection
and:

Code:
Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
EndSection
I will inspect it further.
ATI driver simply changes xorg.conf. It did it at past as well. I just didn't spot it so far.
 
Old 08-21-2009, 04:24 PM   #19
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Somewhat off-topic, but . . .

On most "standard" X-servers, the vesa frame buffer driver is uvesafb, not vesa. I don't use a slackware distribution, and it's possible that the driver is named differently from the normal name, but, looking at the above posts, the Drive "vesa" line seems inconsistent with the Identifier "VESA Framebuffer" part. (Of course, the only xorg.conf requirement is that the Identifer text match the text in the Device item of the Screen stanza. But, still, it looks a little strange.)

Also, I believe the uvesafb driver may provide higher resolutions than the older vesa one.
 
Old 08-21-2009, 05:01 PM   #20
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by PTrenholme View Post
Somewhat off-topic, but . . .

On most "standard" X-servers, the vesa frame buffer driver is uvesafb, not vesa. I don't use a slackware distribution, and it's possible that the driver is named differently from the normal name, but, looking at the above posts, the Drive "vesa" line seems inconsistent with the Identifier "VESA Framebuffer" part. (Of course, the only xorg.conf requirement is that the Identifer text match the text in the Device item of the Screen stanza. But, still, it looks a little strange.)

Also, I believe the uvesafb driver may provide higher resolutions than the older vesa one.
So what do you suggest me to do?
 
Old 08-22-2009, 06:31 AM   #21
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by w1k0 View Post
ATI driver simply changes xorg.conf. It did it at past as well. I just didn't spot it so far.
I managed to install the older ati driver you told me about, all went well untill I restarted X, as soon as it starts my monitor says, Over frequency h70Hz v60Hz. I tried entering terminal again and entering aticonfig, i didn`t manage to resolve a thing, how can i remove, or change the resolution of X? I did find something like aticonfig --resolution=0, 1280x1024, 1024x768 ... etc, i tried to type in (root) :

aticonfig --resolution=1280x1024 and pressed enter, but it tells me failed, expected # ... Damn i reinstalled the whole system because an X problem earlyer today, i can`t afford to lose another 2 hours installing it again. Please help.
 
Old 08-22-2009, 12:35 PM   #22
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
You don't have to reinstall the entire system if you can't run X Window. Original xorg.conf-vesa is stored in x11-skel package. You'll find it in X series. It's enough to overwrite xorg.conf using that file.

Moreover during the installation ATI driver makes the copy of the original /etc/X11/xorg.conf named xorg.conf.original-0. To restore the original xorg.conf is enough to overwrite it using that copy.

I never tried aticonfig --resolution=0, 1280x1024, 1024x768 ... etc. commands so I don't know how it works.

I suggest you to go to the console mode, to log in as root, and to use Midnight Commander. Use the first console to run X Window (don't run Midnight Commander here) and the second and third consoles in text mode (with Midnight Commander).

Remember to remove the old ATI driver installation with /usr/share/ati/fglrx-uninstall.sh before installing the new one.

First restore the original xorg.conf using the second console in text mode and run X Window using the first console.

If X Window will run exit it, install ATI driver using the second console, and run X Window once again using the first console.

If X Window will fail modify xorg.conf manually.

Horizontal and vertical frequencies are stored in Monitor section:

Code:
Section "Monitor"
        Identifier   "My Monitor"
        HorizSync    31.5 - 48.5
        VertRefresh  50.0 - 90.0
EndSection
Horizontal sync ranges are:

31.5 - 48.5 # Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz
31.5 - 57.0 # High Frequency SVGA, 1024x768 @ 70 Hz
31.5 - 64.3 # Monitor that can do 1280x1024 @ 60 Hz
31.5 - 79.0 # Monitor that can do 1280x1024 @ 74 Hz
31.5 - 82.0 # Monitor that can do 1280x1024 @ 76 Hz
or custom...

Vertical refresh ranges are:

50-70
50-90
50-100
40-150
or custom...

Assure what frequencies allows your monitor, and modify appropriately xorg.conf. Don't exceed the values recommended in the manual. Then run X Window.
 
Old 08-22-2009, 12:44 PM   #23
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by w1k0 View Post
You don't have to reinstall the entire system if you can't run X Window. Original xorg.conf-vesa is stored in x11-skel package. You'll find it in X series. It's enough to overwrite xorg.conf using that file.

Moreover during the installation ATI driver makes the copy of the original /etc/X11/xorg.conf named xorg.conf.original-0. To restore the original xorg.conf is enough to overwrite it using that copy.

I never tried aticonfig --resolution=0, 1280x1024, 1024x768 ... etc. commands so I don't know how it works.

I suggest you to go to the console mode, to log in as root, and to use Midnight Commander. Use the first console to run X Window (don't run Midnight Commander here) and the second and third consoles in text mode (with Midnight Commander).

Remember to remove the old ATI driver installation with /usr/share/ati/fglrx-uninstall.sh before installing the new one.

First restore the original xorg.conf using the second console in text mode and run X Window using the first console.

If X Window will run exit it, install ATI driver using the second console, and run X Window once again using the first console.

If X Window will fail modify xorg.conf manually.

Horizontal and vertical frequencies are stored in Monitor section:

Code:
Section "Monitor"
        Identifier   "My Monitor"
        HorizSync    31.5 - 48.5
        VertRefresh  50.0 - 90.0
EndSection
Horizontal sync ranges are:

31.5 - 48.5 # Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz
31.5 - 57.0 # High Frequency SVGA, 1024x768 @ 70 Hz
31.5 - 64.3 # Monitor that can do 1280x1024 @ 60 Hz
31.5 - 79.0 # Monitor that can do 1280x1024 @ 74 Hz
31.5 - 82.0 # Monitor that can do 1280x1024 @ 76 Hz
or custom...

Vertical refresh ranges are:

50-70
50-90
50-100
40-150
or custom...

Assure what frequencies allows your monitor, and modify appropriately xorg.conf. Don't exceed the values recommended in the manual. Then run X Window.
I tried for about 3 hours to replace the xorg file used by the ati driver, with the original backup usinc the mc command and didn`t do shit. So i spent another 2 hours reinstalling my system, and i might as well cope with the 1024x768 resolution, just because i`m scared of fu**ing up X again.
 
Old 08-22-2009, 01:28 PM   #24
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Bller View Post
I tried for about 3 hours to replace the xorg file used by the ati driver, with the original backup usinc the mc command and didn`t do shit. So i spent another 2 hours reinstalling my system, and i might as well cope with the 1024x768 resolution, just because i`m scared of fu**ing up X again.
Never reinstall system because you're unable to run some service or program.

To replace xorg.conf with the original file it's enough to insert Slackware 12.2 second installation CD-ROM into drive. Run mount /mnt/cdrom command. Run cd /mnt/cdrom/slackware/x/ command. Run installpkg x11-skel-7.1-noarch-6.tgz command. Run cd /etc/X11 command. Run cp xorg.conf-vesa xorg.conf command. Run umount /mnt/cdrom command.
 
Old 08-22-2009, 01:52 PM   #25
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
And it`s a DVD ? Replace CD with DVD or what?
 
Old 08-22-2009, 02:52 PM   #26
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
In original /etc/fstab that line is commented:

Code:
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
Just remove the comment mark # and it'll be possible to mount CD and DVD manually using mount /mnt/cdrom command.
 
Old 08-22-2009, 03:38 PM   #27
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Ah great, thank you !
 
Old 08-22-2009, 04:21 PM   #28
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Bller View Post
Ah great, thank you !
Nice...

So prepare backup copy of your xorg.conf using commands:

Code:
cd /etc/X11
cp -p xorg.conf xorg.conf.bak
Then try to overwrite your xorg.conf using original file from install DVD. Maybe you're tired playing with that file but do that once to get to know how can you do it in the future without reinstalling the entire system.

At the end restore your xorg.conf:

Code:
cd /etc/X11
cp -p xorg.conf.bak xorg.conf
***

Before installing the package anew you have to determine which package contains xorg.conf. To do it use the command:

Code:
for file in /var/log/packages/* ; do grep -l xorg.conf $file ; done
There are two such packages:

Code:
/var/log/packages/x11-skel-7.1-noarch-6
/var/log/packages/xorg-server-1.4.2-i486-1
To inspect them use the commands:

Code:
grep xorg.conf /var/log/packages/x11-skel-7.1-noarch-6
which displays:

Code:
x11-skel: as well as sample xorg.conf files and other scripts.
etc/X11/xorg.conf-vesa
etc/X11/xorg.conf-fbdev
and:

Code:
grep xorg.conf /var/log/packages/xorg-server-1.4.2-i486-1
which displays:

Code:
usr/man/man5/xorg.conf.5.gz
As you see the second package contains manual page and the first package contains two configuration files in etc/X11 directory.
 
Old 08-22-2009, 05:28 PM   #29
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by w1k0 View Post
Nice...

So prepare backup copy of your xorg.conf using commands:

Code:
cd /etc/X11
cp -p xorg.conf xorg.conf.bak
Then try to overwrite your xorg.conf using original file from install DVD. Maybe you're tired playing with that file but do that once to get to know how can you do it in the future without reinstalling the entire system.

At the end restore your xorg.conf:

Code:
cd /etc/X11
cp -p xorg.conf.bak xorg.conf
***

Before installing the package anew you have to determine which package contains xorg.conf. To do it use the command:

Code:
for file in /var/log/packages/* ; do grep -l xorg.conf $file ; done
There are two such packages:

Code:
/var/log/packages/x11-skel-7.1-noarch-6
/var/log/packages/xorg-server-1.4.2-i486-1
To inspect them use the commands:

Code:
grep xorg.conf /var/log/packages/x11-skel-7.1-noarch-6
which displays:

Code:
x11-skel: as well as sample xorg.conf files and other scripts.
etc/X11/xorg.conf-vesa
etc/X11/xorg.conf-fbdev
and:

Code:
grep xorg.conf /var/log/packages/xorg-server-1.4.2-i486-1
which displays:

Code:
usr/man/man5/xorg.conf.5.gz
As you see the second package contains manual page and the first package contains two configuration files in etc/X11 directory.
Great i know now how to overwrite that file, thats what i needed to know.
But still i can`t stand this 1024x768 resolution, i want my 1280 #-o, i just can`t seem to fin anything to work.
 
Old 08-22-2009, 06:48 PM   #30
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Bller View Post
Great i know now how to overwrite that file, thats what i needed to know.
But still i can`t stand this 1024x768 resolution, i want my 1280 #-o, i just can`t seem to fin anything to work.
Check in the manual of your monitor or laptop horizontal and vertical sync and refresh ranges. Then add to Modes ... lines the resolution "1280x1024" and change horizontal sync range to 31.5 - 64.3 (assuming it's allowed in manual). At the end run X Window. You can change horizontal refresh range in the same way. I enumerated some available horizontal and vertical frequencies in post #22.

If something will go wrong you always can restore your xorg.conf using backup you did or original file from the noarch package.
 
  


Reply



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
terminal problem ambavaram Linux - Software 3 07-09-2008 03:45 AM
terminal problem jaspreet85 Linux - General 3 07-20-2005 10:15 AM
Terminal problem rupesh_pulikool Linux - Security 2 10-19-2004 05:25 AM
Terminal problem David@330 Linux - Newbie 3 10-12-2004 02:40 AM
qt: terminal problem powadha Slackware 1 12-23-2003 05:17 PM

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

All times are GMT -5. The time now is 04:09 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