LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware 14.1 change screen resolution (https://www.linuxquestions.org/questions/slackware-14/slackware-14-1-change-screen-resolution-4175510105/)

dumdadum 07-04-2014 08:50 AM

slackware 14.1 change screen resolution
 
Hello,

I'm experiencing problems loading to level 4. It seems that 1024x768 is a resolution too high. I want to load to level 4 at a resolution of 800x600. How can I configure slackware to do so? I'm running slackware 14.1 on a pentium 3.

Thanks,
Dumdadum

Didier Spaier 07-04-2014 09:02 AM

Use krandrtray (right click on the screen widget in the tray to pick one of the available resolutions).

You need to have the KDE series of packages installed, but do not need to run KDE. For instance this works here under Fluxbox.

dumdadum 07-04-2014 09:07 AM

Quote:

Originally Posted by Didier Spaier (Post 5198555)
Use krandrtray (right click on the screen widget in the tray to pick one of the available resolutions).

You need to have the KDE series of packages installed, but do not need to run KDE. For instance this works here under Fluxbox.

Hello Mr. Didier,

I cannot run anything in GUI mode for now ( level 4 ). When I run krandrtray in command line it doesnt work, I'm guessing this works in level 4 mode right? I'm wundering if you know how to configure slackware 14.1 to use a 800x600 resolution, to be configured if possible in command line mode, or level 3 mode... I use startx to go to level 4 mode and the screen freezes, I cant do anything in GUI mode cuz it doesnt print correctly on the screen.

Thanks again, (=
Dumdadum

linuxtinker 07-04-2014 09:19 AM

did you try xorgsetup or xorgconfig

dumdadum 07-04-2014 09:25 AM

Quote:

Originally Posted by linuxtinker (Post 5198562)
did you try xorgsetup or xorgconfig

Hello,

I tried xorgsetup, and it allows me to choose the depth, which I selected 8 bit, but it doesnt allow me to choose the screen resolution. The command xorgconfig doesnt work, I think the correct command is xorgsetup...

Any idea on which file I have to edit to say to the X server to select a specific screen resolution? I saw xorg.conf-vesa and theres the refresh rate, but I dont want to play with that cuz I dont want to brake my monitor (= Plus I dont know what is the refresh rate for 800x600 resolution.

Any other ideas?

Thanks,
Dumdadum

linuxtinker 07-04-2014 09:37 AM

Check this thread out:

http://www.linuxquestions.org/questi...13-0-a-832201/

hitest 07-04-2014 09:41 AM

You can also take a look at /etc/lilo.conf and change your framebuffer settings from 1024 to 800x600, that is, comment out 1024 and remove the # in front of 800x600x256. That might help. Sometimes if your framebuffer isn't set-up properly then x windows will have difficulties.

dumdadum 07-04-2014 09:50 AM

Quote:

Originally Posted by hitest (Post 5198581)
You can also take a look at /etc/lilo.conf and change your framebuffer settings from 1024 to 800x600, that is, comment out 1024 and remove the # in front of 800x600x256. That might help. Sometimes if your framebuffer isn't set-up properly then x windows will have difficulties.

Thanks my friend, I'm rebooting as we speak to try it out. I'll keep you posted.

Cheers,
Dumdadum

Nope, that only helped the command line resolution. I tried loading with startx and its still in 1024x768...

Waiting for your reply,
Cheers,
Dumdadum

Didier Spaier 07-04-2014 10:45 AM

Try this as root:
Code:

cd /etc/X11
cp xorg.conf-vesa xorg.conf
sed -i 's/Modes "1024x768"/Modes/g' xorg.conf

then as regular user run xwmconfig and if not already done choose fluxbox as windows manager, then type startx and let us know how that goes.

dumdadum 07-04-2014 10:48 AM

Quote:

Originally Posted by Didier Spaier (Post 5198620)
Try this as root:
Code:

cd /etc/X11
cp xorg.conf-vesa xorg.conf
sed -i 's/Modes "1024x768"/Modes/g' xorg.conf

then as regular user run xmconfig and if not already done choose fluxbox as windows manager, then type startx and let us know how that goes.

Thanks Mr. Didier,

I'll give it a try at home, right now I'm at the office and my shift is over. I'll keep you posted. Thanks again.

Cheers,
Dumdadum

hitest 07-04-2014 10:49 AM

Quote:

Originally Posted by Didier Spaier (Post 5198620)
Try this as root:
Code:

cd /etc/X11
cp xorg.conf-vesa xorg.conf
sed -i 's/Modes "1024x768"/Modes/g' xorg.conf

then as regular user run xmconfig and if not already done choose fluxbox as windows manager, then type startx and let us know how that goes.

A small, friendly edit. That should say xwmconfig.

Didier Spaier 07-04-2014 10:50 AM

Quote:

Originally Posted by hitest (Post 5198623)
A small, friendly edit. That should say xwmconfig.

Thanks Hitest, fixed.

dumdadum 07-06-2014 07:59 PM

Quote:

Originally Posted by Didier Spaier (Post 5198620)
Try this as root:
Code:

cd /etc/X11
cp xorg.conf-vesa xorg.conf
sed -i 's/Modes "1024x768"/Modes/g' xorg.conf

then as regular user run xwmconfig and if not already done choose fluxbox as windows manager, then type startx and let us know how that goes.

Hello Mr. Didier, here is the result. What I did is execute the 3 commands you gave me, executed xwmconfig and selected razor-qt instead of fluxbox and rebooted the system. Here is what I get, it loops, cannot load the login manager, and advises that the boot process is halted and freezed for 5 minutes... here is the printing on the screen, I was able to copy paste it in a text file for you to analyze:

Code:

Loading extension GLX
vesa: Ignoring device with a bound kernel driver
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional inf$
(EE)
(EE) Server terminated with error (1). Closing log file.
INIT: Id "x1" respawning too fast: disabled for 5 minutes

What is wrong? Why wont it work? Can you give me more help please?

Thanks,
Dumdadum

Didier Spaier 07-07-2014 01:01 AM

First, till we sort out this issue please start your system in runlevel 3 to avoid this:
Code:

INIT: Id "x1" respawning too fast: disabled for 5 minutes
as according to this line from /etc/inittab
Code:

x1:4:respawn:/etc/rc.d/rc.4
this occurs only in runlevel 4.

Now, let's try to understand why the vesa X driver refuses to cooperate.

For that, please provide output of following commands typed as root:
Code:

lsmod
lspci -knn|grep -A2 VGA


dumdadum 07-07-2014 07:55 AM

Quote:

Originally Posted by Didier Spaier (Post 5199783)
First, till we sort out this issue please start your system in runlevel 3 to avoid this:
Code:

INIT: Id "x1" respawning too fast: disabled for 5 minutes
as according to this line from /etc/inittab
Code:

x1:4:respawn:/etc/rc.d/rc.4
this occurs only in runlevel 4.

Now, let's try to understand why the vesa X driver refuses to cooperate.

For that, please provide output of following commands typed as root:
Code:

lsmod
lspci -knn|grep -A2 VGA


Ok Mr. Didier, will do...

I have a little question... cant I edit a file manually, I'm just guessing maybe the xorg.conf or xorg.conf-vesa and configure them to load only "800x600" video modes? I'm asking cuz if there were such a file I have no clue its which one...

I'll try what you said and post output as you requested.

Thanks again,
Dumdadum

Euh, Mr. Didier, when I put myself in level 3 in the inittab and load manually with startx logged in with the root user it load xfce, cuz I just chose xfce with xwmconfig and not fluxbox, the resolution is! in 800x600... thing is that its all blury, the colors dont print well, I cant even see the menu when I click on the application menu button on the bar, I cant see the icons well neither... Can you help with that please?

I'll post the output of the 2 commands you asked me, as soon as I find a free usbkey here at the office.

Thanks again,
Dumdadum

==

Here Mr.Didier is the output of the two files you so kindly requested:

lsmod:
Code:

Module                  Size  Used by
ipv6                  246794  10
lp                      7199  0
ppdev                  4710  0
parport_pc            16728  1
parport                25305  3 lp,ppdev,parport_pc
fuse                  65066  1
rt61pci                19175  0
rt2x00pci              2156  1 rt61pci
rt2x00mmio              2297  1 rt61pci
rt2x00lib              33211  3 rt61pci,rt2x00pci,rt2x00mmio
eeprom_93cx6            1733  1 rt61pci
hid_generic              741  0
usbhid                32543  0
mac80211              373974  2 rt2x00lib,rt2x00pci
cfg80211              321151  2 mac80211,rt2x00lib
rfkill                12610  2 cfg80211
e100                  27844  0
gpio_ich                3581  0
3c59x                  30246  0
mii                    3335  2 e100,3c59x
hid                    70283  2 hid_generic,usbhid
shpchp                22189  0
lpc_ich                11413  0
i2c_dev                4551  0
snd_intel8x0          23649  0
snd_ac97_codec        89231  1 snd_intel8x0
i2c_i801              12393  0
uhci_hcd              19872  0
i2c_core              17388  2 i2c_i801,i2c_dev
intel_agp              8680  1
intel_gtt              10512  1 intel_agp
agpgart                22075  2 intel_agp,intel_gtt
ehci_hcd              34699  0
snd_pcm                62870  2 snd_ac97_codec,snd_intel8x0
snd_page_alloc          6062  2 snd_intel8x0,snd_pcm
snd_timer              14870  1 snd_pcm
psmouse                72582  0
snd                    44159  4 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm
microcode              8880  0
soundcore              4318  1 snd
ac97_bus                834  1 snd_ac97_codec
evdev                  7552  0
serio_raw              3545  0
loop                  14786  0

lspci:
Code:

02:00.0 VGA compatible controller [0300]: AMD/ATI [Advanced Micro Devices, Inc.] Rage XL AGP 2X [1002:474d] (rev 27)
        Subsystem: AMD/ATI [Advanced Micro Devices, Inc.] Xpert 98 RXL AGP 2X [1002:0008]
        Kernel modules: atyfb

Here, hope this helps us with my problems...

Thanks,
Dumdadum


All times are GMT -5. The time now is 09:04 PM.