LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 03-20-2005, 12:33 PM   #1
PSHLOS_007
LQ Newbie
 
Registered: Dec 2004
Location: Greece
Distribution: Slackware 10.1 - 2.6.11.2
Posts: 29

Rep: Reputation: 15
Slackware 10.1 - "Unlimited" X related problems


Slackware 10.1 (Full Install):

KDM: when using kdm and i try to exit one WM it hangs on black console. Nothing responds.. reset the only way. Y?

GDM: when using GDM i can't export/accept DISPLAY. i.e:
(user):$ xhost +
(user):$ su
<password>
(root):$ export DISPLAY=localhost:0
(root):$ nedit

Can't open DISPLAY :0.0. Something like that... Y?

X start/end takes a while...not fast enough! ?

When running and X app and moving its window ( specially with tv apps )... it sticks on screen. i.e with tv app.. frames of it stick all over the screen when moving the window of toggling Fullscreen on/off and the only way to clear the screen is restart the WM/X . xorg issues maybe? Any1 knows what causes this problem?

I had no problems of this kind (X related) with slackware 9.1 and xfree on the same system.
 
Old 03-20-2005, 03:21 PM   #2
APB_4
Member
 
Registered: Nov 2004
Location: England
Distribution: Ubuntu 9.04; Crunchee; EEE Xandros
Posts: 289

Rep: Reputation: 30
Have you configured xorg? If not run xorgconfig
 
Old 03-20-2005, 04:29 PM   #3
PSHLOS_007
LQ Newbie
 
Registered: Dec 2004
Location: Greece
Distribution: Slackware 10.1 - 2.6.11.2
Posts: 29

Original Poster
Rep: Reputation: 15
Off course! Everything is well configured. 3d is also enabled correctly. I have even enabled xvideo extention + DGA support for tv.
 
Old 03-20-2005, 05:02 PM   #4
APB_4
Member
 
Registered: Nov 2004
Location: England
Distribution: Ubuntu 9.04; Crunchee; EEE Xandros
Posts: 289

Rep: Reputation: 30
Well you could use sux if you want to open X objects as root
 
Old 03-20-2005, 09:08 PM   #5
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
Use your IP and not localhost. Does it work? sux is probably the best way though.
 
Old 03-21-2005, 09:32 AM   #6
PSHLOS_007
LQ Newbie
 
Registered: Dec 2004
Location: Greece
Distribution: Slackware 10.1 - 2.6.11.2
Posts: 29

Original Poster
Rep: Reputation: 15
Booting in init3 solves the problem of running X apps as root. I'm just looking for a solution to the last problem. But recently another problem appeared... i get segmentaion fault often lately when trying to run any command , even xterm, even reboot. The last one is definetely a slackware problem rather than X one.
 
Old 03-21-2005, 09:36 AM   #7
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
Sounds like you're possibly having data corruption. How old/new is your HD? I can remember I had that same problem where every command caused a seg fault. Like simple stuff like 'ls' and 'cd'. Turned out the partition was corrupt. If you have like slax or some bootable cd distro use some hd utilities and see if they can find anything wrong. fdisk can sometimes tell if a partition is corrupt.
 
Old 03-21-2005, 09:56 AM   #8
PSHLOS_007
LQ Newbie
 
Registered: Dec 2004
Location: Greece
Distribution: Slackware 10.1 - 2.6.11.2
Posts: 29

Original Poster
Rep: Reputation: 15
Yes, my HW is old.. (celeron 466) and the hdd is also 4-5 years old. And i had not formatted it for a couple of years... and i just installed slack10.1 without recreating partitions, just quick formatting the existing ones.
 
Old 03-21-2005, 10:01 AM   #9
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
Well I would say it is very likely to be a HD issue then. Or possibly just a partition issue. Might be bad sectors. You can get like the max blast or whatnot and use that to scan your HD and it should also mark any sectors as bad so that they won't be used and gradually corrupt everything.
 
Old 03-24-2005, 06:30 AM   #10
PSHLOS_007
LQ Newbie
 
Registered: Dec 2004
Location: Greece
Distribution: Slackware 10.1 - 2.6.11.2
Posts: 29

Original Poster
Rep: Reputation: 15
I booted knoppix and rebuilt the slackware root partition tree.. and seems to be more stable now. But the X problems still remain unsolved. But the most irritating prob is that when trying to play a movie with mplayer and xv video out the colours are corrupted... It's not watchable. I tried different vo drivers (x11,sdl,gl2...) but i can't get nice colours,fast motion and full screen at the same time. Anyway to fix this?
 
Old 03-24-2005, 07:28 AM   #11
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 61
What are your video card specs ?
 
Old 03-24-2005, 10:09 AM   #12
APB_4
Member
 
Registered: Nov 2004
Location: England
Distribution: Ubuntu 9.04; Crunchee; EEE Xandros
Posts: 289

Rep: Reputation: 30
I had problems with the picture not moving correctly when scrolling but it pretty much cleared up when I set the video card memory to the right value in my xorg.conf
 
Old 03-24-2005, 11:29 AM   #13
PSHLOS_007
LQ Newbie
 
Registered: Dec 2004
Location: Greece
Distribution: Slackware 10.1 - 2.6.11.2
Posts: 29

Original Poster
Rep: Reputation: 15
My video card is i810 onboard. Yes it's true.. i have same problems too, when scrolling. I can't set the memory value beacause this card allocates dynamically memory from RAM and it's sytem and OS depended. Now i'm in front of a bug and i can't find out what is going on....:

