LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-07-2005, 04:35 PM   #31
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46

Try defining other resolutions in your xorg.conf. I see only one.

--Shade
 
Old 06-07-2005, 04:45 PM   #32
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Well, i'd like my desktop rez to stay as 1680x1050 =)

And my games to streatch their rez to fit my screen..
 
Old 06-08-2005, 04:57 AM   #33
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Ah, now this I can probably help with ...

A game running at 800x600 on a 1280x1024 desktop will not (like 'dows does) resize your desktop to fit the game res. The solution? Use another screen that *IS* the right size.

I wrote a script that will start an empty X session that's the right size as your game, and fill it with your game. It's called "run" (Obscure Program Launcher) - you shouldn't need to do much to it to get it to work, but you will have to edit your Xorg.conf file again to provide some different screen resolutions. Hopefully you can use your intelligence to understand it's workings, I haven't had time to write any proper instructions.

http://www.kaear.co.uk/default.asp?pageID=33

Embarassing note:
I've made a note in my diary, xorg.conf needs to be on the bloomin' site.
 
Old 06-08-2005, 10:36 AM   #34
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Ok, slowly getting there..

Nice script. I've added Diablo into it, fired it up, but i do get this screen error
Code:
# Diablo 2 LOD
gamelist[6]="Diablo 2 LOD (cedega)"
games[6]="cedega /root/.transgaming/drive_c/Program\ Files/Diablo\ II/Diablo\ II.exe"
res[6]="800600"
depth[6]="16"
Code:
root@xushitop:/download# ./run -p 6
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/xushitop:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.4.29 i686 [ELF]
Current Operating System: Linux xushitop 2.6.11.11 #9 Wed Jun 8 10:06:40 BST 2005 i686
Build Date: 13 February 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Jun  8 16:31:20 2005
(==) Using config file: "/etc/X11/xorg.conf"
(EE) No Screen section called "800600"
(EE) Unable to determine the screen layout
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.1.log" for additional information.


XIO:  fatal IO error 104 (Connection reset by peer) on X server ":1.0"
      after 0 requests (0 known processed) with 0 events remaining.
My Xorg.conf is updated once more in the other thread. From what i see, everything is working, so i'm not sure why it doesn't like my screen settings.

Xorg.1.log
Code:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/xushitop:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.4.29 i686 [ELF] 
Current Operating System: Linux xushitop 2.6.11.11 #9 Wed Jun 8 10:06:40 BST 2005 i686
Build Date: 13 February 2005
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Jun  8 16:31:20 2005
(==) Using config file: "/etc/X11/xorg.conf"
(EE) No Screen section called "800600"
(EE) Unable to determine the screen layout
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
	 at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.1.log" for additional information.
 
Old 06-08-2005, 10:52 AM   #35
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Problem is here:

Code:
(EE) No Screen section called "800600"
You need to add some extra sections into your xorg.conf. Again, I don't have an ATI, so I'm just guessing. The idea is to have a separate "single headed" card setup, so you can basically disable the spare monitor while you're gaming (ctrl+alt+F7 will push you back to your main desktop if you started X before running the script).

Code:
#~~~~~~~~~~~~~~~~~~~~~~#
#  Single screen setup for gaming!  #
#~~~~~~~~~~~~~~~~~~~~~~#

# Single headed device, effectively.  I guess you could set it to use either monitor.
Section "Device"
	Identifier	"SingleScreen"
	Driver		"radeon"

	ChipID 0x4c66
	Option "Overlay"
	Option "EnablePageFlip" "on"
	BusID "PCI:1:0:0"
	Option "DCCMode" "on" 

	Option	"MergedFB" "False"
	#Option "MonitorLayout" "LCD,CRT"
	#Option "OverlayOnCRTC2" "true"
	#Option "MetaModes" "1680x1050-1280x1024"
	#Option "MetaModes" "1680x1050-1024x768"
	#Option "CRT2Position" "RightOf"

	Screen 0
EndSection

# Screen listing - this is where the resolution comes into play.

Section "Screen"
    Identifier  "800600"
    Device "SingleScreen"
    Monitor     "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
	Modes       "800x600"
    EndSubsection

    Subsection "Display"
        Depth       16
	Modes       "800x600"
    EndSubsection
EndSection

Section "Screen"
    Identifier  "640480"
    Device "SingleScreen"
    Monitor     "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
	Modes       "640x480"
    EndSubsection

    Subsection "Display"
        Depth       16
	Modes       "640x480"
    EndSubsection
EndSection
Because you're starting xinit with explicit commands, it'll mostly override whatever you've put in Server Layout. I'm hope the script works for you!
 
Old 06-09-2005, 04:14 PM   #36
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
On a side note, ATI released new drivers today..

8.14.13

New features:
Quote:
# Quad Buffer Stereo (QBS) support is now working for all ATI FireGLâ„¢ products that support QBS

# ATI FireGL X3 products now support dual-link enabled display devices

# The ATI Proprietary Linux driver Driver now falls back to a single-link mode if the card or connector does not support dual-link mode

# The DGA and RandR X Server extensions are now capable of loading simultaneously when using the ATI Proprietary Linux driver

# Intermittent error messages such as, [fglrx:firegl_alloc_bufs] *ERROR* Failed to create buffer queue (-12) and similar, no longer appear in the kernel output

# OpenGL based applications that have common symbol names to that of the libGL library no longer experience intermittent erratic behavior

# Applications using certain OpenGL calls such as, glTexSubImage no longer results in a driver memory leak

# When running in clone mode, the X server no longer crashes with a segmentation fault if the mouse is moved during a mode switch
 
Old 07-03-2005, 12:54 PM   #37
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Erm, just to note,

I'm on a emachines laptop at the moment, amd64. I just installed 2.6.12.2, and fglrx fails to compile with an error. The first patch works, but the second fails 6 out of its 8 instructions... It didn't help here =/

Code:
lspci
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
Code:
bash-3.00# cd /lib/modules/fglrx/build_mod/
bash-3.00# cp /root/patch* ../build_mod/
bash-3.00# patch -p1 < patch1
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- or.c
|+++ agpgart_be.c
--------------------------
File to patch: agpgart_be.c
patching file agpgart_be.c
Hunk #4 succeeded at 7449 (offset 2 lines).
Code:
bash-3.00# patch -p1 < patch2
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- 2.c
|+++ firegl_public.c
--------------------------
File to patch: firegl_public.c
patching file firegl_public.c
Hunk #1 FAILED at 1663.
Hunk #2 succeeded at 2110 (offset 2 lines).
Hunk #3 FAILED at 2213.
Hunk #4 FAILED at 2582.
Hunk #5 FAILED at 2745.
Hunk #6 FAILED at 2812.
Hunk #7 FAILED at 2849.
Hunk #8 succeeded at 2901 with fuzz 2 (offset 4 lines).
6 out of 8 hunks FAILED -- saving rejects to file firegl_public.c.rej
And, finally,
Code:
bash-3.00# sh make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.12.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.2'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7155: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7175: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7180: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7206: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7226: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7246: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7251: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7637: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7647: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
make: *** [kmod_build] Error 2
build failed with return value 2
Yep, i'm stumped.. And i tried both the x86 and x86_64 versions. same thing.
 
Old 07-03-2005, 03:32 PM   #38
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
whats emachine??
 
Old 07-03-2005, 04:26 PM   #39
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Quote:
Originally posted by maginotjr
whats emachine??
The brand of the laptop..
http://www.emachines.com/support/product_support.html
 
  


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
fglrx 8.14.13 + 2.6.12.2 xushi Slackware 28 07-16-2005 02:59 AM
fglrx hedin Linux - Hardware 0 09-24-2004 11:40 AM
Fglrx console=>X changing problem and fglrx resume zbychdm Linux - Hardware 2 09-21-2004 12:58 PM
fglrx trouble :( eonix Slackware 8 02-09-2004 10:11 AM
ATI 9500, fglrx-glc22-4.1.0, fglrx-glc22-4.2.0, fglrx-glc22-4.3.0 ctrl_alt_delx Linux - Hardware 1 09-30-2003 05:48 AM

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

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