LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-29-2004, 11:25 PM   #1
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
change resolution


i know that pressing Ctrl + Alt + +/- changes the zoom in a particular resolution.

is there a way to change the res itself? coz divx movies aren't playing properly in 1024x768 (interlaced) but look fine in 800x600. is there a way to change it without editing XF86Config everytime i wanna watch a movie.

what i've done is add a "Modes" line in the screen sections for the default colour depth i use. i comment/uncomment one of the two depending on what i'm doing.
 
Old 03-01-2004, 12:09 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Here is one way you can do this ...


make a copy of your XF86Config file with the Mode set the way you want it in /etc/X11 named XF86Config1

now you can start a server on another virtual display like this...


startx -- :1 -xf86config XF86Config1

Or something like this..

startx -e mplayer dvd://1 -- :1 -xf86config XF86Config1




Switch back to the first server with ctrl_alt_F7 and back to the second with ctrl_alt_F8

start up as many as 6 servers if you want.

Last edited by DavidPhillips; 03-01-2004 at 01:47 PM.
 
Old 03-02-2004, 08:56 PM   #3
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
that works well. thanks.

i ran one on :1 (i know i could've made it :0 ). i tried to start a 2nd server with :2 in but it gave these errors:
Code:
(++) Using config file: "/etc/X11/XF86Config.2"
(EE) NVIDIA(0): Failed to allocate external video decoder object
(EE) NVIDIA(0):  *** Aborting ***
 
Fatal server error:
AddScreen/ScreenInit failed for driver 0
i'm sure that the command is correct coz it worked to startup the X session i'm using now. only made :1 -> :2

edit:
the screen goes blank and appears as if going into gui mode but then drops back to console.

Last edited by abs; 03-02-2004 at 09:01 PM.
 
Old 03-03-2004, 11:07 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
That is strange, I have started 6 xservers before to see if it would work.

Maybe it's a limitation of the driver or maybe a frame buffer issue.
 
Old 03-03-2004, 11:30 AM   #5
Mainframe
LQ Newbie
 
Registered: Mar 2004
Location: Canada
Distribution: SLACKWARE LINUX - Since 1993
Posts: 15

Rep: Reputation: 0
XF86

Their are a few different ways to change you're resolution size with XFree86 4.x with Slackware.

A. run /usr/X11R6/bin/xf86cfg (the graphical configuration utility)
B. run /usr/X11R6/bin/xf86config (the text based configuration utility)
C. edit /etc/X11/XF86Config after making a backup first.

good luck, all the best.
 
Old 03-03-2004, 09:10 PM   #6
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
@DavidPhillips: is there any way i could find out which one is causing the problem? here's the error i get when trying to start an x session in 1 (:1) after creating one on :0
Code:
(EE) NVIDIA(0): Failed to allocate external video decoder object
(EE) NVIDIA(0):  *** Aborting ***
 
Fatal server error:
AddScreen/ScreenInit failed for driver 0
@Mainframe: i've already got 1024x768 and 800x600 running using two different XF86Config files as DavidPhillips' posts above indicated. the issue now is trying to get 2 x sessions running at the same time.
 
Old 03-04-2004, 04:32 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I just tested mine and it works, I have this card

# lspci |grep nV
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)


I found a couple of other postings on the web with your same problem, but they did not say which cards they have. However I did notice that your log file shows the driver is NVIDIA and mine is using the NV driver, so they are different.


# cat /var/log/XF*.0.log |grep NV

(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2, Vanta,
GeForce4 410 Go 16M, Quadro4 500 GoGL, Quadro4 550 XGL, Quadro4 NVS,
Quadro4 580 XGL, Quadro4 280 NVS, Quadro4 380 XGL,
 
Old 03-11-2004, 05:55 PM   #8
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
well, i installed the nvidia driver so i changed the 'nv' to 'nvidia' like the readme said. when i use 'nv' it works, 2 x sessions are created. if i use a combination then comp normally hangs.
 
Old 03-11-2004, 07:44 PM   #9
schmmd
LQ Newbie
 
Registered: Mar 2004
Location: Everett, WA
Distribution: Slackware 9.1
Posts: 27

Rep: Reputation: 15
MPlayer

Try MPlayer. You can slapt-get it or download it from http://www.mplayerhq.hu/. I run it on Slack 9.1 with the nv driver and everything is well.
 
  


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
Text Resolution, Graphic resolution. Change from prompt dlublink SUSE / openSUSE 2 01-28-2005 11:50 AM
Can't change my resolution! Nolem SUSE / openSUSE 4 12-23-2004 07:45 AM
change resolution Longinus Linux - Newbie 4 12-13-2003 02:11 PM
how to change resolution in 7.3? lpriyamb Red Hat 2 11-28-2003 09:04 PM
how to change resolution ? black Linux - Newbie 14 11-27-2003 11:08 AM

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

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