I uncomment the omit-dga option in xorg.conf so that it won't load that extension module. I uninstall mplayer. Restart X. Configure,compile and reinstall mplayer. play a video with mplayer but the picture is awful (problems remains). I restart once again X without changing anything. I play again a video with mplayer. Now the colour is correct (strange). I close it and open xdtv(tv app like xawtv). Now the clour is f*cked there and can't watch tv (same colour as it was with mplayer before -- too transparent, overlay is not supported anymore). I close xdtv and try again to play a video with mplayer. {Surprise!) Colour is once again f*cked. I restart again X without changing anything at all. The 1st thing to do when the WM loads is play a video with mplayer. Colour is correct once again. I close it and open xdtv. Colour is bad.I close it and play again video with mplayer. Colour f*cked again. Restart X. Now the 1st time to do is open xdtv. Colour bad again, and so mplayer.

Conclusion: Mplayer works fine without DGA support, unless i open xdtv. Then it doesn't work correctly.It doesn't work either way with DGA support though. Xdtv can't show nice picture without DGA support, but it works fine with DGA. WTF? (what the f*)

Any1 has any clue what might b wrong? I'm pretty desperate with this situation

I'll paste here xvinfo results:

X-Video Extension version 2.2
screen #0
Adaptor #0: "video4linux"
number of ports: 1
port base: 69
operations supported: PutVideo
supported visuals:
depth 16, visualID 0x23
depth 16, visualID 0x24
depth 16, visualID 0x25
depth 16, visualID 0x26
depth 16, visualID 0x27
depth 16, visualID 0x28
depth 16, visualID 0x29
depth 16, visualID 0x2a
number of attributes: 8
"XV_ENCODING" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 35)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -150)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -418)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 3)
"XV_VOLUME" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 999)
"XV_MUTE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_FREQ" (range 0 to 16000)
client settable attribute
client gettable attribute (current value is 9204)
number of encodings: 12
encoding ID #0: "PAL-television"
size: 768 x 576
rate: 0.020000
encoding ID #1: "NTSC-television"
size: 640 x 480
rate: 0.016683
encoding ID #2: "SECAM-television"
size: 768 x 576
rate: 0.020000
encoding ID #3: "PAL-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #4: "NTSC-composite1"
size: 640 x 480
rate: 0.016683
encoding ID #5: "SECAM-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #6: "PAL-composite2"
size: 768 x 576
rate: 0.020000
encoding ID #7: "NTSC-composite2"
size: 640 x 480
rate: 0.016683
encoding ID #8: "SECAM-composite2"
size: 768 x 576
rate: 0.020000
encoding ID #9: "PAL-svideo"
size: 768 x 576
rate: 0.020000
encoding ID #10: "NTSC-svideo"
size: 640 x 480
rate: 0.016683
encoding ID #11: "SECAM-svideo"
size: 768 x 576
rate: 0.020000
Adaptor #1: "I810 Video Overlay"
number of ports: 1
port base: 70
operations supported: PutImage
supported visuals:
depth 16, visualID 0x23
depth 16, visualID 0x24
depth 16, visualID 0x25
depth 16, visualID 0x26
depth 16, visualID 0x27
depth 16, visualID 0x28
depth 16, visualID 0x29
depth 16, visualID 0x2a
number of attributes: 3
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 127)
maximum XvImage size: 1440 x 1080
Number of image formats: 6
id: 0x35315652 (RV15)
guid: 52563135-0000-0000-0000-000000000000
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 15
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
id: 0x36315652 (RV16)
guid: 52563136-0000-0000-0000-000000000000
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 16
red, green, blue masks: 0xf800, 0x7e0, 0x1f
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)


HW:
video card: i810.
tv card: philips flytv (saa7130/34)

Conf:
3d Enabled
Working Resolution 1024x768
kernel: 2.6.11.2 (2.4 doesn't support saa7130/34)
xorg ( slack 10.1 dflt version).

I can give any other info if any1 is interested. THNX!
 
Old 03-24-2005, 11:37 AM   #14
APB_4
Member
 
Registered: Nov 2004
Location: England
Distribution: Ubuntu 9.04; Crunchee; EEE Xandros
Posts: 289

Rep: Reputation: 30
If the video card memory is OS dependent maybe you should try setting a few meg in xorg.conf and see what happens. It might at least stop the scrolling crap.
 
Old 03-24-2005, 01:24 PM   #15
PSHLOS_007
LQ Newbie
 
Registered: Dec 2004
Location: Greece
Distribution: Slackware 10.1 - 2.6.11.2
Posts: 29

Original Poster
Rep: Reputation: 15
I made one change now (i didn't think it would matter)

in section screen, in every display subsection i removed the virtual option and reenabled dga. Now both tv and mplayer work fine BUT, once i run xdtv... then i can't get mplayer to work correctly. It works fine unless i open tv. TV works fine in any order. I may be close enough to the solution. Any suggestions?

(I think there must be something with the order that xvinfo detects adaptors. Once the adaptor is used for tv occupies the xvideo port it never lets it even when i close tv, or something like that, dunno... too complicated for me)


Oh.. and one more problem... when watching tv.. sometimes (randomly) system hangs.. No keyboard,no mouse, nothing.. but tv keeps working (?)

Last edited by PSHLOS_007; 03-24-2005 at 01:47 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A Problem Related to " SUSPEND to DISK " Option in SuSE 9.3 bedi-beparwah Suse/Novell 1 06-28-2005 08:06 AM
RH keeps on giving me "Package Not Found" when installing PHP-related RPMs guest Linux - Newbie 4 03-24-2005 11:07 PM
SimCity 3000 Unlimited is giving me "crackling noise" PunkPT Linux - Games 10 08-01-2004 03:15 PM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM


All times are GMT -5. The time now is 10:02 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration